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