[jira] [Commented] (OFBIZ-5875) Example component causes null pointer exception message on page

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5875) Example component causes null pointer exception message on page

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211281#comment-14211281 ]

youssef khaye commented on OFBIZ-5875:
--------------------------------------

Hi jacques,

I confirm, It's an issue OOTB, you only need to go the example component and you can see menu without any elements.
reading the code its seems that one constructor from ModelMenuItem was remove recently, so menu items created dynamically (for example portalPage children) has no modelMenu assigned.
thanks.

> Example component causes null pointer exception message on page
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-5875
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5875
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Wai
>         Attachments: OFBIZ-5875.patch
>
>
> When user selects the Example component, a null pointer exception happens and stack trace is shown on the page.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)