You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2014/04/24 07:41:16 UTC

[jira] [Updated] (OFBIZ-4493) Many errors and warnings in log when order is placed

     [ https://issues.apache.org/jira/browse/OFBIZ-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Dixit updated OFBIZ-4493:
--------------------------------

    Attachment: OFBIZ-4493.patch

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

While verifying this issue I found one issue related to type casting 
{code}
  [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)

{code}

> Many errors and warnings in log when order is placed
> ----------------------------------------------------
>
>                 Key: OFBIZ-4493
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4493
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 11.04, SVN trunk
>            Reporter: Kiran Gawde
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>         Attachments: OFBIZ-4493.patch
>
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)