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] [Updated] (BCEL-30) ReturnaddressType.equals() fails with NullPointerException
Date Thu, 24 Apr 2014 13:03:15 GMT

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

Mime
View raw message