Hi,

Maybe this bug was fixed in the meantime (I fixed some bugs recently,
the changes are committed to the trunk). Could you verify it works
now, and if not post a simple standalone test case?

Thanks for your help!

Regards,
Thomas

On Mon, Aug 3, 2009 at 9:20 AM, Julien Blaize<[email protected]> wrote:
>
> Hi,
>
> i am trying your new page store mechanism and i have encountred the
> following error.
> the Array printed before is the values i insert in the prepared
> statement.
> I will try to isolate a test case from my code but i haven't yet.
> Maybe the error will help you
>
> I am really waiting for this new page store to become stable so i can
> release it with our next version in late september, do you think it's
> possible ?
>
> Keep up the good work
>
> Regards.
>
> Julien
>
>
> [3705, 9, 08-100 - 200 ME, 5, 8]
> org.h2.jdbc.JdbcSQLException: General error:
> java.lang.NullPointerException; SQL statement:
> insert into MOD_TABLE_STRING
> (modIdColumn,modCode,strValue,modEff,modIndex) values (?,?,?,?,?)
> [50000-116]
>        at org.h2.message.Message.getSQLException(Message.java:105)
>        at org.h2.message.Message.convert(Message.java:274)
>        at org.h2.table.TableData.addRow(TableData.java:140)
>        at org.h2.command.dml.Insert.update(Insert.java:101)
>        at org.h2.command.CommandContainer.update(CommandContainer.java:72)
>        at org.h2.command.Command.executeUpdate(Command.java:208)
>        at org.h2.jdbc.JdbcPreparedStatement.execute
> (JdbcPreparedStatement.java:177)
>        at maestro.units.etl.table.AbstractModalityTable.setStringModalities
> (AbstractModalityTable.java:347)
>        at maestro.units.etl.table.AbstractModalityTable.setModalities
> (AbstractModalityTable.java:313)
>        at maestro.units.etl.table.AbstractStoreConnection.setModalities
> (AbstractStoreConnection.java:347)
>        at maestro.units.etl.store.TextExtractStoreUnit.execute
> (TextExtractStoreUnit.java:236)
>        at maestro.units.execution.StandaloneExecuter.run
> (StandaloneExecuter.java:115)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
>        at org.h2.index.PageBtreeIndex.getRowSize(PageBtreeIndex.java:385)
>        at org.h2.index.PageBtreeNode.addChild(PageBtreeNode.java:91)
>        at org.h2.index.PageBtreeNode.split(PageBtreeNode.java:176)
>        at org.h2.index.PageBtreeNode.addRowTry(PageBtreeNode.java:150)
>        at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:101)
>        at org.h2.table.TableData.addRow(TableData.java:122)
>        ... 10 more
> >
>

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

Reply via email to