• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

error in page

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me with this issue .what is being missed?

1.Richfaces4.0.

2.JSF 2.0

And deploying websphere liberty server wlp-javaee8-19.0.0.1


[ERROR   ] Error trying to load resource jquery.component.js with library org.richfaces :An established connection was aborted by the software in your host machine
An established connection was aborted by the software in your host machine
[WARNING ] SRVE8115W: WARNING: Cannot set status. Response already committed.
[ERROR   ] Error trying to load resource json-dom.js with library org.richfaces :An established connection was aborted by the software in your host machine
An established connection was aborted by the software in your host machine
[ERROR   ] Error trying to load resource jquery.effects.core.js with library org.richfaces :An established connection was aborted by the software in your host machine
An established connection was aborted by the software in your host machine
[WARNING ] SRVE8115W: WARNING: Cannot set status. Response already committed.
[WARNING ] SRVE8115W: WARNING: Cannot set status. Response already committed.
[WARNING ] SRVE0190E: File not found: /Images/btnAqua.gif
[ERROR   ] SRVE0777E: Exception thrown by application class 'javax.faces.webapp.FacesServlet.service:236'
javax.servlet.ServletException: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:236)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255)
at [internal classes]
Caused by: java.lang.RuntimeException: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
at com.ibm.wsspi.webcontainer.annotation.AnnotationHelper.inject(AnnotationHelper.java:139)
... 1 more
Caused by: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
at com.ibm.ws.webcontainer.osgi.webapp.WebApp.inject(WebApp.java:1292)
... 1 more
Caused by: java.lang.NullPointerException
at com.edist.common.factory.LocaleManager.<init>(LocaleManager.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.jboss.weld.injection.ConstructorInjectionPoint.newInstance(ConstructorInjectionPoint.java:119)
... 1 more

[ERROR   ] Error Page Exception:
                                                                                                              edamnp
                                                                                                              /edistrictsvn
                                                                                                              Error Page Exception
                                                                                                              com.ibm.ws.webcontainer.webapp.WebAppErrorReport: javax.servlet.ServletException: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:236)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1255)
at [internal classes]
Caused by: javax.servlet.ServletException: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
... 4 more
Caused by: java.lang.RuntimeException: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
at com.ibm.wsspi.webcontainer.annotation.AnnotationHelper.inject(AnnotationHelper.java:139)
... 1 more
Caused by: com.ibm.wsspi.injectionengine.InjectionException: java.lang.NullPointerException
at com.ibm.ws.webcontainer.osgi.webapp.WebApp.inject(WebApp.java:1292)
... 1 more
Caused by: java.lang.NullPointerException
at com.edist.common.factory.LocaleManager.<init>(LocaleManager.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.jboss.weld.injection.ConstructorInjectionPoint.newInstance(ConstructorInjectionPoint.java:119)
... 1 more

[ERROR   ] Cannot set content type. Response already committed
[WARNING ] SRVE8094W: WARNING: Cannot set header. Response already committed.  Stack trace of errant attempt to set header:
       at com.ibm.ws.webcontainer.srt.SRTServletResponse.addHeader(SRTServletResponse.java:2193)
       at [internal classes].(Unknown Source)
       at javax.faces.context.ExceptionHandlerWrapper.handle(ExceptionHandlerWrapper.java:77)
       at com.edist.common.factory.SessionOutHandler.handle(SessionOutHandler.java:133)
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:286)
       at [internal classes].(Unknown Source)
       at com.edist.common.factory.ClickJackFilter.doFilter(ClickJackFilter.java:39)
       at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201)
       at [internal classes].(Unknown Source)
 
Saloon Keeper
Posts: 28472
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The application appears to be doing some non-JSF stuff in JSF components. Although you're missing an image file from the WAR, the biggest problem seems to be that the app is attempting to manually insert HTML headers into a JSF response and it's doing so at a point in time after JSF has sent the last official HTML header.

I can't identify any user-written code that's at fault,so it's possible that you've simply combined some incompatible libraries.

Although there's also the possibility that you have a custom errorpage and it's failing because it's apparently a JSF page. As a general rule, resources that are defined in web.xml (loginpage, errorpage, and so forth) should NOT be JSF pages, because they're being dispatched directly by WebSphere and not via the normal Http request handler pipeline and thus do not have proper JSF context. Such pages are best done as simple HTML or JSP pages.
 
You get good luck from rubbing the belly of a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic