You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Vincent Massol (JIRA)" <ca...@jakarta.apache.org> on 2005/01/27 22:50:18 UTC

[jira] Updated: (CACTUS-129) java.lang.ClassFormatError when running in Java 1.5

     [ http://issues.apache.org/jira/browse/CACTUS-129?page=history ]

Vincent Massol updated CACTUS-129:
----------------------------------

    Component: Framework

> java.lang.ClassFormatError when running in Java 1.5
> ---------------------------------------------------
>
>          Key: CACTUS-129
>          URL: http://issues.apache.org/jira/browse/CACTUS-129
>      Project: Cactus
>         Type: Bug
>   Components: Framework
>     Versions: 1.6.1
>  Environment: Suse Linux 9.0
>     Reporter: Matthew Hawthorne
>     Assignee: Felipe Leme
>      Fix For: 1.7

>
> When attempting to run Cactus in Java 1.5, I get the following error:
> (this is inside of JBoss 3.2.4, but I've seen the exact same error when running from the command line)
> java.lang.ClassFormatError: Invalid index 0 in LocalVariableTable in class file org/apache/cactus/util/log/LogAspect
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:605)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
>         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
>         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:303)
>         at org.apache.cactus.server.FilterTestRedirector.init(FilterTestRedirector.java)
>         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
>         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
> So, I'm not sure if there needs to be a special version build just for 1.5, which would be unfortunate.  Every other library I've used has been OK, so I'd suspect it's something with Aspecj's 'weaving'? (shrug)
> Thanks for any assistance!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org