[
http://jira.jboss.com/jira/browse/JASSIST-38?page=all ]
Mounir Bakkali updated JASSIST-38:
----------------------------------
Description:
I have been using JBoss Seam framework and when using it on OS/400 (i-series/IBM)
with jdk15, javassist generates an exception:
Caused by: javassist.CannotCompileException: by
java.lang.ClassFormatError: <mypkg>/SubCategoryRevision_$$_javassist_0
0000 6305
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at javassist.CannotCompileException.<init>(CannotCompileException.java:73)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:125)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:169)
... 48 more
Caused by: java.lang.ClassFormatError:
<mypkg>/SubCategoryRevision_$$_javassist_0 0000 6305
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Error.<init>(Error.java:49)
at java.lang.LinkageError.<init>(LinkageError.java:36)
at java.lang.ClassFormatError.<init>(ClassFormatError.java:35)
at java.lang.ClassLoader.defineClass(ClassLoader.java:651)
at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:117)
Also, when I use cglib everything works so I assume this is a javassist issue.
When I use Hibernate alone(no Seam), it also gives me the exact same exception
but when I change the configuration to force Hibernate to use cglib, everything works fine
again.
Also any Seam-2.0.0.GA example will generate the same exception!
I would like to use JBoss Seam but at some point the Seam framework uses javassist.
This problem only occurs when I use the OS400 jdk15. When I use the Sun jdk on my
PC it all works very well.
Any idea of how to solve this issue?
was:
I have been using JBoss Seam framework and when using it on OS/400 (i-series/IBM)
with jdk15, javassist generates an exception:
Caused by: javassist.CannotCompileException: by
java.lang.ClassFormatError: <mypkg>/SubCategoryRevision_$$_javassist_0
0000 6305
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at javassist.CannotCompileException.<init>(CannotCompileException.java:73)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:125)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:169)
... 48 more
Caused by: java.lang.ClassFormatError:
<mypkg>/SubCategoryRevision_$$_javassist_0 0000 6305
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Error.<init>(Error.java:49)
at java.lang.LinkageError.<init>(LinkageError.java:36)
at java.lang.ClassFormatError.<init>(ClassFormatError.java:35)
at java.lang.ClassLoader.defineClass(ClassLoader.java:651)
at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:117)
Also, when I use cglib everything works so I assume this is a javassist issue.
When I use Hibernate alone(no Seam), it also gives me the exact same exception
but when I change the configuration to force Hibernate to use cglib, everything works fine
again.
Also any Seam-2.0.0.GA example will generate the same exception!
Sorry to bother you again, but would you have any idea of how to fix this?
(I would like to use JBoss Seam but at some point the Seam framework uses
javassist).
This problem only occurs when I use the OS400 jdk15. When I use the Sun jdk on my
PC it all works very well.
Any idea of how to solve this issue?
ClassFormatError 0000 6305 on OS400/jdk15
-----------------------------------------
Key: JASSIST-38
URL:
http://jira.jboss.com/jira/browse/JASSIST-38
Project: Javassist
Issue Type: Bug
Environment: OS400/jdk15/jboss-4.2.2.GA/javassist-3.6.GA
Reporter: Mounir Bakkali
Assigned To: Shigeru Chiba
I have been using JBoss Seam framework and when using it on OS/400 (i-series/IBM)
with jdk15, javassist generates an exception:
Caused by: javassist.CannotCompileException: by
java.lang.ClassFormatError: <mypkg>/SubCategoryRevision_$$_javassist_0
0000 6305
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at javassist.CannotCompileException.<init>(CannotCompileException.java:73)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:125)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:169)
... 48 more
Caused by: java.lang.ClassFormatError:
<mypkg>/SubCategoryRevision_$$_javassist_0 0000 6305
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Error.<init>(Error.java:49)
at java.lang.LinkageError.<init>(LinkageError.java:36)
at java.lang.ClassFormatError.<init>(ClassFormatError.java:35)
at java.lang.ClassLoader.defineClass(ClassLoader.java:651)
at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:117)
Also, when I use cglib everything works so I assume this is a javassist issue.
When I use Hibernate alone(no Seam), it also gives me the exact same exception
but when I change the configuration to force Hibernate to use cglib, everything works
fine again.
Also any Seam-2.0.0.GA example will generate the same exception!
I would like to use JBoss Seam but at some point the Seam framework uses javassist.
This problem only occurs when I use the OS400 jdk15. When I use the Sun jdk on my
PC it all works very well.
Any idea of how to solve this issue?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira