Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-77

javassist classname error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7
    • ExpressionCompiler
    • None
    • ibm websphere 1.5 jre

    Description

      There is something wrong with IBM JVM (1.5.0) and javassist version (3.3,

      3.4, 3.5-SNAPSHOT)

      Previous version of Tapestry (4.1.1) runs correctly (cause javassist version

      3.0)

      [5/16/07 10:48:08:143 MSD] 00000022 HiveMindExpre E

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler

      compileExpression Error generating OGNL statements for expression

      adapterFactory.getRenderableAdaptor(property.value) with root

      $ExceptionDisplay_23@6482ee45[framework:Exception/$ExceptionDisplay]

      org.apache.hivemind.ApplicationRuntimeException: Unable to create class

      ognl.ASTChain1925870282565.0Accessor: by java.lang.ClassFormatError:

      (ognl/ASTChain1925870282565/0Accessor) class name is invalid at offset=0

      at

      org.apache.tapestry.enhance.CtClassSource.createClass(CtClassSource.java:90)

      [skip]

      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)

      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

      Caused by: javassist.CannotCompileException: by java.lang.ClassFormatError:

      (ognl/ASTChain1925870282565/0Accessor) class name is invalid at offset=0

      at javassist.ClassPool.toClass(ClassPool.java:904)

      at javassist.CtClass.toClass(CtClass.java:1078)

      at

      org.apache.tapestry.enhance.HiveMindClassPool.toClass(HiveMindClassPool.java:79)

      at

      org.apache.tapestry.enhance.CtClassSource.createClass(CtClassSource.java:86)

      ... 99 more

      Caused by: java.lang.ClassFormatError:

      (ognl/ASTChain1925870282565/0Accessor) class name is invalid at offset=0

      at java.lang.ClassLoader.defineClassImpl(Native Method)

      at java.lang.ClassLoader.defineClass(ClassLoader.java:224)

      at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)

      at

      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:615)

      at javassist.ClassPool.toClass2(ClassPool.java:916)

      at javassist.ClassPool.toClass(ClassPool.java:898)

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            jkuhnert Jesse Kuhnert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: