OFBiz
  1. OFBiz
  2. OFBIZ-4262

getImageLocation generate NullPointer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

      1. OFBIZ-4262.patch
        0.7 kB
        Nicolas Malin

        Issue Links

          Activity

          Nicolas Malin created issue -
          Nicolas Malin made changes -
          Field Original Value New Value
          Attachment OFBIZ-4262.patch [ 12477198 ]
          Nicolas Malin made changes -
          Link This issue relates to OFBIZ-4259 [ OFBIZ-4259 ]
          Nicolas Malin made changes -
          Link This issue is required by OFBIZ-4260 [ OFBIZ-4260 ]
          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
          Jacques Le Roux made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Jacques Le Roux [ jacques.le.roux ]
          Resolution Fixed [ 1 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          27m 5s 1 Jacques Le Roux 23/Apr/11 14:08

            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