Hi,
I executed the XQJ in the BaseX 6.7.1, got the NullPointerException. But in the previous version, the exception wasn't thrown.
6.6.1 RELEASE OK 6.7.1 SNAPSHOT at 17-Jul OK 6.7.1 SNAPSHOT at 27-Jul NG 6.7.1 RELEASE NG
simple test: org.basex.examples.xqj.XQJQuery.java ---------- Exception in thread "main" java.lang.ExceptionInInitializerError at org.basex.core.Prop.<clinit>(Prop.java:32) at org.basex.core.MainProp.<clinit>(MainProp.java:20) at org.basex.api.xqj.BXQDataSource.<init>(BXQDataSource.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.basex.examples.xqj.XQJQuery.main(XQJQuery.java:33) Caused by: java.lang.NullPointerException at org.basex.util.Util.<clinit>(Util.java:26) ... 10 more ----------
Is there some solution of this phenomenon?
Thanks,
Oda.
Oda,
thanks for the hint (..and surprising that all our XQJ-API test cases didn't stumble upon this issue). I have resolved some interdependencies between two Java classes to fix this problem. Feel free to give us some feedback on the latest snapshot:
http://files.basex.org/releases/latest/basex-6.7.2-SNAPSHOT.jar
Best, Christian ___________________________
On Fri, Jul 29, 2011 at 3:48 PM, Oda 0170003@gmail.com wrote:
Hi,
I executed the XQJ in the BaseX 6.7.1, got the NullPointerException. But in the previous version, the exception wasn't thrown.
6.6.1 RELEASE OK 6.7.1 SNAPSHOT at 17-Jul OK 6.7.1 SNAPSHOT at 27-Jul NG 6.7.1 RELEASE NG
simple test: org.basex.examples.xqj.XQJQuery.java
Exception in thread "main" java.lang.ExceptionInInitializerError at org.basex.core.Prop.<clinit>(Prop.java:32) at org.basex.core.MainProp.<clinit>(MainProp.java:20) at org.basex.api.xqj.BXQDataSource.<init>(BXQDataSource.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.basex.examples.xqj.XQJQuery.main(XQJQuery.java:33) Caused by: java.lang.NullPointerException at org.basex.util.Util.<clinit>(Util.java:26) ... 10 more
Is there some solution of this phenomenon?
Thanks,
Oda.
Christian,
Thank you for quick response.
I retry on the 6.7.2-SNAPSHOT.
Thanks,
Oda.
2011/7/30 Christian Grün christian.gruen@gmail.com:
Oda,
thanks for the hint (..and surprising that all our XQJ-API test cases didn't stumble upon this issue). I have resolved some interdependencies between two Java classes to fix this problem. Feel free to give us some feedback on the latest snapshot:
http://files.basex.org/releases/latest/basex-6.7.2-SNAPSHOT.jar
Best, Christian ___________________________
basex-talk@mailman.uni-konstanz.de