ExceptionInInitializerError

76 views
Skip to first unread message

Godmar Back

unread,
May 30, 2012, 3:08:23 PM5/30/12
to kaf...@googlegroups.com

Hi,

should the current git of kaffe work?

When building on 32-bit/x86 with classpath 0.98, I'm seeing:

Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
   at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
caused by java/lang/NullPointerException:
   at java.lang.ThreadLocal.get (ThreadLocal.java:147)
   at java.security.VMAccessController.pushContext (VMAccessController.java:108)
   at java.security.AccessController.doPrivileged (AccessController.java:93)
   at gnu.java.nio.charset.Provider.provider (Provider.java:261)
   at java.nio.charset.Charset.provider (Charset.java:253)
   at java.nio.charset.Charset.charsetForName (Charset.java:208)
   at java.nio.charset.Charset.forName (Charset.java:188)
   at java.util.zip.ZipFile$PartialInputStream.<clinit> (ZipFile.java:525)
   at java.util.zip.ZipFile.readEntries (ZipFile.java:237)
   at java.util.zip.ZipFile.getEntries (ZipFile.java:360)
   at java.util.zip.ZipFile.getEntry (ZipFile.java:381)
   at java.lang.VMClassLoader.getResources (VMClassLoader.java:226)
   at java.lang.VMClassLoader.getResource (VMClassLoader.java:170)
   at java.lang.VMClassLoader.getBootPackages (VMClassLoader.java:252)
   at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:89)
   at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:154)
   at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
Abort (core dumped)

This happens because the 'locals' field in the main thread's java.lang.Thread instance has not been initialized when VMAccessController.java call pushContext

My question: is there a known working combination of classpath/kaffe?

I tried classpath earlier than 0.98, but kaffe seems to rely on CPStringBuilder.java which doesn't exist there.

Thanks.

cenko...@gmail.com

unread,
Oct 25, 2013, 11:49:59 AM10/25/13
to kaf...@googlegroups.com
Hi,

I have the same problem, could you please tell me if you solved it? Thanks.

Cenk

30 Mayıs 2012 Çarşamba 22:08:23 UTC+3 tarihinde Godmar Back yazdı:

Godmar Back

unread,
Oct 25, 2013, 12:11:34 PM10/25/13
to kaf...@googlegroups.com

No, haven't looked at it.


--
You received this message because you are subscribed to the Google Groups "Kaffe VM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaffevm+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages