[jboss-jira] [JBoss JIRA] (JASSIST-216) A NullPointerException thrown in javassist.bytecode.analysis.ControlFlow

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Sun Dec 1 22:28:06 EST 2013


Shigeru Chiba created JASSIST-216:
-------------------------------------

             Summary: A NullPointerException thrown in javassist.bytecode.analysis.ControlFlow
                 Key: JASSIST-216
                 URL: https://issues.jboss.org/browse/JASSIST-216
             Project: Javassist
          Issue Type: Feature Request
    Affects Versions: 3.18.1-GA
            Reporter: Shigeru Chiba
            Assignee: Shigeru Chiba
            Priority: Minor


(The original report is Maximilian Scherr.)

When analyzing a method with exception handler, printing the exception handler block caused a NullPointerException here (line 248):

protected void toString2(StringBuffer sbuf) {
            super.toString2(sbuf);
            sbuf.append(", incoming{");
            for (int i = 0; i < entrances.length; i++)
                sbuf.append(entrances[i].position).append(", ");

            sbuf.append("}");
        }

It appears catcher blocks have a single predecessor (instead of 0) that is "null".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list