db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5470) Intermittent NPE executing a prepared statement inserting a blob.
Date Tue, 18 Oct 2011 18:07:10 GMT
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

        

Mime
View raw message