Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7457

NPE exception on ManagedLinkedList

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.4.5
    • Component/s: groovy-runtime
    • Labels:
    • Environment:
      java version "1.8.0_40"
      Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
      Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

      Description

      From time to time I'm getting the following exception. Unfortunately I was unable to replicate it in a test case.

      java.lang.NullPointerException: null
      	at org.codehaus.groovy.util.ManagedLinkedList$Element.finalizeReference(ManagedLinkedList.java:44) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.util.ReferenceManager$1.removeStallEntries(ReferenceManager.java:83) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.util.ReferenceManager$1.afterReferenceCreation(ReferenceManager.java:91) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.util.ReferenceManager$2.afterReferenceCreation(ReferenceManager.java:108) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.util.ManagedReference.<init>(ManagedReference.java:33) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.util.ManagedReference.<init>(ManagedReference.java:37) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.reflection.ClassInfo$ClassInfoCleanup.<init>(ClassInfo.java:514) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.reflection.ClassInfo.<init>(ClassInfo.java:75) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.reflection.ClassInfo$1.computeValue(ClassInfo.java:62) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.reflection.ClassInfo$1.computeValue(ClassInfo.java:59) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.reflection.v7.GroovyClassValueJava7.computeValue(GroovyClassValueJava7.java:18) ~[groovy-2.4.3.jar:2.4.3]
      	at java.lang.ClassValue.getFromHashMap(ClassValue.java:227) ~[na:1.8.0_40]
      	at java.lang.ClassValue.getFromBackup(ClassValue.java:209) ~[na:1.8.0_40]
      	at java.lang.ClassValue.get(ClassValue.java:115) ~[na:1.8.0_40]
      	at org.codehaus.groovy.reflection.ClassInfo.getClassInfo(ClassInfo.java:118) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:255) ~[groovy-2.4.3.jar:2.4.3]
      	at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:872) ~[groovy-2.4.3.jar:2.4.3]
      	at groovy.lang.GroovyObjectSupport.<init>(GroovyObjectSupport.java:32) ~[groovy-2.4.3.jar:2.4.3]
      	at groovy.lang.Closure.<init>(Closure.java:219) ~[groovy-2.4.3.jar:2.4.3]
      	at nextflow.processor.TaskRun$_memoizedMethodPriv_getOutputFilesNames_closure10.<init>(TaskRun.groovy) ~[nextflow-0.14.0-SNAPSHOT.jar:na]
      	at nextflow.processor.TaskRun.memoizedMethodPriv$getOutputFilesNames(TaskRun.groovy:378) ~[nextflow-0.14.0-SNAPSHOT.jar:na]
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pablo72 paolo di tommaso
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: