primefaces-mytheme throws error

Post Reply
ttecsa
Posts: 15
Joined: 17 Feb 2016, 19:37

12 Nov 2018, 21:12

Hi,

I have created new theme using primefaces designer api and as soon as I include in web.xml , application throws following error in websphere portal 9

Application - JSF 2 - primefaces
Server - WebSphere Portal 9
primefaces-6.2


<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>mytheme</param-value>
</context-param>

Caused by: java.lang.NullPointerException
at com.ibm.ws.portletcontainer.core.impl.ResourceResponseImpl.setContentType(ResourceResponseImpl.java:32)
at javax.portlet.filter.ResourceResponseWrapper.setContentType(ResourceResponseWrapper.java:157)
at javax.portlet.filter.ResourceResponseWrapper.setContentType(ResourceResponseWrapper.java:157)
at com.ibm.faces20.portlet.httpbridge.BridgeMimeResponseWrapper.setContentType(BridgeMimeResponseWrapper.java:111)
at org.apache.myfaces.application.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:583)
at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:59)
at org.primefaces.application.resource.PrimeResourceHandler.handleResourceRequest(PrimeResourceHandler.java:87)
at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:59)
at com.ibm.faces20.portlet.FacesPortlet.serveResource(FacesPortlet.java:562)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:153)
at com.ibm.wps.engine.el.init.AttributeCopyFilter.doFilter(AttributeCopyFilter.java:185)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:146)
at com.ibm.wps.resolver.iwidget.filter.IWidgetPortletFilter.doFilter(IWidgetPortletFilter.java:81)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:146)
at com.ibm.wps.pe.pc.waspc.plm.GlobalPortletLoadMonitoringFilter.doFilter(GlobalPortletLoadMonitoringFilter.java:182)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:146)
at com.ibm.wps.pe.pc.waspc.filter.impl.GlobalPortletFilter.doFilter(GlobalPortletFilter.java:192)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:146)
at com.ibm.wps.pcm.scoping.filter.PCMScopingFilter.doFilter(PCMScopingFilter.java:114)
at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:146)

ttecsa
Posts: 15
Joined: 17 Feb 2016, 19:37

19 Nov 2018, 18:13

Hi,

Can some one help ?


User avatar
Novau
Posts: 1
Joined: 26 Nov 2018, 13:49
Location: Clifton, NJ

27 Nov 2018, 11:20

aragorn wrote:
20 Nov 2018, 10:01
Similar issue; viewtopic.php?f=40&p=171529#p171529
Thanks. I had the same problem.
Follow my new project https://womentake.com

aragorn
Posts: 3706
Joined: 29 Jun 2013, 12:38

28 Nov 2018, 09:15

Hi @Novau,

You're welcome! Is issue resolved?

Best Regards,

Post Reply

Return to “PrimeFaces Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest