NullPointer on parseCustomTimeZone in debian

2
I'm running the ia32-sun-java6-bin JVM on a debian machine, because I don't want to use the 64 bits JVM (uses way less memory). The problem, however, is that I'm getting requent nullpointer exceptions on at java.util.TimeZone.parseCustomTimeZone(TimeZone.java:765) As well as ERROR M2EEjava.lang.NoClassDefFoundError: Could not initialize class org.apache.xmlbeans.GDate at org.apache.xmlbeans.XmlCalendar.<init>(XmlCalendar.java:123) Does anyone know how to solve this problem? Using the 64-bits default JVM is a workaround, but I'd rather use the 32-bits version.
asked
1 answers
4

This is because of a bug in the debian java package. The 64 bit java version does not suffer from this.

If you do want to use the 32 bits JVM from sun, you should use the following java option:

-Dsun.io.useCanonPrefixCache=false

answered