[Mulgara-dev] org.mulgara.resolver.spi.LocalizeException: Unable to localize
Pradeep Krishnan
pradeepk at soft-point.com
Wed Jul 2 23:49:07 UTC 2008
Hi Paul,
We are getting this exception while executing the following query:
select $a $f subquery ( select $s <topaz:nextObject> $o from
<local:///topazproject#ri> where $s <topaz:nextObject> $o and $a
<dcterms:hasPart> $s) from <local:///topazproject#ri> where $a
<rdf:type> <topaz:Article> and $a <topaz:nextObject> $f;
select $a $f subquery ( select $s <topaz:nextObject> $o from
<local:///topazproject#ri> where $s <topaz:nextObject> $o and $a
<dcterms:hasPart> $s) from <local:///topazproject#ri> where $a
<rdf:type> <topaz:Article> and $a <topaz:nextObject> $f;
This is the cause:
Caused by: org.mulgara.resolver.spi.LocalizeException: Unable to
localize http://purl.org/dc/terms/hasPart - Attempting to localize
outside transaction (STATE = 4) 569080239
at
org.mulgara.resolver.StringPoolSession.localize(StringPoolSession.java:396)
at
org.mulgara.resolver.StringPoolSession.localize(StringPoolSession.java:196)
at
org.mulgara.resolver.store.StatementStoreResolver.localize(StatementStoreResolver.java:446)
at
org.mulgara.resolver.LocalQueryResolver.localize(LocalQueryResolver.java:129)
at
org.mulgara.resolver.DefaultConstraintHandlers$29.localize(DefaultConstraintHandlers.java:394)
at
org.mulgara.resolver.ConstraintOperations.localize(ConstraintOperations.java:240)
at
org.mulgara.resolver.LocalQueryResolver.resolve(LocalQueryResolver.java:178)
The full trace is attached in the mulgara.log file.
This is running against the latest (not sure which subversion rev number
- but as of 6/30 - Ronald may be able to answer more accurately the rev
number)
The model the query is running against is from a backup and restore. The
restore created <rmi://localhost/topazproject#ri> models. I then
manually created the <local:///topazproject#ri> model and did an 'insert
select' and populated it.
Any ideas?
Cheers,
Pradeep
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mulgara.log
Type: text/x-log
Size: 11540 bytes
Desc: not available
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20080702/1517ac34/attachment.bin>
More information about the Mulgara-dev
mailing list