-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java and Groovy error while first time using JAFFA version 2.3 #91
Comments
Hi Huseyin, Sorry for the very slow reply to this message! I've only just seen it now. This looks like an issue related to bpipe, so I think your best option might be to try to install bpipe manually (see https://docs.bpipe.org/) until you know it is working and then run JAFFA like: If this fails you may be able to get some assistance from the bpipe author, @ssadedin Cheers, |
hi @hkoseoglu unfortunately this problem is related to Java version 17. Older versions of Bpipe require Java 8 or older, newer versions can run with Java 11. Could you try installing one of those versions and seeing if that helps? |
Hello, I have run into a similar issue with JAFFAL.
|
Dear JAFFA Developer,
I encountered a java.lang.ExceptionInInitializerError with the following stack trace:
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109) at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131) Caused by: groovy.lang.MissingMethodException: No signature of method: static java.util.logging.Logger.getLogger() is applicable for argument types: (java.lang.String) values: [bpipe.Runner] at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1500) at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1486) at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at bpipe.Runner.<clinit>(Runner.groovy:52) ... 6 more
I used this code to use JAFFA:
./tools/bin/bpipe run JAFFA_assembly.groovy example/MiSeqSim_1.fastq.gz example/MiSeqSim_2.fastq.gz
Versionf of java and groovy
groovy --version Groovy Version: 4.0.11 JVM: 17.0.6 Vendor: Private Build OS: Linux
java --version openjdk 17.0.6 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Ubuntu-0ubuntu120.04.1) OpenJDK 64-Bit Server VM (build 17.0.6+10-Ubuntu-0ubuntu120.04.1, mixed mode, sharing)
I believe this error is related to a missing method in the java.util.logging.Logger class being called with an argument of type java.lang.String in the bpipe.Runner class. Can you please provide guidance on how to resolve this issue?
Thank you for your attention.
Huseyin
The text was updated successfully, but these errors were encountered: