ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-6068) Upload video content for category causes exception
Date Wed, 11 Feb 2015 08:43:11 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315799#comment-14315799
] 

Deepak Dixit commented on OFBIZ-6068:
-------------------------------------

Need to backport these changes for 14.12 as well.

> Upload video content for category causes exception
> --------------------------------------------------
>
>                 Key: OFBIZ-6068
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6068
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Trunk
>            Reporter: Wai
>         Attachments: OFBIZ-6068.patch
>
>
> Using Demo data.
> In https://localhost:8443/catalog/control/EditCategoryContent?productCategoryId=CATALOG1_BEST_SELL
> When upload a video for the content, an exception occurs.
> Console output...
> 2015-02-10 17:55:21,787 |ttp-bio-8443-exec-14 |GenericDelegator              |E| Failure
in create operation for entity [VideoDataResource]: java.lang.ClassCastException: java.nio.HeapByteBuffer
cannot be cast to java.sql.Blob. Rolling back transaction.
> 2015-02-10 17:55:21,789 |ttp-bio-8443-exec-14 |TransactionUtil               |W| Calling
transaction setRollbackOnly; this stack trace shows where this is happening:
> java.lang.Exception: Failure in create operation for entity [VideoDataResource]: java.lang.ClassCastException:
java.nio.HeapByteBuffer cannot be cast to java.sql.Blob. Rolling back transaction.
> 	at org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:360)
[ofbiz-entity.jar:?]
> 	at org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:301) [ofbiz-entity.jar:?]
> 	at org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:925) [ofbiz-entity.jar:?]
> 	at org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:770) [ofbiz-entity.jar:?]
> 	at org.ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:73) [ofbiz-minilang.jar:?]
> 	at org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:305) [ofbiz-minilang.jar:?]
> 	at org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:452) [ofbiz-minilang.jar:?]
> 	at org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:269) [ofbiz-minilang.jar:?]
> 	at org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:288) [ofbiz-minilang.jar:?]
> 	at org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
[ofbiz-minilang.jar:?]
> 	at org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48) [ofbiz-minilang.jar:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message