myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TOBAGO-1338) NPE in ClientPropertiesKey.calcHashCode
Date Mon, 04 Nov 2013 15:09:17 GMT

     [ https://issues.apache.org/jira/browse/TOBAGO-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Udo Schnurpfeil resolved TOBAGO-1338.
-------------------------------------

    Resolution: Duplicate

> NPE in ClientPropertiesKey.calcHashCode
> ---------------------------------------
>
>                 Key: TOBAGO-1338
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1338
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.6.0-beta-2
>         Environment: Jetty 7
>            Reporter: Dennis Kieselhorst
>
> The calcHashCode method should check for null values.
>  com.sun.facelets.FaceletViewHandler handleRenderException
> Schwerwiegend: Error Rendering View[/jsp/market/marketOverview.xhtml]
> java.lang.NullPointerException
> 	at org.apache.myfaces.tobago.internal.context.ClientPropertiesKey.calcHashCode(ClientPropertiesKey.java:98)
> 	at org.apache.myfaces.tobago.internal.context.ClientPropertiesKey.<init>(ClientPropertiesKey.java:64)
> 	at org.apache.myfaces.tobago.internal.context.ClientPropertiesKey.get(ClientPropertiesKey.java:47)
> 	at org.apache.myfaces.tobago.internal.context.ResourceManagerImpl.getImage(ResourceManagerImpl.java:274)
> 	at org.apache.myfaces.tobago.internal.context.ResourceManagerImpl.getImage(ResourceManagerImpl.java:259)
> 	at org.apache.myfaces.tobago.context.ResourceManagerUtils.getImageWithPath(ResourceManagerUtils.java:53)
> 	at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.MenuCommandRenderer.encodeItem(MenuCommandRenderer.java:170)
> 	at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.MenuCommandRenderer.encodeBegin(MenuCommandRenderer.java:113)
> 	at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeBegin(AbstractRendererBaseWrapper.java:91)
> 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
> 	at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:98)
> 	at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:104)
> 	at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:104)
> 	at org.apache.myfaces.tobago.renderkit.util.RenderUtils.encode(RenderUtils.java:83)
> 	at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeBegin(PageRenderer.java:493)
> 	at org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper.encodeBegin(AbstractRendererBaseWrapper.java:91)
> 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
> 	at org.apache.myfaces.tobago.internal.component.AbstractUIPage.encodeBegin(AbstractUIPage.java:86)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
> 	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
> 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
> 	at org.apache.myfaces.tobago.internal.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:43)
> 	at org.apache.myfaces.tobago.internal.lifecycle.TobagoLifecycle.render(TobagoLifecycle.java:138)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320)
> 	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233)
> 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
> 	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message