You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <my...@incubator.apache.org> on 2005/04/12 18:40:53 UTC

[jira] Commented: (MYFACES-182) HtmlJSCookMenuRenderer throws NullPointerException when deploying myfaces-examples.war

     [ http://issues.apache.org/jira/browse/MYFACES-182?page=comments#action_62664 ]
     
sean schofield commented on MYFACES-182:
----------------------------------------

Unable to patch.  I get an assertion failure (line 321.)  A google search seems to indicate that this is something to do with the end of line character.  Which OS and IDE are you using?  Is there an option to "preserver" the end of line character of the original file?  I can probably work out the changes by visually inspecting your patch but it would be nice if we could figure out the problem so that I can apply future patches of yours.

> 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
>
> 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