[Biojava-dev] Error building biojava-live...

Andreas Prlic andreas at sdsc.edu
Mon Aug 29 18:41:32 UTC 2011


Hi Sylvain,

The file is in the biojava3-core/src/test/resources directory. Seems
your IDE did not automatically pick up the directory up from the maven
config. You need to make sure that this is added to the build path.

Andreas


On Mon, Aug 29, 2011 at 11:17 AM, Sylvain Foisy Ph. D.
<sylvain.foisy at inflammgen.org> wrote:
> HI to all,
>
> I am trying to build bj-live but end up with this error for TranslationTest:
>
> -------------------------------------------------------------------------------
> Test set: org.biojava3.core.sequence.TranslationTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.027 sec <<< FAILURE!
> org.biojava3.core.sequence.TranslationTest  Time elapsed: 0.026 sec  <<< ERROR!
> java.lang.IllegalArgumentException: Location org/biojava3/core/sequence/BRCA2-cds.fasta resulted in a null InputStream
>        at org.biojava3.core.sequence.io.util.ClasspathResource.createClasspathInputStream(ClasspathResource.java:121)
>        at org.biojava3.core.sequence.io.util.ClasspathResource.getInputStream(ClasspathResource.java:100)
>        at org.biojava3.core.sequence.TranslationTest.parseSequences(TranslationTest.java:40)
>        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.RunBefores.evaluate(RunBefores.java:27)
>        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
>        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
>        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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>
> Anybody has this sequence?
>
> Best
>
> Sylvain
>
>
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-dev
>




More information about the biojava-dev mailing list