From: alex <aly...@ya...> - 2008-06-19 18:58:18
|
OK, fresh install (1.2.3-rev7866, java 1.6.0-06), no conf.xml or server.xml tweaks whatsoever, and i'm still getting the errors (and they're still not showing up in the logs). Query executed from sandbox: Error found [at line 129, column 5] XQuery Stack Trace sandbox:query(xs:string) 299:9 Java Stack Trace: Class Name Method Name File Name Line org.exist.xquery.functions.util.CatchFunction eval CatchFunction.java 108 org.exist.xquery.InternalFunctionCall eval InternalFunctionCall.java 49 org.exist.xquery .AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 238 org.exist .xquery.SequenceConstructor eval SequenceConstructor.java 74 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 238 org.exist.xquery.UserDefinedFunction eval UserDefinedFunction.java 122 org.exist.xquery.DynamicCardinalityCheck eval DynamicCardinalityCheck.java 71 org.exist .xquery.DynamicTypeCheck eval DynamicTypeCheck.java 62 org.exist.xquery.FunctionCall evalFunction FunctionCall.java 224 org.exist.xquery.FunctionCall eval FunctionCall .java 162 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr .java 238 org.exist.xquery.ConditionalExpression eval ConditionalExpression.java 99 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist .xquery.PathExpr eval PathExpr.java 238 org.exist.xquery.ConditionalExpression eval ConditionalExpression.java 101 org.exist.xquery.AbstractExpression eval AbstractExpression .java 59 org.exist.xquery.PathExpr eval PathExpr.java 238 Query executed from java client: org.xmldb.api.base.XMLDBException: java.lang.NullPointerException at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:109) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:70) at org.exist.xmldb.RemoteXPathQueryService.execute(RemoteXPathQueryService.java:404) at org.exist.client.QueryDialog$QueryThread.run(QueryDialog.java:472) Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.NullPointerException at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:98) ... 3 more Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.NullPointerException at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:98) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:70) at org.exist.xmldb.RemoteXPathQueryService.execute(RemoteXPathQueryService.java:404) at org.exist.client.QueryDialog$QueryThread.run(QueryDialog.java:472) This example is pretty much as simple as i can make it. If anyone at all on the list has an example of an XQuery submitted via the REST interface that successfully uses transform:transform where the xsl file is stored in the database, i'd very much like to see it. --alex. |