A NullPointerException thrown in
javassist.bytecode.analysis.ControlFlow
------------------------------------------------------------------------
Key: JASSIST-216
URL:
https://issues.jboss.org/browse/JASSIST-216
Project: Javassist
Issue Type: Bug
Affects Versions: 3.18.1-GA
Reporter: Shigeru Chiba
Assignee: Shigeru Chiba
Priority: Minor
Fix For: 3.18.2-GA, 3.19.0-GA
(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: