[
https://issues.apache.org/jira/browse/TRINIDAD-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Robinson resolved TRINIDAD-1378.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.11-core
1.0.11-core
Do not call .toString() on a possibly null value
Added to 1.0 trunk, 1.2 trunk and 1.2.10.1 branch
> NPE in FrameBorderLayoutRenderer if an attribute is null
> --------------------------------------------------------
>
> Key: TRINIDAD-1378
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1378
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.2.10-core
> Reporter: Andrew Robinson
> Assignee: Andrew Robinson
> Fix For: 1.0.11-core, 1.2.11-core
>
>
> If the trh:frame tags within the facets of a trh:frameBorderLayout don't
> specify the height / width attribute, the renderer throws a
> NullPointerException
> java.lang.NullPointerException at
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.FrameBorderLayoutRenderer._getPropertyValue(FrameBorderLayoutRenderer.java:287)
>
> Example page content:
> <trh:frameBorderLayout borderWidth="2">
> <f:facet name="center">
> <trh:frame source="center.jspx"/>
> </f:facet>
> <f:facet name="top">
> <trh:frame source="top.jspx"/>
> </f:facet>
> <f:facet name="bottom">
> <trh:frame source="bottom.jspx"/>
> </f:facet>
> <f:facet name="left">
> <trh:frame source="left.jspx"/>
> </f:facet>
> <f:facet name="right">
> <trh:frame source="right.jspx"/>
> </f:facet>
> </trh:frameBorderLayout>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.