ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-6219) NPE while rendering content uisng screen widget
Date Fri, 27 Mar 2015 13:59:53 GMT

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

Deepak Dixit commented on OFBIZ-6219:
-------------------------------------

This has been committed in
Trunk at r#1669588
R14.12 at r#1669589

Finally I am able to convince Adrian (at least) on this ticket :)

> NPE while rendering content uisng screen widget
> -----------------------------------------------
>
>                 Key: OFBIZ-6219
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6219
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content, framework
>    Affects Versions: Release Branch 14.12, Trunk
>            Reporter: Deepak Dixit
>         Attachments: OFBIZ-6219.patch, OFBIZ-6219.patch, OFBIZ-6219.patch
>
>
> If we want to render an content that does't have dataResourceId then screen widget throwing
NPE
> {code}
> Caused by: java.lang.NullPointerException
> 	at org.ofbiz.widget.model.ModelScreenWidget$Content.renderWidgetString(ModelScreenWidget.java:1399)
~[ofbiz-widget.jar:?]
> 	at org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz-widget.jar:?]
> 	at org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz-widget.jar:?]
> 	at org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) ~[ofbiz-widget.jar:?]
> 	at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) ~[ofbiz-widget.jar:?]
> 	at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98) ~[ofbiz-widget.jar:?]
> {code}



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

Mime
View raw message