[richfaces-issues] [JBoss JIRA] Reopened: (RF-9776) CDK: code with potential NPEs is generated

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Mon Dec 27 15:12:18 EST 2010


     [ https://issues.jboss.org/browse/RF-9776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski reopened RF-9776:
--------------------------------



Another example of problematic code -  see https://issues.jboss.org/browse/RF-9661:

    public int getColumns() {
        return (Integer) getStateHelper().eval(Properties.columns, Integer.MIN_VALUE);
    }


> CDK: code with potential NPEs is generated
> ------------------------------------------
>
>                 Key: RF-9776
>                 URL: https://issues.jboss.org/browse/RF-9776
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: cdk
>    Affects Versions: 4.0.0.Milestone4
>            Reporter: Nick Belaevski
>            Assignee: Alexander Smirnov
>            Priority: Critical
>             Fix For: 4.0.0.Milestone5
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> For the following code:
>     @Attribute
>     public abstract Boolean isEditable();
> the following code with potential NPEs is generated:
>     public Boolean isEditable() {
>         return Boolean.valueOf(getStateHelper().eval(Properties.editable).toString());
>     }

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list