You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Karl Kildén (JIRA)" <de...@myfaces.apache.org> on 2013/04/04 13:11:18 UTC
[jira] [Created] (MYFACES-3708) NPE when no title using primefaces
mobile
Karl Kildén created MYFACES-3708:
------------------------------------
Summary: NPE when no title using primefaces mobile
Key: MYFACES-3708
URL: https://issues.apache.org/jira/browse/MYFACES-3708
Project: MyFaces Core
Issue Type: Bug
Affects Versions: 2.1.10
Environment: primefaces 3.5, primefaces mobile 0.93, OWB 1.1.7, Tomcat 7
Reporter: Karl Kildén
Primefaces mobile pages are described with pm:page and you can set title="your title".
I don't want a title so I left the attribute out but that caused NPE.
HtmlResponseWriterImpl
1018 if (str.length() > 0)
The string in that case is null hence the length check causes NPE. Not sure if str != null should be added or not , maybe primefaces is doing something bad.
Workaround is to use title="" but it's not very pretty.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira