• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Another NullPointerException

 
Dura Hurtado
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • 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



 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic