Hi Barney,

this is hard to debug without seeing the queries that you are running. Could you send me the file or parts of it. You can send it off-list for privacy if you prefer. It looks like Jena cannot even parse the query, possibly with a sub-SELECT?

Thanks
Holger


On 6/24/2013 17:52, Barney Stinson wrote:
Hi..Iam using Fre edition TBC and I have a class PropertyMapping and when I want to Diplay Constraint violation warning on the instances of this class, I get the message " Failed to run constraint check".

eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

Warning
Mon Jun 24 09:38:16 CEST 2013
Failed to run constraint check

com.hp.hpl.jena.query.QueryParseException: Non-group key variable in SELECT: ?this at com.hp.hpl.jena.sparql.lang.SyntaxVarScope.checkExprVarUse(SyntaxVarScope.java:162) at com.hp.hpl.jena.sparql.lang.SyntaxVarScope.check(SyntaxVarScope.java:119) at com.hp.hpl.jena.sparql.lang.SyntaxVarScope.check(SyntaxVarScope.java:70) at com.hp.hpl.jena.sparql.lang.SyntaxVarScope$SubQueryScopeChecker.visit(SyntaxVarScope.java:231) at com.hp.hpl.jena.sparql.syntax.ElementWalker$Walker.visit(ElementWalker.java:166) at com.hp.hpl.jena.sparql.syntax.ElementSubQuery.visit(ElementSubQuery.java:52) at com.hp.hpl.jena.sparql.syntax.ElementWalker$Walker.visit(ElementWalker.java:99)
at com.hp.hpl.jena.sparql.syntax.ElementGroup.visit(ElementGroup.java:113)
at com.hp.hpl.jena.sparql.syntax.ElementWalker.walk(ElementWalker.java:40)
at com.hp.hpl.jena.sparql.syntax.ElementWalker.walk(ElementWalker.java:35)
at com.hp.hpl.jena.sparql.lang.SyntaxVarScope.checkSubQuery(SyntaxVarScope.java:85) at com.hp.hpl.jena.sparql.lang.SyntaxVarScope.check(SyntaxVarScope.java:63)
at com.hp.hpl.jena.sparql.lang.Parser.validateParsedQuery(Parser.java:56)
at com.hp.hpl.jena.sparql.lang.ParserARQ.parse$(ParserARQ.java:53)
at com.hp.hpl.jena.sparql.lang.Parser.parse(Parser.java:37)
at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:156)
at org.topbraid.spin.arq.ARQFactory.doCreateQuery(ARQFactory.java:254)
at org.topbraid.spin.arq.ARQFactory.doCreateQuery(ARQFactory.java:236)
at org.topbraid.spin.arq.ARQFactory.createQuery(ARQFactory.java:226)
at org.topbraid.spin.constraints.SPINConstraints.addQueryResults(SPINConstraints.java:164) at org.topbraid.spin.constraints.SPINConstraints.addConstraintViolations(SPINConstraints.java:81) at org.topbraid.spin.constraints.SPINConstraints.check(SPINConstraints.java:274) at org.topbraid.spintb.checkers.ConstraintResourceChecker.addResults(ConstraintResourceChecker.java:54) at org.topbraid.markers.checkers.AbstractResourceChecker.run(AbstractResourceChecker.java:39) at org.topbraidcomposer.markers.warnings.DisplayWarnings$2.run(DisplayWarnings.java:109)
at org.topbraidcomposer.core.util.ThreadUtil$1$1.run(ThreadUtil.java:64)
at java.lang.Thread.run(Unknown Source)

Please tell me what is the problem and the solution to rectify this. Thanks

--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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 Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.



--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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 Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to