Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4262

getImageLocation generate NullPointer

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None

      Description

      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

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              nmalin Nicolas Malin

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment