OFBiz
  1. OFBiz
  2. OFBIZ-4493

Many errors and warnings in log when order is placed

    Details

      Description

      Noticed following warnings and errors when order was placed via estore. Not sure if these happen only when order is placed for drop ship products.

      [LoggingEventListener.java:80 :WARN ] The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 76:29)
      [LoggingEventListener.java:80 :WARN ] The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 165:40)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 205:44)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 217:44)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 228:36)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 237:40)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 246:40)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 255:40)
      [LoggingEventListener.java:80 :WARN ] "fo:table-cell" is missing child elements. Required content model: marker* (%block+ (See position 264:40)
      [LoggingEventListener.java:80 :WARN ] Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
      [LoggingEventListener.java:80 :WARN ] Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
      [ServiceEcaCondition.java:156:WARN ] From Field (communicationEventId) is not found in context for sendMailMultiPart, defaulting to null.

      [ServiceEcaCondition.java:156:WARN ] From Field (partyId) is not found in context for createDataResource, defaulting to null.
      [ServiceEcaCondition.java:156:WARN ] From Field (roleTypeId) is not found in context for createDataResource, defaulting to null.
      [ServiceEcaCondition.java:156:WARN ] From Field (contentAssocTypeId) is not found in context for createContent, defaulting to null.
      [ServiceEcaCondition.java:156:WARN ] From Field (contentPurposeTypeId) is not found in context for createContent, defaulting to null.
      [ FieldToResult.java:77 :WARN ] Field value not found with name val in Map with name

      [FlexibleMapAccessor.java:164:ERROR] UEL exception while setting value: javax.el.ELException: Error parsing '${}': syntax error at position 2, encountered '}', expected ||||'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'(', original = $

      {key}
      1. OFBIZ-4493.patch
        7 kB
        Deepak Dixit
      2. TypeCastError.patch
        0.7 kB
        Deepak Dixit

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        916d 11h 21m 1 Deepak Dixit 24/Apr/14 06:41
        Patch Available Patch Available Resolved Resolved
        57m 39s 1 Jacopo Cappellato 24/Apr/14 07:39
        Resolved Resolved Closed Closed
        8s 1 Jacopo Cappellato 24/Apr/14 07:39
        Hide
        Deepak Dixit added a comment -

        Thanks Jacopo.

        Show
        Deepak Dixit added a comment - Thanks Jacopo.
        Jacopo Cappellato made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jacopo Cappellato made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s SVN trunk [ 12311928 ]
        Fix Version/s Release Branch 12.04 [ 12321265 ]
        Fix Version/s Release Branch 13.07 [ 12324879 ]
        Resolution Fixed [ 1 ]
        Hide
        Jacopo Cappellato added a comment -

        Thank you Deepak!
        Blob related fix committed in trunk with rev. 1589601
        FOP fix committed to trunk with rev. 1589602, to 13.07 with rev. 1589603, to 12.04 with rev. 1589604; did not backport to 11.04 because I got a conflict.

        Show
        Jacopo Cappellato added a comment - Thank you Deepak! Blob related fix committed in trunk with rev. 1589601 FOP fix committed to trunk with rev. 1589602, to 13.07 with rev. 1589603, to 12.04 with rev. 1589604; did not backport to 11.04 because I got a conflict.
        Deepak Dixit made changes -
        Attachment TypeCastError.patch [ 12641660 ]
        Hide
        Deepak Dixit added a comment -

        Here is the patch to fix the type cast error. Changed the fiedType from blob to byte-array as per commit r#1553890.

        Show
        Deepak Dixit added a comment - Here is the patch to fix the type cast error. Changed the fiedType from blob to byte-array as per commit r#1553890.
        Deepak Dixit made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Deepak Dixit made changes -
        Attachment OFBIZ-4493.patch [ 12641655 ]
        Hide
        Deepak Dixit added a comment -

        Here is the patch to fix the console warning related to FOP.

        While verifying this issue I found one issue related to type casting

          [java] 2014-04-24 11:08:19,393 (OFBiz-JobQueue-0) [  ServiceDispatcher.java:589:INFO ] Sync service [default/createDataResource] finished in [535] milliseconds
             [java] 2014-04-24 11:08:19,394 (OFBiz-JobQueue-0) [ContentManagementServices.java:650:INFO ] in persist... dataResourceId(0):10030
             [java] 2014-04-24 11:08:19,398 (OFBiz-JobQueue-0) [       DataServices.java:562:INFO ] imageDataResource(C):[GenericEntity:ImageDataResource][dataResourceId,10030(java.lang.String)][imageData,[B@30f897e7([B)]
             [java] 2014-04-24 11:08:19,399 (OFBiz-JobQueue-0) [   GenericDelegator.java:923:ERROR] Failure in create operation for entity [ImageDataResource]: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob. Rolling back transaction.
             [java] 2014-04-24 11:08:19,402 (OFBiz-JobQueue-0) [    TransactionUtil.java:378:WARN ] 
             [java] ---- exception report ----------------------------------------------------------
             [java] [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
             [java] Exception: java.lang.Exception
             [java] Message: Failure in create operation for entity [ImageDataResource]: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob. Rolling back transaction.
             [java] ---- stack trace ---------------------------------------------------------------
             [java] java.lang.Exception: Failure in create operation for entity [ImageDataResource]: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob. Rolling back transaction.
             [java] org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
             [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
             [java] org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:924)
             [java] org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:767)
             [java] org.ofbiz.entity.GenericValue.create(GenericValue.java:72)
             [java] org.ofbiz.content.data.DataServices.createImageMethod(DataServices.java:564)
        
        
        Show
        Deepak Dixit added a comment - Here is the patch to fix the console warning related to FOP. While verifying this issue I found one issue related to type casting [java] 2014-04-24 11:08:19,393 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:589:INFO ] Sync service [ default /createDataResource] finished in [535] milliseconds [java] 2014-04-24 11:08:19,394 (OFBiz-JobQueue-0) [ContentManagementServices.java:650:INFO ] in persist... dataResourceId(0):10030 [java] 2014-04-24 11:08:19,398 (OFBiz-JobQueue-0) [ DataServices.java:562:INFO ] imageDataResource(C):[GenericEntity:ImageDataResource][dataResourceId,10030(java.lang. String )][imageData,[B@30f897e7([B)] [java] 2014-04-24 11:08:19,399 (OFBiz-JobQueue-0) [ GenericDelegator.java:923:ERROR] Failure in create operation for entity [ImageDataResource]: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob. Rolling back transaction. [java] 2014-04-24 11:08:19,402 (OFBiz-JobQueue-0) [ TransactionUtil.java:378:WARN ] [java] ---- exception report ---------------------------------------------------------- [java] [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: [java] Exception: java.lang.Exception [java] Message: Failure in create operation for entity [ImageDataResource]: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob. Rolling back transaction. [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.Exception: Failure in create operation for entity [ImageDataResource]: java.lang.ClassCastException: [B cannot be cast to java.sql.Blob. Rolling back transaction. [java] org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378) [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319) [java] org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:924) [java] org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:767) [java] org.ofbiz.entity.GenericValue.create(GenericValue.java:72) [java] org.ofbiz.content.data.DataServices.createImageMethod(DataServices.java:564)
        Jacopo Cappellato made changes -
        Assignee Jacopo Cappellato [ jacopoc ]
        Kiran Gawde made changes -
        Field Original Value New Value
        Affects Version/s Release Branch 11.04 [ 12316420 ]
        Affects Version/s SVN trunk [ 12311928 ]
        Fix Version/s SVN trunk [ 12311928 ]
        Fix Version/s Release Branch 11.04 [ 12316420 ]
        Kiran Gawde created issue -

          People

          • Assignee:
            Jacopo Cappellato
            Reporter:
            Kiran Gawde
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development