org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178]

Stack Overflow | Subha Chandra | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Skip corrupted data with recover tool

    Google Groups | 11 months ago | Fix
    java.lang.IllegalStateException: Unsupported type 17 I guess the exception is thrown because file is corrupted and the tool finds a 17 in the file which isn't a valid type. The tool recovers the data partially until the error and then stops recovering (or this is what I guess). My question is, is there any way to skip this part of the file and continue recovering data from any later valid data in the database file? This is the execption stack trace when I try to open the database: General error: "java.lang.NullPointerException" [50000-184]
  2. 0

    database - org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178] - Stack Overflow

    xluat.com | 1 year ago
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178]
  3. 0

    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178]

    Stack Overflow | 2 years ago | Subha Chandra
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Corruption errors with new 1.4 branch

    Google Groups | 2 years ago | Rami Ojares
    java.lang.IllegalStateException: Chunk 10751 not found [1.4.181/6]" [50000-181]
  6. 0

    2 corrupt databases

    GitHub | 2 years ago | Terms-jtn
    java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: General error: "java.nio.BufferUnderflowException" [50000-182]

  1. andyglick 352 times, last 12 months ago
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.h2.mvstore.DataUtils.parseMap()
  2. H2 Database Engine
    TcpServerThread.run
    1. org.h2.mvstore.DataUtils.parseMap(DataUtils.java:630)
    2. org.h2.mvstore.MVStore.openMap(MVStore.java:411)
    3. org.h2.mvstore.db.TransactionStore.<init>(TransactionStore.java:96)
    4. org.h2.mvstore.db.MVTableEngine$Store.<init>(MVTableEngine.java:161)
    5. org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:94)
    6. org.h2.engine.Database.getPageStore(Database.java:2355)
    7. org.h2.engine.Database.open(Database.java:659)
    8. org.h2.engine.Database.openDatabase(Database.java:262)
    9. org.h2.engine.Database.<init>(Database.java:256)
    10. org.h2.engine.Engine.openSession(Engine.java:57)
    11. org.h2.engine.Engine.openSession(Engine.java:164)
    12. org.h2.engine.Engine.createSessionAndValidate(Engine.java:142)
    13. org.h2.engine.Engine.createSession(Engine.java:125)
    14. org.h2.server.TcpServerThread.run(TcpServerThread.java:150)
    14 frames
  3. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:744)
    1 frame