beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Poornachandran (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BEEHIVE-1219) Null check required at URLRewriterService.getURLRewriters method
Date Thu, 29 May 2008 11:10:45 GMT

     [ https://issues.apache.org/jira/browse/BEEHIVE-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Poornachandran updated BEEHIVE-1219:
------------------------------------


Suggested fix:

public static List/*< URLRewriter >*/ getURLRewriters( ServletRequest request ) {
    List rewriters = getRewriters( request );
    if ( rewriters != null )
    {
        rewriters = Collections.unmodifiableList( rewriters );
    }
    return rewriters;
}

> Null check required at URLRewriterService.getURLRewriters method
> ----------------------------------------------------------------
>
>                 Key: BEEHIVE-1219
>                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1219
>             Project: Beehive
>          Issue Type: Bug
>          Components: NetUI
>    Affects Versions: 1.0
>            Reporter: Poornachandran
>            Priority: Critical
>
> Null check required at URLRewriterService.getURLRewriters method. If no rewriters, null
is passed on to Collections.unmodifiableList method and throws NullPointerException

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message