You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Poornachandran (JIRA)" <ji...@apache.org> on 2008/05/29 13:10:45 UTC

[jira] Updated: (BEEHIVE-1219) Null check required at URLRewriterService.getURLRewriters method

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