After some further digging, I was able to make this error happen:

Nested Exception is java.lang.NullPointerException
        at
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesG
enericPortlet.java:393)
        at
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGeneri
cPortlet.java:266)
        at
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
        at com.teradata.portlet.MultiModePortlet.render(Unknown Source)

This is after I had tried to Navigate to the second page of the portlet,
and then
hit refresh. So I guess _something_ is wrong. I am not just sure what.

Todd 

> -----Original Message-----
> From: Papaioannou, Todd 
> Sent: Monday, February 27, 2006 2:21 PM
> To: MyFaces Discussion
> Subject: RE: Do Portlet Modes and JSF navigation work together?
> 
> I am not getting any error in any log other than this one :
> 
> 22:17:29,449 ERROR [org.apache.myfaces.util.LocaleUtils] 
> Locale name null or empty, ignoring
> 
> I was assuming that wouldn't be the one to blame. 
> 
> Other than that, neither the tomcat access log or the console 
> show any error at all.
> 
> I've attached the salient files from my portlet. Perhaps I've 
> goofed elsewhere?
> 
> Any insight greatly appreciated. 
> 
> Thanks
> 
> Todd
> 
> 
> > -----Original Message-----
> > From: Stan Silvert [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 27, 2006 1:45 PM
> > To: MyFaces Discussion
> > Subject: RE: Do Portlet Modes and JSF navigation work together?
> > 
> > Hi Todd,
> > 
> > I think you are missing something.  Navigation works fine, but if 
> > there is some error then it will just go to the default 
> view.  Check 
> > your log for an error.  Note that redirects won't work in 
> portlets, so 
> > you will need to remove any redirects.
> > 
> > Post the error if you got one.
> > 
> > Stan Silvert
> > JBoss, Inc.
> > [EMAIL PROTECTED]
> > callto://stansilvert
> > 
> > > -----Original Message-----
> > > From: Papaioannou, Todd [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, February 27, 2006 3:07 PM
> > > To: [email protected]
> > > Subject: Do Portlet Modes and JSF navigation work together?
> > > 
> > > I have been attempting to build a JSF based portlet with
> > MyFaces and
> > > have been having a problem in getting JSF navigation to work with 
> > > myfaces-1.1.1.
> > > I followed the instructions on the Wiki for how to create my own
> > portlet
> > > and
> > > add edit modes. This works great and I can deploy it into 
> my portal 
> > > server (liferay).
> > > 
> > > However, any time I try to induce a navigation action 
> within my JSF 
> > > pages the view always returns to the default view. I can 
> of course, 
> > > navigate to my Edit and Help pages.
> > > 
> > > If I use myfaces 1.0.9 then I can successfully use the navigation
> > rules
> > > and
> > > move through the pages of my app. But of course, I can not have
> > anything
> > > other than the View mode active.
> > > 
> > > Is this is a known issue? Or am I missing something?
> > > 
> > > If someone could point me towards an example of a JSF 
> portlet that 
> > > supports all modes, that would be great.
> > > 
> > > Thanks
> > > 
> > > Todd
> > 
> > 
> 

Reply via email to