org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: EACCES (13)

GitHub | mtanski | 8 months 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

    Cannot open Dbi when Env is in read only mode.

    GitHub | 8 months ago | mtanski
    org.lmdbjava.LmdbNativeException$ConstantDerviedException: Platform constant error code: EACCES (13)

    Root Cause Analysis

    1. org.lmdbjava.LmdbNativeException$ConstantDerviedException

      Platform constant error code: EACCES (13)

      at org.lmdbjava.ResultCodeMapper.checkRc()
    2. org.lmdbjava
      Env.openDbi
      1. org.lmdbjava.ResultCodeMapper.checkRc(ResultCodeMapper.java:82)
      2. org.lmdbjava.Txn.<init>(Txn.java:75)
      3. org.lmdbjava.Env.txnWrite(Env.java:289)
      4. org.lmdbjava.Env.openDbi(Env.java:213)
      4 frames