On Sun, 2007-06-24 at 14:12 +0200, Christian Thalinger wrote: > When building HotSpot in OpenJDK with CACAO I get this NPE: > > /home/twisti/tmp/cacao/bin/java -classpath /home/twisti/cacao/sun/openjdk/jdk/control/build/linux-amd64-debug/hotspot/outputdir/linux_amd64_compiler2/jvmg/../generated/jvmtifiles jvmtiGen -IN /home/twisti/cacao/sun/openjdk/jdk/hotspot/src/share/vm/prims/jvmti.xml -XSL /home/twisti/cacao/sun/openjdk/jdk/hotspot/src/share/vm/prims/jvmtiEnter.xsl -OUT /home/twisti/cacao/sun/openjdk/jdk/control/build/linux-amd64-debug/hotspot/outputdir/linux_amd64_compiler2/jvmg/../generated/jvmtifiles/jvmtiEnter.cpp -PARAM interface jvmti > Exception in thread "main" java.lang.NullPointerException > at gnu.xml.transform.WithParam.getValue(WithParam.java:89) > at gnu.xml.transform.ApplyTemplatesNode.doApply(ApplyTemplatesNode.java:112) > at gnu.xml.transform.TemplateNode.apply(TemplateNode.java:79) > at gnu.xml.transform.TextNode.doApply(TextNode.java:102) > <snip> > > Does anyone know what the problem is? Do you have more context? (pun intended) The part of the stacktrace you posted just pushes a 'null' context reference around which is dereferenced and generates the NullPointerException in the end. We need to see more to know why context is null in the first place. Cheers, Mark
Attachment:
signature.asc
Description: This is a digitally signed message part