NPE in StyleSheetDocument._create IconFromNode
----------------------------------------------
Key: TRINIDAD-1885
URL: https://issues.apache.org/jira/browse/TRINIDAD-1885
Project: MyFaces Trinidad
Issue Type: Bug
Components: Skinning
Affects Versions: 2.0.0.3-core
Reporter: Jeanne Waldman
Assignee: Jeanne Waldman
If you create a skin and you have this definition:
af|dialog::close-icon {content: inhibit}
Then you will get a NPE.
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
at
org.apache.myfaces.trinidadinternal.style.BaseStyle.setProperty(BaseStyle.java
:141)
at
org.apache.myfaces.trinidadinternal.style.CSSStyle.setProperty(CSSStyle.java:1
17)
at
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocument._create
IconFromNode(StyleSheetDocument.java:373)
at
org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocument.getIcon
s(StyleSheetDocument.java:264)
at
org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._getStyle
ContextResolvedIcons(FileSystemStyleCache.java:642)
This bug showed up when TRINIDAD-17 was fixed.
TRINIDAD-17 Need to support mapping icons via -tr-rule-ref like we do with
styles
was checked in August 5, 2010
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.