[jsword-devel] Trying to build against maven built jar files
Chris Burrell
chris at burrell.me.uk
Mon Feb 14 13:20:50 MST 2011
Hi
Still trying to get the maven build to work. I'm hitting some sort of
ClassNotFound issue, and thought I'd float the stack trace in case anyone
has any ideas. Something to do with the IndexManager not being found, but
having a look at that, it looks like an interface...
java.lang.ExceptionInInitializerError
at
org.crosswire.jsword.book.sword.SwordBookDriver.getBooks(SwordBookDriver.java:114)
at
org.crosswire.jsword.book.sword.SwordBookDriver.getBooks(SwordBookDriver.java:78)
at org.crosswire.jsword.book.Books.registerDriver(Books.java:271)
at org.crosswire.jsword.book.Books.autoRegister(Books.java:404)
at org.crosswire.jsword.book.Books.initialize(Books.java:384)
at org.crosswire.jsword.book.Books.<init>(Books.java:58)
at org.crosswire.jsword.book.Books.<clinit>(Books.java:450)
at
com.tyndalehouse.step.core.service.impl.JSwordServiceImpl.isInstalled(JSwordServiceImpl.java:244)
at
com.tyndalehouse.step.core.prebuild.DownloadJSwordBiblesPreReq.installDefaultJSwordDefaultBibleVersions(DownloadJSwordBiblesPreReq.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
*Caused by: java.lang.NullPointerException*
* at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)*
* at java.lang.ClassLoader.loadClass(ClassLoader.java:248)*
* at org.crosswire.common.util.ClassUtil.forName(ClassUtil.java:53)*
* at
org.crosswire.common.util.PluginUtil.getImplementor(PluginUtil.java:148)*
* at
org.crosswire.common.util.PluginUtil.getImplementation(PluginUtil.java:182)*
* at
org.crosswire.jsword.index.IndexManagerFactory.<clinit>(IndexManagerFactory.java:65)
*
* ... 32 more*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20110214/77c9387d/attachment.html>
More information about the jsword-devel
mailing list