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

Kathey Marsden resolved DERBY-5470.
-----------------------------------

    Resolution: Invalid

resolving as invalid as this appears to be an issue with the stream set in the 
prepared statement parameter rather than an issue with Derby itself
                
> Intermittent NPE executing a prepared statement inserting a blob.
> -----------------------------------------------------------------
>
>                 Key: DERBY-5470
>                 URL: https://issues.apache.org/jira/browse/DERBY-5470
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.8.1.2
>         Environment: Linux 64-bit, java 1.6 build 26.
>            Reporter: Benson Margulies
>
> We cannot reproduce this consistently, let alone minimize it for you. 
> However, the backtrace may be suggestive enough to give you some traction.
> I have never been able to repro this on a Mac with the corresponding version 
> of Java. 
> {noformat}
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:75)
>       at java.io.FilterInputStream.read(FilterInputStream.java:116)
>       at org.apache.derby.iapi.services.io.LimitInputStream.read(Unknown 
> Source)
>       at org.apache.derby.iapi.types.RawToBinaryFormatStream.read(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.MemByteHolder.write(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.RememberBytesInputStream.fillBuf(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.StoredPage.logColumn(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.StoredPage.logRow(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.InsertOperation.writeOptionalDataToBuffer(Unknown
>  Source)
>       at org.apache.derby.impl.store.raw.data.InsertOperation.<init>(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.LoggableActions.actionInsert(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.raw.data.BasePage.insertNoOverflow(Unknown Source)
>       at org.apache.derby.impl.store.raw.data.BasePage.insertAtSlot(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.StoredPage.insertAtSlot(Unknown 
> Source)
>       at org.apache.derby.impl.store.raw.data.BasePage.insert(Unknown Source)
>       at 
> org.apache.derby.impl.store.access.heap.HeapController.doInsert(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.access.heap.HeapController.insertAndFetchLocation(Unknown
>  Source)
>       at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
>       at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown 
> Source)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to