Mantis - Resin
Viewing Issue Advanced Details
5240 minor always 10-09-12 10:16 10-17-12 09:52
cowan  
ferg  
normal  
closed 4.0.32  
fixed  
none    
none 4.0.33  
0005240: NPE in TypeFactory.createType on IBM J9
/home/paul/resin-pro-4.0.32/conf/resin.xml:5: java.lang.NullPointerException

3: -->
4: <resin xmlns="http://caucho.com/ns/resin" [^]
5: xmlns:resin="urn:java:com.caucho.resin">
6:
7: <!-- property-based Resin configuration -->

    at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1256)
    at com.caucho.config.xml.XmlConfigContext.configure(XmlConfigContext.java:251)
    at com.caucho.config.Config.configure(Config.java:324)
    at com.caucho.config.Config.configure(Config.java:254)
    at com.caucho.boot.ResinBoot.<init>(ResinBoot.java:179)
    at com.caucho.boot.ResinBoot.main(ResinBoot.java:342)
Caused by: java.lang.NullPointerException
    at java.lang.Class.getEnumConstants(Class.java:1920)
    at com.caucho.config.type.TypeFactory.createType(TypeFactory.java:609)
    at com.caucho.config.type.TypeFactory.getConfigTypeImpl(TypeFactory.java:586)
    at com.caucho.config.type.TypeFactory.getType(TypeFactory.java:193)
    at com.caucho.config.type.TypeFactory.getType(TypeFactory.java:183)
    at com.caucho.config.xml.XmlConfigContext.configure(XmlConfigContext.java:241)
    ... 4 more
Rep by S. Francis

Notes
(0006059)
cowan   
10-09-12 10:17   
A bug that appears to be related for the J9 JVM: http://www-01.ibm.com/support/docview.wss?uid=swg1IV19837 [^]

This is reported to be fixed in SR11, which is the tested version, so the NPE on getEnumConstants may be unfixed.
(0006060)
cowan   
10-09-12 10:18   
paul@victory:~/resin-pro-4.0.32$ ../ibm-java-x86_64-60/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr11-20120806_01(SR11))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr11-20120801_118201 (JIT enabled, AOT enabled)
J9VM - 20120801_118201
JIT - r9_20120608_24176ifx1
GC - 20120516_AA)
JCL - 20120713_01