You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org> on 2007/05/29 22:51:15 UTC
[jira] Created: (TRINIDAD-42) If styleclass begins with .p_AF and
styleclass compression is on, then nullptr exception
If styleclass begins with .p_AF and styleclass compression is on, then nullptr exception
----------------------------------------------------------------------------------------
Key: TRINIDAD-42
URL: https://issues.apache.org/jira/browse/TRINIDAD-42
Project: MyFaces Trinidad
Issue Type: Bug
Components: Skinning
Affects Versions: 1.0.1-core
Reporter: Jeanne Waldman
Assignee: Jeanne Waldman
Recently I added code to not compress the 'state' styleclasses. Those are styleclasses that begin with ".p_AF".
I was doing some testing using the redwoodshores skin and saw a servlet exception. I tracked it down to CSSGenerationUtils.
For the styleclass ".p_AFOverlappingTabBottomHeight" it wasn't being shortened, and it would return null, and then we'd
get a npe.
Just protect against the npe.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TRINIDAD-42) If styleclass begins with .p_AF and
styleclass compression is on, then nullptr exception
Posted by "Jeanne Waldman (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeanne Waldman resolved TRINIDAD-42.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.1-core
svn 542648 in trunk
> If styleclass begins with .p_AF and styleclass compression is on, then nullptr exception
> ----------------------------------------------------------------------------------------
>
> Key: TRINIDAD-42
> URL: https://issues.apache.org/jira/browse/TRINIDAD-42
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Skinning
> Affects Versions: 1.0.1-core
> Reporter: Jeanne Waldman
> Assignee: Jeanne Waldman
> Fix For: 1.0.1-core
>
>
> Recently I added code to not compress the 'state' styleclasses. Those are styleclasses that begin with ".p_AF".
> I was doing some testing using the redwoodshores skin and saw a servlet exception. I tracked it down to CSSGenerationUtils.
> For the styleclass ".p_AFOverlappingTabBottomHeight" it wasn't being shortened, and it would return null, and then we'd
> get a npe.
> Just protect against the npe.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.