incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Huber (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Created: (ADFFACES-312) NullPointerException in SkinUtils when trinidad-skins.xml is missing
Date Fri, 01 Dec 2006 11:33:21 GMT
NullPointerException in SkinUtils when trinidad-skins.xml is missing
--------------------------------------------------------------------

                 Key: ADFFACES-312
                 URL: http://issues.apache.org/jira/browse/ADFFACES-312
             Project: MyFaces ADF-Faces
          Issue Type: Bug
          Components: Skinning
         Environment: Maven2, Snapshots from http://people.apache.org/repo/m2-snapshot-repository,
Jetty 6.1pre0
            Reporter: Patrick Huber



Exception while Starting up:

----------
01.12.2006 11:26:44 org.apache.myfaces.trinidad.webapp.TrinidadFilter init
SCHWERWIEGEND: null
java.lang.NullPointerException
        at org.apache.myfaces.trinidadinternal.skin.SkinUtils._registerSkinExtensions(SkinUtils.java:310)
        at org.apache.myfaces.trinidadinternal.skin.SkinUtils.registerSkinExtensions(SkinUtils.java:115)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:143)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:52)
        at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:95)
......
2006-12-01 11:26:44.419::WARN:  failed Trinidad Filter
java.lang.NullPointerException
        at org.apache.myfaces.trinidadinternal.skin.SkinUtils._registerSkinExtensions(SkinUtils.java:310)
        at org.apache.myfaces.trinidadinternal.skin.SkinUtils.registerSkinExtensions(SkinUtils.java:115)
        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:143)
        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:52)
        at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:95)
......
----------

Can be worked around by adding a file WEB-INF/trinidad-skins.xml:
----------
<?xml version="1.0" encoding="UTF-8"?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">

</skins>
----------

IMHO, trinidad should just use the default skin when this file is missing. Trinidad does use
the default skin with this dummy-file present.


regards
Patrick

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message