mobac.exceptions.MapCreationException: Error writing tile image: PRIMARY KEY must be unique

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mobac by marcovd
, 1 year ago
Error writing tile image: PRIMARY KEY must be unique
java.sql.SQLException: PRIMARY KEY must be unique
at org.sqlite.DB.throwex(DB.java:288)
at org.sqlite.DB.executeBatch(DB.java:236)
at org.sqlite.PrepStmt.executeBatch(PrepStmt.java:83)
at mobac.program.atlascreators.OsmdroidSQLite.createMap(OsmdroidSQLite.java:131)
at mobac.program.AtlasThread.createMap(AtlasThread.java:351)
at mobac.program.AtlasThread.createAtlas(AtlasThread.java:206)
at mobac.program.AtlasThread.run(AtlasThread.java:131)

Users with the same issue

9 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.