groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Di Tommaso <paolo.ditomm...@gmail.com>
Subject NPE exception on ManagedLinkedList
Date Fri, 29 May 2015 13:15:45 GMT
Dear all,

Upgrading to Groovy 2.4.3 I've started to experience a NullPointerException
that is raised somehow randomly.

I'm still unable to manage to find a way to replicate the issue with a test
case, however the stack trace is the following:


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]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.8.0_40]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:1.8.0_40]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_40]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_40]



Does anybody have an idea about what it could be problem?


Cheers,
Paolo

Mime
View raw message