You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 15:03:15 UTC
[jira] [Updated] (BCEL-30) ReturnaddressType.equals() fails with
NullPointerException
[ 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)