Hi,

You are using H2 version 1.3.148 (beta). There have been quite a few changes
in this area since then. Could you try again (with a fresh database) using
the latest version please?

Regards,
Thomas


On Sun, Apr 24, 2011 at 12:15 AM, igor.petrouk <igor.petr...@gmail.com>wrote:

> I get the following stack trace.
>
> IO Exception: "java.io.IOException: org.h2.jdbc.JdbcSQLException: IO
> Exception: ""Missing lob entry: 77/0"" [90028-148]"; "lob: null table:
> 53 id: 77" [90031-148]
>        at org.h2.message.DbException.getJdbcSQLException(DbException.java:
> 327)
>        at org.h2.message.DbException.get(DbException.java:156)
>        at org.h2.message.DbException.convertIOException(DbException.java:
> 313)
>        at org.h2.value.ValueLobDb.getBytesNoCopy(ValueLobDb.java:222)
>        at org.h2.value.ValueLobDb.getBytes(ValueLobDb.java:207)
>        at org.h2.jdbc.JdbcResultSet.getBytes(JdbcResultSet.java:972)
>        at
>
> org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:
> 241)
>        at
>
> org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:
> 241)
>        at
>
> org.apache.commons.dbcp.DelegatingResultSet.getBytes(DelegatingResultSet.java:
> 241)
>        at filesystem.data.VirtualFile$11.run(VirtualFile.java:378)
>        at filesystem.data.VirtualFile$11.run(VirtualFile.java:1)
>        at
> filesystem.data.DatabaseDao.performOperation(DatabaseDao.java:286)
>        at filesystem.data.VirtualFile.readBlock(VirtualFile.java:367)
>        at
> filesystem.client.api.FilesystemFile.readBlock(FilesystemFile.java:
> 231)
>        at
> filesystem.client.api.FilesystemFile.read(FilesystemFile.java:247)
>        at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:48)
>        at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:92)
>        at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86)
>        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>        at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>        at java.io.FilterInputStream.read(FilterInputStream.java:90)
>        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1262)
>        at org.apache.commons.io.IOUtils.copy(IOUtils.java:1236)
>        at filesystem.client.http.HttpServer.dumpFile(HttpServer.java:126)
>        at filesystem.client.http.HttpServer.handle(HttpServer.java:101)
>        at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 114)
>        at org.eclipse.jetty.server.Server.handle(Server.java:353)
>        at
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:
> 598)
>        at org.eclipse.jetty.server.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:1059)
>        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
>        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:
> 212)
>        at
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:
> 427)
>        at
>
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:
> 510)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access
> $000(SelectChannelEndPoint.java:34)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint
> $1.run(SelectChannelEndPoint.java:40)
>        at org.eclipse.jetty.util.thread.QueuedThreadPool
> $2.run(QueuedThreadPool.java:450)
>        at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: org.h2.jdbc.JdbcSQLException: IO
> Exception: "Missing lob entry: 77/0" [90028-148]
>        at org.h2.message.DbException.convertToIOException(DbException.java:
> 343)
>        at
> org.h2.store.LobStorage$LobInputStream.fillBuffer(LobStorage.java:
> 265)
>        at org.h2.store.LobStorage$LobInputStream.readFully(LobStorage.java:
> 218)
>        at org.h2.store.LobStorage$LobInputStream.read(LobStorage.java:209)
>        at org.h2.util.IOUtils.readBytesAndClose(IOUtils.java:242)
>        at org.h2.value.ValueLobDb.getBytesNoCopy(ValueLobDb.java:220)
>        ... 34 more
> Caused by: org.h2.jdbc.JdbcSQLException: IO Exception: "Missing lob
> entry: 77/0" [90028-148]
>        at org.h2.message.DbException.getJdbcSQLException(DbException.java:
> 327)
>        at org.h2.message.DbException.get(DbException.java:167)
>        at org.h2.message.DbException.get(DbException.java:144)
>        at
> org.h2.store.LobStorage$LobInputStream.fillBuffer(LobStorage.java:
> 252)
>        ... 38 more
>
>  Or do I work with the database somehow incorrectly? What could be
> causing such issue? I believe that this is possibly something low
> level.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to h2-database@googlegroups.com.
> To unsubscribe from this group, send email to
> h2-database+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to h2-database@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to