java.io.EOFException: Reached end of file while attempting to read a whole page.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Apache's JIRA Issue Tracker by Varma R, 1 year ago
Reached end of file while attempting to read a whole page.
via db-derby-user by Cary Calabro, 1 year ago
Reached end of file while attempting to read a whole page.
java.io.EOFException: Reached end of file while attempting to read a whole page.
at org.apache.derby.impl.store.raw.data.RAFContainer4.readFull(RAFContainer4.java:474)
at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage0(RAFContainer4.java:242)
at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage(RAFContainer4.java:212)
at org.apache.derby.impl.store.raw.data.CachedPage.readPage(CachedPage.java:671)
at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(CachedPage.java:190)
at org.apache.derby.impl.services.cache.ConcurrentCache.find(ConcurrentCache.java:295)
at org.apache.derby.impl.store.raw.data.FileContainer.initPage(FileContainer.java:2317)
at org.apache.derby.impl.store.raw.data.FileContainer.newPage(FileContainer.java:1800)
at org.apache.derby.impl.store.raw.data.BaseContainer.addPage(BaseContainer.java:314)
at org.apache.derby.impl.store.raw.data.BaseContainerHandle.addPage(BaseContainerHandle.java:183)
at org.apache.derby.impl.store.access.heap.HeapController.doInsert(HeapController.java:302)
at org.apache.derby.impl.store.access.heap.HeapController.insertAndFetchLocation(HeapController.java:599)
at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(RowChangerImpl.java:452)
at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(InsertResultSet.java:1022)
at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:495)
at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:416)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:297)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1235)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:625)
at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLIMM(DRDAConnThread.java:5022)
at org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:750)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.