Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.ExceptionInInitializerError



From Chan & Lee:

"ExceptionInInitalizerError is a runtime linkage error that is thrown when an exception occurs while the Java runtime is initializing a static variable or a class's static initializer. [...]" The exception that occurred is wrapped up in this exception, but I'd have to think for a bit about how to retrieve it. I don't see any static variables in JMAppletViewerImpl. Its superclass has a static Hashtable, so it's possible that that's failing to create for some bizarre reason.

One of the objects it creates has a bunch of static initializers so it's possible that one of those are failing. A possible culprit is a problem reading appletviewer.properties -- have you changed that recently?

Scott

On Wednesday, May 30, 2001, at 04:06 PM, email@hidden wrote:

Here's a poser... I'm suddenly getting this error message:

java.lang.ExceptionInInitializerError
at
com.apple.mrj.JManager.JMAppletViewerImpl.<init>(JMAppletViewerImpl.java)

which is telling me something funky is going on inside JManager, but I
can't tell what.

Can anyone help...? What would cause this error especially in that
particular class...?

----------------------------------------
Scott Kovatch
Java Runtime Classes
Apple Computer
email@hidden
Cleveland Hts, OH


References: 
 >java.lang.ExceptionInInitializerError (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.