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



Nope, I don't see anywhere where we change the appletviewer.properties. I
reinstalled the MRJ (and SDK) and the problem went away (hmmmmmm....) ...
for now anyway. :-/

But now a new problem has come up... when I call JMNewAppletViewer it is
returning 5535 (actually, looking at r3 on return it's really returning
0xFFFF159F which is -60001) I tried searching the headers to find out what
that meant, but came up empty.
I'm getting a Java exception that looks like:

java.lang.NoClassDefFoundError
com/apple/mrj/JManager/JMAppletViewer_OLD
java.lang.NoClassDefFoundError: com/apple/mrj/JManager/JMAppletViewer_OLD
at
com.apple.mrj.JManager.JMAppletViewerImpl.<init>(JMAppletViewerImpl.java)

Again, this looks like it's deep in the bowels of JManager, and
suspiciously in the same method.

Can any of you ever-helpful and much-revered wisened ones shed some light
on this?

Thanks!

-Eric Feigenson
Lotus Notes Java on the Mac Guy

Scott Kovatch <email@hidden> wrote on 05/30/2001 11:14:41 PM:

> 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




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.