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

Reply via email to