Re: NullpointerException in getViewMap(UIViewRoot.java:689)

2011-03-28 Thread Rudy De Busscher
Hi, You get some sort of infinitive loop. You have defined *.jsf as servlet mapping for jsf, but also the index.jsf has the same extension. So trying to load index.jsf, MyFaces loads the index.jsf file but that is captured by the servlet again. See the very long stacktrace in your log and the

Re: NullpointerException in getViewMap(UIViewRoot.java:689)

2011-03-28 Thread Rudy De Busscher
Forgot to mention sometime, you have specified the h: namespace twice in index.jsf(xhtml) so remove one to get rid of the error. Rudy On 28 March 2011 09:20, Rudy De Busscher rdebussc...@gmail.com wrote: Hi, You get some sort of infinitive loop. You have defined *.jsf as servlet mapping

My Faces 2.0.4 generates NullPointer if bean scope is view

2011-03-28 Thread RobertGary1
If I change my bean scope to be view. If I change it to be request it works ok. Looking at the MyFaces source code it appears that its looking for a viewroot; however, the view hasn't yet be created. managed-bean managed-bean-namefaces$DiscoveryStatus/managed-bean-name

Re: NullpointerException in getViewMap(UIViewRoot.java:689)

2011-03-28 Thread F P
Hi Rudy, thank you so much for your tidying feedback; it did it. Best Regards thank you alot!! 2011/3/28 Rudy De Busscher rdebussc...@gmail.com Forgot to mention sometime, you have specified the h: namespace twice in index.jsf(xhtml) so remove one to get rid of the error. Rudy On 28