You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2007/11/02 11:29:50 UTC
[jira] Created: (OFBIZ-1378) Cannot instantiate a SerialBlob object
with a null Blob object
Cannot instantiate a SerialBlob object with a null Blob object
--------------------------------------------------------------
Key: OFBIZ-1378
URL: https://issues.apache.org/jira/browse/OFBIZ-1378
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Reporter: Scott Gray
Reproduce here:
https://demo.hotwaxmedia.com/accounting/control/ListAgreementItems?agreementId=9000
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OFBIZ-1378) Cannot instantiate a SerialBlob object
with a null Blob object
Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David E. Jones closed OFBIZ-1378.
---------------------------------
Resolution: Fixed
Fix Version/s: SVN trunk
Assignee: David E. Jones
Thanks Scott. This is fixed in SVN rev 591834.
I used a slightly different approach than in your patch to make it more efficient (which I should have considered when writing it originally). At least, hopefully it will be more efficient. The do nothing on null is more efficient but the creation of the SerialBlob only when needed may actually cause data to be transferred twice if the JDBC driver is really funny.
Anyway, seems to be working fine now.
> Cannot instantiate a SerialBlob object with a null Blob object
> --------------------------------------------------------------
>
> Key: OFBIZ-1378
> URL: https://issues.apache.org/jira/browse/OFBIZ-1378
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Scott Gray
> Assignee: David E. Jones
> Fix For: SVN trunk
>
> Attachments: blob.patch
>
>
> Reproduce here:
> https://demo.hotwaxmedia.com/accounting/control/ListAgreementItems?agreementId=9000
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-1378) Cannot instantiate a SerialBlob object
with a null Blob object
Posted by "Scott Gray (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Gray updated OFBIZ-1378:
------------------------------
Attachment: blob.patch
Here's my attempt at fixing the problem, but I'll leave it to the experts :-)
> Cannot instantiate a SerialBlob object with a null Blob object
> --------------------------------------------------------------
>
> Key: OFBIZ-1378
> URL: https://issues.apache.org/jira/browse/OFBIZ-1378
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Scott Gray
> Attachments: blob.patch
>
>
> Reproduce here:
> https://demo.hotwaxmedia.com/accounting/control/ListAgreementItems?agreementId=9000
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.