[jira] [Created] (OFBIZ-4262) getImageLocation generate NullPointer

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

[jira] [Created] (OFBIZ-4262) getImageLocation generate NullPointer

Nicolas Malin (Jira)
getImageLocation generate NullPointer
-------------------------------------

                 Key: OFBIZ-4262
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4262
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Nicolas Malin
             Fix For: SVN trunk
         Attachments: OFBIZ-4262.patch

When you use auto-field-entity on a form , we get a nullPointer :

java.lang.NullPointerException
org.ofbiz.widget.form.ModelFormField$DisplayField.getImageLocation(ModelFormField.java:2122)
org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:193)
org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2104)
org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:600)
org.ofbiz.widget.form.ModelForm.renderItemRow(ModelForm.java:1707)

Comming from my last issue https://issues.apache.org/jira/browse/OFBIZ-4259

My apologies

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-4262) getImageLocation generate NullPointer

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin updated OFBIZ-4262:
---------------------------------

    Attachment: OFBIZ-4262.patch

> getImageLocation generate NullPointer
> -------------------------------------
>
>                 Key: OFBIZ-4262
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4262
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4262.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> When you use auto-field-entity on a form , we get a nullPointer :
> java.lang.NullPointerException
> org.ofbiz.widget.form.ModelFormField$DisplayField.getImageLocation(ModelFormField.java:2122)
> org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:193)
> org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2104)
> org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:600)
> org.ofbiz.widget.form.ModelForm.renderItemRow(ModelForm.java:1707)
> Comming from my last issue https://issues.apache.org/jira/browse/OFBIZ-4259
> My apologies

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-4262) getImageLocation generate NullPointer

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4262.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

Thanks Nicolas,

Your patch is in trunk at r1096140  

I guess you have also noticed the fix I committed previously at http://svn.apache.org/viewvc?rev=1096083&view=rev

> getImageLocation generate NullPointer
> -------------------------------------
>
>                 Key: OFBIZ-4262
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4262
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4262.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> When you use auto-field-entity on a form , we get a nullPointer :
> java.lang.NullPointerException
> org.ofbiz.widget.form.ModelFormField$DisplayField.getImageLocation(ModelFormField.java:2122)
> org.ofbiz.widget.form.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:193)
> org.ofbiz.widget.form.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:2104)
> org.ofbiz.widget.form.ModelFormField.renderFieldString(ModelFormField.java:600)
> org.ofbiz.widget.form.ModelForm.renderItemRow(ModelForm.java:1707)
> Comming from my last issue https://issues.apache.org/jira/browse/OFBIZ-4259
> My apologies

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira