OFBiz
  1. OFBiz
  2. OFBIZ-4262

getImageLocation generate NullPointer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: SVN trunk
    • Fix Version/s: SVN 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

      1. OFBIZ-4262.patch
        0.7 kB
        Nicolas Malin

        Issue Links

          Activity

          Hide
          Jacques Le Roux added a comment -

          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

          Show
          Jacques Le Roux added a comment - 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

            People

            • Assignee:
              Jacques Le Roux
              Reporter:
              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

                  Development