Issue Details (XML | Word | Printable)

Key: CACTUS-129
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Felipe Leme
Reporter: Matthew Hawthorne
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Cactus

java.lang.ClassFormatError when running in Java 1.5

Created: 23/Jun/04 01:51 PM   Updated: 27/Sep/06 12:45 AM
Return to search
Component/s: Framework
Affects Version/s: 1.6.1
Fix Version/s: 1.7

Time Tracking:
Not Specified

Environment: Suse Linux 9.0
Issue Links:
Duplicate
 

Resolution Date: 29/Oct/04 05:55 AM


 Description  « Hide
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!


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.