XQJ in the BaseX 6.7.1

Friday, 29 July 2011 · 3 messages
O
Oda29 Jul 2011 15:48 #
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.
CG
Christian Grün29 Jul 2011 17:55 #
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
Quoted text · Oda · 34 lines
On Fri, Jul 29, 2011 at 3:48 PM, Oda <0170003 at 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.
O
Oda29 Jul 2011 19:53 #
Christian, Thank you for quick response. I retry on the 6.7.2-SNAPSHOT. Thanks, Oda. 2011/7/30 Christian Grün <christian.gruen at gmail.com>:
Quoted text · Christian Grün · 12 lines
> 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 > ___________________________

⚡Generated with XQuery