File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Another NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Another NullPointerException" Watch "Another NullPointerException" New topic
Author

Another NullPointerException

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
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

Joined: May 14, 2008
Posts: 5845
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Another NullPointerException