1. Javassist
  2. JASSIST-38

ClassFormatError 0000 6305 on OS400/jdk15


    • Type: Bug Bug
    • Status: Open (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:
    • Affects:
      Interactive Demo/Tutorial, Compatibility/Configuration
    • Similar Issues:
      Show 2 results 


      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>(
      at java.lang.Exception.<init>(
      at javassist.CannotCompileException.<init>(
      at javassist.util.proxy.FactoryHelper.toClass(
      at javassist.util.proxy.ProxyFactory.createClass(
      ... 48 more
      Caused by: java.lang.ClassFormatError:
      <mypkg>/SubCategoryRevision_$$_javassist_0 0000 6305
      at java.lang.Throwable.<init>(
      at java.lang.Error.<init>(
      at java.lang.LinkageError.<init>(
      at java.lang.ClassFormatError.<init>(
      at java.lang.ClassLoader.defineClass(
      at java.lang.ClassLoader.defineClass(
      at sun.reflect.NativeMethodAccessorImpl.invoke(
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(
      at java.lang.reflect.Method.invoke(
      at javassist.util.proxy.FactoryHelper.toClass(

      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?

        Gliffy Diagrams


          There are no comments yet on this issue.


            • Assignee:
              Shigeru Chiba
              Mounir Bakkali
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: