• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Another NullPointerException

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I get the next error when I try run the app.

java.lang.NullPointerException
javax.faces.component.UIViewRoot.getViewMap(UIViewRoot.java:698)
javax.faces.component.UIViewRoot.getViewMap(UIViewRoot.java:686)
org.apache.myfaces.renderkit.ErrorPageWriter._writeVariables(ErrorPageWriter.java:580)
org.apache.myfaces.renderkit.ErrorPageWriter.debugHtml(ErrorPageWriter.java:290)
org.apache.myfaces.renderkit.ErrorPageWriter.debugHtml(ErrorPageWriter.java:252)
org.apache.myfaces.renderkit.ErrorPageWriter.handleThrowable(ErrorPageWriter.java:423)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:274)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

¿Anybody has an idea about it?. Also me would like know where the logs are in Jboss, whe it is install with eclipse.

Thanks



 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Also me would like know where the logs are in Jboss, whe it is install with eclipse.


In Eclipse you had to specify a location where JBoss AS was installed, and you had to choose from a configuration (all, default, etc). The logs are in server/xxx/logs directory (where xxx is the configuration) under the JBoss AS location you specified.

Without any details whatsoever about your app, it it difficult to say what the problem is. Of course it doesn't help that the JSF library has a null pointer bug in it and the myfaces developers were not intelligent enough to test for that and give a meaningful error to help pinpoint the problem. You might have to grab the source and add some debugging code. Or turn the trace level up to DEBUG or TRACE for org.apache.myfaces and see if that yields any extra info in the logs.
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic