[jboss-jira] [JBoss JIRA] Created: (JBAOP-481) Illegal constant pool index

Konstantin Sobolev (JIRA) jira-events at lists.jboss.org
Fri Nov 9 12:55:45 EST 2007


Illegal constant pool index
---------------------------

                 Key: JBAOP-481
                 URL: http://jira.jboss.com/jira/browse/JBAOP-481
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 1.5.6.GA, 1.5.3.GA
         Environment: jdk 1.6.0
            Reporter: Konstantin Sobolev
         Attachments: bug.tar.gz

aopc-instrumented classes appear broken from time to time:

     [java] java.lang.VerifyError: (class: HotlinksProcessor, method: HotlinksProcessor$processRequest$aop signature: (Ljavax/servlet/http/HttpServletRequest;Z)Lcom/supportwizard/gui2/beans/hotlinks/HotlinkForm;) Illegal constant pool index

This problem was reported several times:
http://www.jboss.org/?module=bb&op=viewtopic&t=102893
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848973#3848973
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009744#4009744

Now I'm attaching a testcase which allows to reproduce it. Unpack into jboss-aop_1.5.6.GA and to 'ant run'.
Commenting out almost any line, for instance HotlinksProcessor.java:21 'fixes' the problem.
Using javassist.jar from 2.0.0-beta2 doesn't help, although the bug is not active there.

-- 
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

        



More information about the jboss-jira mailing list