Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 62367 invoked from network); 16 Aug 2010 21:30:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Aug 2010 21:30:40 -0000 Received: (qmail 14969 invoked by uid 500); 16 Aug 2010 21:30:40 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 14863 invoked by uid 500); 16 Aug 2010 21:30:39 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 14856 invoked by uid 99); 16 Aug 2010 21:30:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 21:30:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 21:30:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7GLUISL021417 for ; Mon, 16 Aug 2010 21:30:18 GMT Message-ID: <25908212.376871281994218522.JavaMail.jira@thor> Date: Mon, 16 Aug 2010 17:30:18 -0400 (EDT) From: "Jeanne Waldman (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TRINIDAD-1885) NPE in StyleSheetDocument._create IconFromNode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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.