NPE at CSSGenerationUtils._hasNamespace for faces-1_2-070522 branch
-------------------------------------------------------------------
Key: TRINIDAD-45
URL: https://issues.apache.org/jira/browse/TRINIDAD-45
Project: MyFaces Trinidad
Issue Type: Bug
Components: Skinning
Affects Versions: 2.0.0-core
Reporter: Jeanne Waldman
I am using the faces-1_2-070522 branch.
On IE, when I run a jspx page from the demo bundle, I see a NPE at
java.lang.NullPointerException at
org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils._hasNamespac
ePrefix(CSSGenerationUtils.java:921) at
org.apache.myfaces.trinidadinternal.style.util.CSSGenerationUtils.writeCSS(CSS
GenerationUtils.java:233) at
org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache._createSt
yleSheetFile(FileSystemStyleCache.java:673) at
This happens when a selector is not in the shortened map. It should just skip
it and not shorten it, not give a NPE.
This was already fixed as a part of another bug fix in the trunk.
Since this is a pretty bad bug, I'm going to merge it into the faces-1_2-070522
branch
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.