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
, 2 years ago
Error writing tile image: PRIMARY KEY must be unique
mobac.exceptions.MapCreationException: Error writing tile image: PRIMARY KEY must be unique at mobac.program.atlascreators.OsmdroidSQLite.createMap(OsmdroidSQLite.java:135) at mobac.program.AtlasThread.createMap(AtlasThread.java:351) at mobac.program.AtlasThread.createAtlas(AtlasThread.java:206) at mobac.program.AtlasThread.run(AtlasThread.java:131)Caused by: 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) ... 3 more