Null/Empty viewId in InitParameter causes NullPointer Exception in bridge
-------------------------------------------------------------------------
Key: PORTLETBRIDGE-102
URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-102
Project: MyFaces Portlet Bridge
Issue Type: Bug
Components: Impl
Affects Versions: 2.0.0-alpha, 1.0.0-beta
Reporter: Michael Freedman
Assignee: Michael Freedman
The Bridge doesn't check if a default viewId passed by the portlet is not null
or empty -- yielding a nullPointerException. Since the GenericFacesPortlet
acquires this default viewId by reading a portlet.xml initParameter its
possible for a mode to be defined with an empty or null entry. Neither the GFP
nor the Bridge expects this/recognizes/excludes this -- instead the GFP passes
it along to the Bridge which happily derefernces the viewId (null) and results
in a NPE.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.