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:01:17 UTC
[jira] [Commented] (BCEL-30) ReturnaddressType.equals() fails with
NullPointerException
[ https://issues.apache.org/jira/browse/BCEL-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979675#comment-13979675 ]
Emmanuel Bourg commented on BCEL-30:
------------------------------------
This was fixed in r152860 on 2003-07-28
> 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
> Environment: Operating System: All
> Platform: All
> Reporter: David Foster
> Assignee: Apache Commons Developers
>
> 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)