[
https://issues.apache.org/jira/browse/BCEL-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Bourg updated BCEL-30:
-------------------------------
Priority: Major
Environment: (was: Operating System: All
Platform: All)
Fix Version/s: 5.2
Priority: (was: P3)
Severity: (was: major)
> ReturnaddressType.equals() fails with NullPointerException
> ----------------------------------------------------------
>
> Key: BCEL-30
> URL: https://issues.apache.org/jira/browse/BCEL-30
> Project: Commons BCEL
> Issue Type: Bug
> Components: Main
> Affects Versions: 5.1
> Reporter: David Foster
> Assignee: Apache Commons Developers
> Fix For: 5.2
>
>
> 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)
> ...
--
This message was sent by Atlassian JIRA
(v6.2#6252)