myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarosław Czekalski (JIRA) <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2451) IE11 rendering issue (NPE getRendererManager)
Date Sat, 28 Oct 2017 07:39:00 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16223303#comment-16223303
] 

Jarosław Czekalski commented on TRINIDAD-2451:
----------------------------------------------

In my case turning on the _compatibility view_ for the site solved the issue. Tools button,
Compatibility View settings. Enter the name of the site, Add.

> IE11 rendering issue (NPE getRendererManager)
> ---------------------------------------------
>
>                 Key: TRINIDAD-2451
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2451
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Components
>    Affects Versions: 2.0.1-core
>         Environment: Windows 7, IE11, JSF2
> myfaces-api-2.1.10.jar, myfaces-impl-2.1.10.jar, trinidad-api-2.0.1.jar, trinidad-impl-2.0.1.jar
>            Reporter: ranjan j
>
> some components like <tr:panelTabbed, <tr:commandNavigationItem, "rendered" attribute
can be used and if it is not mentioned, default value should be  true for that attribute.
> In IE 11 browser, if that attribute is not there we are getting the following error:-
 any workaround you suggest, we have to do in our code or we can expect some fix from your
end
> java.lang.NullPointerException
> 	at org.apache.myfaces.trinidadinternal.ui.RootRenderingContext.getRendererManager(RootRenderingContext.java:196)
> 	at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.getRenderer(UIXComponentUINode.java:379)
> 	at org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:166)
> 	at org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:70)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:792)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.CellFormatRenderer.encodeAll(CellFormatRenderer.java:100)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:792)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeChild(RowLayoutRenderer.java:108)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.RowLayoutRenderer.encodeAll(RowLayoutRenderer.java:84)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:792)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
> 	at org.apache.myfaces.trinidadinternal.renderkit.html.TableLayoutRenderer.encodeAll(TableLayoutRenderer.java:95)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:792)
> 	at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:70)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:159)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:153)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:82)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1021)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:792)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:788)
> 	at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:541)
> 	at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981)
> 	at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:354)
> 	at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
> 	at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> 	at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
> 	at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
> 	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
> 	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:352)
> 	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at com.chordiant.web.faces.filter.ChordiantFacesFilter.doFilter(ChordiantFacesFilter.java:88)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at com.chordiant.web.faces.filter.LoginCheckFilter.doFilter(LoginCheckFilter.java:87)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
> 	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
> 	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at com.chordiant.application.ChordiantPerformanceFilter.doFilter(ChordiantPerformanceFilter.java:125)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at com.chordiant.cafe.application.filter.FilterRequestHandler.doFilter(FilterRequestHandler.java:88)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
> 	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
> 	at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
> 	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
> 	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
> 	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1512)
> 	at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
> 	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
> 	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message