DO NOT REPLY [Bug 24274] New: - ReturnaddressType.equals() fails with NullPointerException
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24274>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24274
ReturnaddressType.equals() fails with NullPointerException
Summary: ReturnaddressType.equals() fails with
NullPointerException
Product: BCEL
Version: 5.1
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
When a ReturnaddressType is compared with another ReturnaddressType whose returnInstruction
is null, a NullPointerException is encountered.
Try the following:
ReturnaddressType.NO_TARGET.equals(ReturnaddressType.NO_TARGET)
Stack Trace:
Exception in thread "main" java.lang.NullPointerException
at org.apache.bcel.generic.ReturnaddressType.equals(ReturnaddressType.java:93)
...