commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-30) ReturnaddressType.equals() fails with NullPointerException
Date Thu, 24 Apr 2014 13:01:17 GMT

    [ 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)

Mime
View raw message