<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 02/14/2011 03:20 PM, Chris Burrell wrote:
    <blockquote
      cite="mid:AANLkTimQYFR-u2YGfUT-z2uX_wp8MFtMj6u1FZ_X0ikB@mail.gmail.com"
      type="cite">Hi
      <div><br>
      </div>
      <div>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...</div>
    </blockquote>
    <br>
    Some guesses:<br>
    The IndexManager is defined via a *.plugin file, which has moved to
    src/main/resources. Could that be the problem?<br>
    Or is it that maven uses it's own class loader where we rely on the
    JSword class loader to find resources? (This is a known problem.)<br>
    <br>
    <blockquote
      cite="mid:AANLkTimQYFR-u2YGfUT-z2uX_wp8MFtMj6u1FZ_X0ikB@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>java.lang.ExceptionInInitializerError</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.crosswire.jsword.book.sword.SwordBookDriver.getBooks(SwordBookDriver.java:114)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.crosswire.jsword.book.sword.SwordBookDriver.getBooks(SwordBookDriver.java:78)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.crosswire.jsword.book.Books.registerDriver(Books.java:271)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.crosswire.jsword.book.Books.autoRegister(Books.java:404)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.crosswire.jsword.book.Books.initialize(Books.java:384)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.crosswire.jsword.book.Books.&lt;init&gt;(Books.java:58)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.crosswire.jsword.book.Books.&lt;clinit&gt;(Books.java:450)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
com.tyndalehouse.step.core.service.impl.JSwordServiceImpl.isInstalled(JSwordServiceImpl.java:244)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
com.tyndalehouse.step.core.prebuild.DownloadJSwordBiblesPreReq.installDefaultJSwordDefaultBibleVersions(DownloadJSwordBiblesPreReq.java:47)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          java.lang.reflect.Method.invoke(Method.java:597)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
          org.junit.runners.ParentRunner.run(ParentRunner.java:236)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)</div>
        <div><b>Caused by: java.lang.NullPointerException</b></div>
        <div>
          <b><span class="Apple-tab-span" style="white-space: pre;"> </span>at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)</b></div>
        <div><b><span class="Apple-tab-span" style="white-space: pre;">
            </span>at
            java.lang.ClassLoader.loadClass(ClassLoader.java:248)</b></div>
        <div><b><span class="Apple-tab-span" style="white-space: pre;">
            </span>at
            org.crosswire.common.util.ClassUtil.forName(ClassUtil.java:53)</b></div>
        <div><b><span class="Apple-tab-span" style="white-space: pre;">
            </span>at
            org.crosswire.common.util.PluginUtil.getImplementor(PluginUtil.java:148)</b></div>
        <div><b><span class="Apple-tab-span" style="white-space: pre;">
            </span>at
org.crosswire.common.util.PluginUtil.getImplementation(PluginUtil.java:182)</b></div>
        <div><b><span class="Apple-tab-span" style="white-space: pre;">
            </span>at
org.crosswire.jsword.index.IndexManagerFactory.&lt;clinit&gt;(IndexManagerFactory.java:65)</b></div>
        <div><b><span class="Apple-tab-span" style="white-space: pre;">
            </span>... 32 more</b></div>
        <div><br>
        </div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
jsword-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>