Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] invalid index 0 error in LocalVariableTable

Hi,

I'm getting this error on the spacewar example and also
on my own code:

C:\aspectj1.1\doc\examples>java spacewar.Game
Exception in thread "main" java.lang.ClassFormatError: Invalid index 0 in LocalV
ariableTable in class file spacewar/Display$DisplayAspect
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:604)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access+100(URLClassLoader.java:56)
        at java.net.URLClassLoader+1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at spacewar.Game.main(Game.java:43)


Any ideas on what I could be doing wrong?  This is aspectj-1.1.1 w/ jdk1.5.

Amir



Back to the top