myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Marti (JIRA)" <>
Subject [jira] Created: (TRINIDAD-1607) NPE on non-standard user agents
Date Thu, 22 Oct 2009 11:53:59 GMT
NPE on non-standard user agents

                 Key: TRINIDAD-1607
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
    Affects Versions:  1.0.11-core
         Environment: Java 1.5, Windos XP
            Reporter: Bruno Marti

If I simulate a none-standard user agent in Firefox plugin  "user agent switcher" (GoogleBot,
Yahoo Slurp ....), I'm getting a NPE (see below)
I think this relates to Bug TRINIDAD-1109. Should it be reopened or is it a new issue?
Why not taking a default agent configuration to avoid a NPE

	at java.util.Hashtable.get(
	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.StyleSheetRenderer.encodeAll(
	at org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(
	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.HeadRenderer.encodeBegin(
	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeBegin(
	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeBegin(
	at javax.faces.webapp.UIComponentTag.encodeBegin(
	at org.apache.myfaces.trinidad.webapp.UIXComponentTag.encodeBegin(
	at javax.faces.webapp.UIComponentTag.doStartTag(
	at org.apache.myfaces.trinidad.webapp.UIXComponentTag.doStartTag(
	at org.apache.jsp.jsp.index_jsp._jspx_meth_trh_head_0(
	at org.apache.jsp.jsp.index_jsp._jspService(
	at org.apache.jasper.runtime.HttpJspBase.service(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message