Menu

#292 UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V

latest_beta_version
open
nobody
None
1
2017-04-09
2017-04-08
frankiard
No

Version: Mobile Atlas Creator (MOBAC) 2.0.0 beta 3 (2350)
Platform: Windows 7 (6.1) (windows)
Java VM: Java HotSpot(TM) Client VM (1.8.0_121-b13)
Max heap size: 989,88 MiB
CPU cores: 2

Thread: AtlasThread 1

Error hierarchy:
UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V

java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V
at org.sqlite.core.NativeDB._open(Native Method)
at org.sqlite.core.DB.open(DB.java:161)
at org.sqlite.core.CoreConnection.open(CoreConnection.java:220)
at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76)
at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:24)
at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:23)
at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
at org.sqlite.JDBC.createConnection(JDBC.java:114)
at org.sqlite.JDBC.connect(JDBC.java:88)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at mobac.program.atlascreators.OruxMapsSqlite.getConnection(OruxMapsSqlite.java:118)
at mobac.program.atlascreators.OruxMapsSqlite.initLayerCreation(OruxMapsSqlite.java:93)
at mobac.program.AtlasThread.createAtlas(AtlasThread.java:202)
at mobac.program.AtlasThread.run(AtlasThread.java:122)</init></init></init></init>

Discussion

  • frankiard

    frankiard - 2017-04-08

    Hello, I can't creat maps for Oruxmaps. No matter how big are the maps I try to create, I always get this error. How could I maket it?
    Thanks in advance.

     
  • r_x

    r_x - 2017-04-08

    Make sure you use the original version and download it from the sourceforge project page.

    Wfter extraction make sure there is the file "sqlite-jdbc-3.8.11.2.jar" (contains the database driver which can not be loaded according to your posted log file) in the same directory as "Mobile_Atlas_Creator.jar" and "Mobile Atlas Creator.exe".

     
  • r_x

    r_x - 2017-04-08

    I made a bit research and found this issue: https://github.com/xerial/sqlite-jdbc/issues/97

    It describes that your problem is that your temporary directory does not exists or you don't have write permissions on it.

     

    Last edit: r_x 2017-04-08
  • frankiard

    frankiard - 2017-04-08

    Finally I found the issue. Simply I had to execute as Administrador the file 'Mobile Atlas Creator.exe'
    Thanks for your help.

     
  • r_x

    r_x - 2017-04-08

    If you ned admin permissions you have installed MOBAC into the wrong location. Do not place it in C:\Program Files or C:\Program Files (x86).

     

    Last edit: r_x 2017-04-08
  • frankiard

    frankiard - 2017-04-08

    I have installed it in d:. I'll change it. Thanks.

     
  • r_x

    r_x - 2017-04-08

    D: sounds fine, however the permissions doesn't seem to fit. Set the MOBAC directory to Full Access for your account.

     
  • frankiard

    frankiard - 2017-04-09

    I have changed MOBAC directory to c:\Program files(x86), and I have set MOBAC directory to full access for my account. However, I get the UnsatisfiedLinkError if I don't execute as administrator the Mobile Atlas Creator.exe file.

     
  • r_x

    r_x - 2017-04-09

    As I wrote MOBAC is not designed to be installed within this location.

    Second, the problem is most likely your temp folder containing files that can only be deleted with admin permissions. Close MOBAC and clean your temp folder completely. Also make sure that the temp folder location has not been redirected and that the directory exists.

     
  • frankiard

    frankiard - 2017-04-09

    Ok, MOBAC installed in d:. After that I have erased data in folder 'C:\Users\username\AppData\Local\Temp'. However, I have to execute as administrator to not to getting the UnsatisfiedLinkError.

     

Log in to post a comment.

MongoDB Logo MongoDB