UnsatisfiedLinkError in Create Atlas
Brought to you by:
r_x
I defined a map region and layers in the Atlas COntent. When I click "Creat Atlas" I get the following error in a pop up window,
"An unexpected exception occurred (UnsatisfiedLinkError)" :
Version: Mobile Atlas Creator (MOBAC) 2.3.2 (2750)
Platform: Windows 11 (10.0)
Java VM: Eclipse Adoptium OpenJDK 64-Bit Server VM (17.0.8.1+1)
Max heap size: 4014.00 MiB
CPU cores: 20
Thread: AtlasThread 4
Error hierarchy:
UnsatisfiedLinkError: 'void org.sqlite.core.NativeDB._open_utf8(byte[], int)'
#############################################################
java.lang.UnsatisfiedLinkError: 'void org.sqlite.core.NativeDB._open_utf8(byte[], int)'
at org.sqlite.core.NativeDB._open_utf8(Native Method)
at org.sqlite.core.NativeDB._open(NativeDB.java:79)
at org.sqlite.core.DB.open(DB.java:216)
at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:287)
at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:67)
at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28)
at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19)
at org.sqlite.JDBC.createConnection(JDBC.java:104)
at org.sqlite.JDBC.connect(JDBC.java:77)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:252)
at mobac.program.atlascreators.OsmdroidSQLite.startAtlasCreation(OsmdroidSQLite.java:72)
at mobac.program.AtlasThread.createAtlas(AtlasThread.java:214)
at mobac.program.AtlasThread.run(AtlasThread.java:149)
#############################################################
Have you upgraded to v2.3.2 in the same computer or is this a new installation?
According to some posts I found this error is often an indicator that the common tmp directory has a problem so could you please check if MOBAC works when you manually specify a tmp directory where MOBAC has write and execute permissions?
java -jar -Dorg.sqlite.tmpdir=./tmp Mobile_Atlas_Creator.jar