[ http://issues.apache.org/jira/browse/MYFACES-182?page=history ]

David R. Heffelfinger updated MYFACES-182:
------------------------------------------

    Attachment: HtmlJSCookMenuRenderer.patch

Eclipse had some checkboxes checked by default when creating the patch that 
seem to be for patches that include more than one file.  The labels for these 
checkboxes read: "Recurse into subfolders" and "Include new files in patch."  I 
unchecked these two checkboxes and tried again, I'm attaching the new patch, 
not sure if this will solve the problem.

David

> HtmlJSCookMenuRenderer throws NullPointerException when deploying 
> myfaces-examples.war
> --------------------------------------------------------------------------------------
>
>          Key: MYFACES-182
>          URL: http://issues.apache.org/jira/browse/MYFACES-182
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>  Environment: Linux Kernel 2.6.10, JBoss 4.0.1 sp1, jdk1.5.0_02
>     Reporter: David R. Heffelfinger
>  Attachments: HtmlJSCookMenuRenderer.patch, HtmlJSCookMenuRenderer.patch
>
> Deploying myfaces-examples.war and pointing the browser to 
> http://localhost:8080/myfaces-examples Results in a NullPointerException.
> Here is a partial stack trace:
> 11:08:13,036 INFO  [STDOUT] java.lang.NullPointerException
> 11:08:13,037 INFO  [STDOUT]   at 
> org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeNavigationMenuItems(HtmlJSCookMenuRenderer.java:253)
> 11:08:13,038 INFO  [STDOUT]   at 
> org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeChildren(HtmlJSCookMenuRenderer.java:169)
> 11:08:13,038 INFO  [STDOUT]   at 
> javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:329)
> 11:08:13,038 INFO  [STDOUT]   at 
> org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:488)
> 11:08:13,038 INFO  [STDOUT]   at 
> org.apache.myfaces.renderkit.html.HtmlGridRenderer.renderChildren(HtmlGridRenderer.java:253)
> 11:08:13,038 INFO  [STDOUT]   at 
> org.apache.myfaces.renderkit.html.HtmlGridRenderer.encodeEnd(HtmlGridRenderer.java:131)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to