Ok, thanks. You're probably right, it probably has nothing to do with the query but is some kind of race condition.
Jeff From: [email protected] [mailto:[email protected]] On Behalf Of Holger Knublauch Sent: Tuesday, January 18, 2011 3:48 PM To: [email protected] Subject: Re: [topbraid-users] Getting prefixes stored with a ...spin.model.Query? Hi Jeff, this is weird. I see no structural difference between the two queries - they even use similar FILTER clauses and the exception happens in the middle of that. The error indicates that the TDB might have been closed (at least this is when we sometimes get TDB NullPointers). It is hard for me to exactly try to reproduce your scenario. But if you can browse through your queries from TBC then it should be fine in principle. You may want to put a breakpoint into TDB's graph close method to see whether anyone is accidentally closing that database. I currently have no other idea and would need more info. Regards, Holger On Jan 19, 2011, at 5:23 AM, Schmitz, Jeffrey A wrote: Exception Trace: java.lang.NullPointerException at com.hp.hpl.jena.tdb.store.GraphTDBBase.graphBaseFindWorker(GraphTDBBase.java:144) at com.hp.hpl.jena.tdb.store.GraphNamedTDB.graphBaseFind(GraphNamedTDB.java:107) at com.hp.hpl.jena.tdb.migrate.GraphBase2.find(GraphBase2.java:230) at com.hp.hpl.jena.tdb.migrate.Reifier2.findExposed(Reifier2.java:192) at com.hp.hpl.jena.graph.impl.GraphBase.reifierTriples(GraphBase.java:318) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:240) at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseFind(GraphBase.java:260) at com.hp.hpl.jena.graph.impl.GraphBase.find(GraphBase.java:257) at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:378) at com.hp.hpl.jena.rdf.model.impl.ModelCom.listStatements(ModelCom.java:383) at com.hp.hpl.jena.rdf.model.impl.ModelCom.getProperty(ModelCom.java:1003) at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.getProperty(ResourceImpl.java:154) at org.topbraid.spin.model.impl.FunctionCallImpl.getSymbol(FunctionCallImpl.java:127) at org.topbraid.spin.model.impl.FunctionCallImpl.print(FunctionCallImpl.java:140) at org.topbraid.spin.util.SPINExpressions.printExpressionString(SPINExpressions.java:163) at org.topbraid.spin.model.impl.AbstractSPINResourceImpl.printNestedExpressionString(AbstractSPINResourceImpl.java:146) at org.topbraid.spin.model.impl.FilterImpl.print(FilterImpl.java:46) at org.topbraid.spin.model.impl.ElementListImpl.print(ElementListImpl.java:139) at org.topbraid.spin.model.impl.AbstractSPINResourceImpl.printNestedElementList(AbstractSPINResourceImpl.java:132) at org.topbraid.spin.model.impl.QueryImpl.printWhere(QueryImpl.java:177) at org.topbraid.spin.model.impl.AskImpl.print(AskImpl.java:27) at com.boeing.sparqlflow.QueryInfo.setQueryInfo(QueryInfo.java:69) -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
