New issue 112 by rob...@mailueberfall.de: NullPointerExcpetion in
SqlJetMemPage.clearCell()
http://code.google.com/p/sqljet/issues/detail?id=112
When I execute the attached code I get the following error:
java.lang.NullPointerException
at org.tmatesoft.sqljet.core.internal.btree.SqlJetMemPage.clearCell
(SqlJetMemPage.java:624)
at
org.tmatesoft.sqljet.core.internal.btree.SqlJetBtreeCursor.insert
(SqlJetBtreeCursor.java:1854)
at
org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeDataTable.doUpdate
(SqlJetBtreeDataTable.java:467)
at
org.tmatesoft.sqljet.core.internal.table.SqlJetBtreeDataTable.updateCurrent
(SqlJetBtreeDataTable.java:388)
at org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor
$12.run(SqlJetTableDataCursor.java:179)
at org.tmatesoft.sqljet.core.table.SqlJetDb$6.runWithLock
(SqlJetDb.java:297)
at org.tmatesoft.sqljet.core.table.SqlJetDb.runWithLock
(SqlJetDb.java:212)
at org.tmatesoft.sqljet.core.table.SqlJetDb.runTransaction
(SqlJetDb.java:294)
at org.tmatesoft.sqljet.core.table.SqlJetDb.runWriteTransaction
(SqlJetDb.java:266)
at
org.tmatesoft.sqljet.core.internal.table.SqlJetTableDataCursor.update
(SqlJetTableDataCursor.java:172)
at _test.ClearCellError.main(ClearCellError.java:59)
Attachments:
ClearCellError.java 2.3 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Oh, I just notice that the attached code contains a small bug - but that
does not
affect the error. It still occurs as before.
Line 57 is: updateCursor.update(blob);
Line 57 must be: updateCursor.update(x, y, zoom, 0, blob);
Comment #2 on issue 112 by sergey.scherbina: NullPointerExcpetion in
SqlJetMemPage.clearCell()
http://code.google.com/p/sqljet/issues/detail?id=112
(No comment was entered for this change.)