OFBiz
  1. OFBiz
  2. OFBIZ-4464

StringIndexOutOfBoundsException in OfbizContentTransform

    Details

      Description

      ---- exception report ----------------------------------------------------------
      Error in request handler:
      Exception: org.ofbiz.widget.screen.ScreenRenderException
      Message: Error rendering screen component://ecommerce/widget/CommonScreens.xml#main-decorator: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 (String index out of range: 0)
      ---- cause ---------------------------------------------------------------------
      Exception: java.lang.StringIndexOutOfBoundsException
      Message: String index out of range: 0
      ---- stack trace ---------------------------------------------------------------
      java.lang.StringIndexOutOfBoundsException: String index out of range: 0
      java.lang.String.charAt(String.java:686)
      org.ofbiz.webapp.ftl.OfbizContentTransform$1.close(OfbizContentTransform.java:97)
      freemarker.core.Environment.visit(Environment.java:265)
      freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)

        Activity

        Jacques Le Roux made changes -
        Status Patch Available [ 10002 ] Closed [ 6 ]
        Assignee Jacques Le Roux [ jacques.le.roux ]
        Fix Version/s Release Branch 11.04 [ 12316420 ]
        Fix Version/s SVN trunk [ 12311928 ]
        Fix Version/s Release 10.04 [ 12316421 ]
        Resolution Fixed [ 1 ]
        Hide
        Jacques Le Roux added a comment -

        Thanks Kiran,

        Your patch is in
        trunk r1304200
        R11.04 r1304202
        R10.04 r1304201

        Show
        Jacques Le Roux added a comment - Thanks Kiran, Your patch is in trunk r1304200 R11.04 r1304202 R10.04 r1304201
        Kiran Gawde made changes -
        Attachment OFBIZ-4464-OfbizContentTransformJava.patch [ 12498260 ]
        Kiran Gawde made changes -
        Hide
        Kiran Gawde added a comment -

        With ASF license

        Show
        Kiran Gawde added a comment - With ASF license
        Hide
        Erwan de FERRIERES added a comment -

        Kiran,
        you should accept to grant license to ASF for inclusion when uploading your patch, otherwise your code cannot be committed.

        Thanks

        Show
        Erwan de FERRIERES added a comment - Kiran, you should accept to grant license to ASF for inclusion when uploading your patch, otherwise your code cannot be committed. Thanks
        Kiran Gawde made changes -
        Attachment OFBIZ-4464-OfbizContentTransformJava.patch [ 12498260 ]
        Hide
        Kiran Gawde added a comment -

        Added defensive code.

        Show
        Kiran Gawde added a comment - Added defensive code.
        Kiran Gawde made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Kiran Gawde created issue -

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Kiran Gawde
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development