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

getImageLocation generate NullPointer

    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

        1. OFBIZ-4262.patch
          0.7 kB
          Nicolas Malin

          Issue Links

            Activity

              People

              • Assignee:
                jacques.le.roux Jacques Le Roux
                Reporter:
                soledad Nicolas Malin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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