Mailing Lists: Apple Mailing Lists

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

Odd classloader exception



Any thoughts on why working code suddenly busts (repeating periodic execution), then somehow later fixes itself?

First,

Jcrontab: gcstats
VerboseGCTailLogFilter: GCStatsDaemon *****************************
tot# 0 total freed 0 total elapsed 0
max gap dur 0.0 min gap dur 0.0
gc max bytes 0 gc min bytes 0
max interval 0 max interval num 0
*******************************************************************

(I'm not running verbose gc at the moment, no I do not have a super machine that does instant gc or doesn't require it)
Then...


java.lang.IllegalAccessError: class sun.reflect.GeneratedMethodAccessor31 cannot access its superclass sun.reflect.MethodAccessorImpl
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
at sun.reflect.MethodAccessorGenerator$1.run (MethodAccessorGenerator.java:381)
at java.security.AccessController.doPrivileged(Native Method)
at sun.reflect.MethodAccessorGenerator.generate (MethodAccessorGenerator.java:377)
at sun.reflect.MethodAccessorGenerator.generateMethod (MethodAccessorGenerator.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:28)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at utillib.psuedoGestalt.Runner.invoke(Unknown Source)
at utillib.psuedoGestalt.Runner.runStatic(Unknown Source)
at utillib.psuedoGestalt.Runner.runMain(Unknown Source)
at utillib.psuedoGestalt.Runner.run(Unknown Source)


and sometime later, back to...

VerboseGCTailLogFilter: GCStatsDaemon *****************************
tot# 0 total freed 0 total elapsed 0
max gap dur 0.0 min gap dur 0.0
gc max bytes 0 gc min bytes 0
max interval 0 max interval num 0
*******************************************************************

The interest here is sort of academic but this error does eventually come up in my application's javac compiling when it forces me to quit the application and start it back up. Less academic anyhow.

Mike Hall        mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to 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.