java.lang.IllegalAccessError: tried to access method java.util.regex.Matcher.<init>()V from class reflectasm.java.util.regex.MatcherConstructorAccess

GitHub | pditommaso | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    A process script declaring a regexp expression results in a IllegalAccessexception

    GitHub | 10 months ago | pditommaso
    java.lang.IllegalAccessError: tried to access method java.util.regex.Matcher.<init>()V from class reflectasm.java.util.regex.MatcherConstructorAccess

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access method java.util.regex.Matcher.<init>()V from class reflectasm.java.util.regex.MatcherConstructorAccess

      at reflectasm.java.util.regex.MatcherConstructorAccess.newInstance()
    2. reflectasm.java.util
      MatcherConstructorAccess.newInstance
      1. reflectasm.java.util.regex.MatcherConstructorAccess.newInstance(Unknown Source)
      1 frame
    3. Kryo
      Kryo$readClassAndObject$0.call
      1. com.esotericsoftware.kryo.Kryo$DefaultInstantiatorStrategy$1.newInstance(Kryo.java:1193)
      2. com.esotericsoftware.kryo.Kryo.newInstance(Kryo.java:1061)
      3. com.esotericsoftware.kryo.serializers.FieldSerializer.create(FieldSerializer.java:547)
      4. com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:523)
      5. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:761)
      6. com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:143)
      7. com.esotericsoftware.kryo.serializers.MapSerializer.read(MapSerializer.java:21)
      8. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:761)
      9. com.esotericsoftware.kryo.Kryo$readClassAndObject$0.call(Unknown Source)
      9 frames
    4. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      3 frames
    5. nextflow.util
      KryoHelper$deserialize.call
      1. nextflow.util.KryoHelper.deserialize(SerializationHelper.groovy:126)
      2. nextflow.util.KryoHelper$deserialize.call(Unknown Source)
      2 frames
    6. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      3 frames
    7. nextflow.processor
      TaskContext$read$2.call
      1. nextflow.processor.TaskContext.read(TaskContext.groovy:213)
      2. nextflow.processor.TaskContext$read$2.call(Unknown Source)
      2 frames
    8. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
      3 frames
    9. nextflow.processor
      TaskProcessor$checkCachedOutput$2.callCurrent
      1. nextflow.processor.TaskProcessor.checkCachedOutput(TaskProcessor.groovy:623)
      2. nextflow.processor.TaskProcessor$checkCachedOutput$2.callCurrent(Unknown Source)
      2 frames
    10. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
      3 frames
    11. nextflow.processor
      TaskProcessor.checkCachedOrLaunchTask
      1. nextflow.processor.TaskProcessor.checkCachedOrLaunchTask(TaskProcessor.groovy:515)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    13. Groovy
      AbstractCallSite.callCurrent
      1. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)
      2. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
      3. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
      4. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
      5 frames
    14. nextflow.processor
      ParallelTaskProcessor.invokeTask
      1. nextflow.processor.ParallelTaskProcessor.invokeTask(ParallelTaskProcessor.groovy:217)
      1 frame