{"action":"opened","issue":{"url":"https://api.github.com/repos/osmandapp/Osmand/issues/2323","repository_url":"https://api.github.com/repos/osmandapp/Osmand","labels_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2323/labels{/name}","comments_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2323/comments","events_url":"https://api.github.com/repos/osmandapp/Osmand/issues/2323/events","html_url":"https://github.com/osmandapp/Osmand/issues/2323","id":139872352,"number":2323,"title":"\"java.sql.SQLException: UNIQUE constraint failed\" with OsmAndMapCreator","user":{"login":"naoliv","id":982338,"avatar_url":"https://avatars.githubusercontent.com/u/982338?v=3","gravatar_id":"","url":"https://api.github.com/users/naoliv","html_url":"https://github.com/naoliv","followers_url":"https://api.github.com/users/naoliv/followers","following_url":"https://api.github.com/users/naoliv/following{/other_user}","gists_url":"https://api.github.com/users/naoliv/gists{/gist_id}","starred_url":"https://api.github.com/users/naoliv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoliv/subscriptions","organizations_url":"https://api.github.com/users/naoliv/orgs","repos_url":"https://api.github.com/users/naoliv/repos","events_url":"https://api.github.com/users/naoliv/events{/privacy}","received_events_url":"https://api.github.com/users/naoliv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-10T12:27:50Z","updated_at":"2016-03-10T12:27:50Z","closed_at":null,"body":"While generating some maps I am seeing:\r\n\r\n```\r\nmar 10, 2016 9:07:36 AM net.osmand.data.preparation.IndexCreator generateIndexes\r\nGRAVE: Log exception\r\njava.sql.SQLException: UNIQUE constraint failed: binary_map_objects.id\r\n\tat org.sqlite.core.DB.throwex(DB.java:859)\r\n\tat org.sqlite.core.DB.executeBatch(DB.java:760)\r\n\tat org.sqlite.core.CorePreparedStatement.executeBatch(CorePreparedStatement.java:77)\r\n\tat net.osmand.data.preparation.AbstractIndexPartCreator.addBatch(AbstractIndexPartCreator.java:75)\r\n\tat net.osmand.data.preparation.AbstractIndexPartCreator.addBatch(AbstractIndexPartCreator.java:69)\r\n\tat net.osmand.data.preparation.IndexVectorMapCreator.insertBinaryMapRenderObjectIndex(IndexVectorMapCreator.java:1039)\r\n\tat net.osmand.data.preparation.IndexVectorMapCreator.createMultipolygonObject(IndexVectorMapCreator.java:319)\r\n\tat net.osmand.data.preparation.IndexVectorMapCreator.indexMultiPolygon(IndexVectorMapCreator.java:281)\r\n\tat net.osmand.data.preparation.IndexVectorMapCreator.indexMapRelationsAndMultiPolygons(IndexVectorMapCreator.java:141)\r\n\tat net.osmand.data.preparation.IndexCreator$9.iterateEntity(IndexCreator.java:785)\r\n\tat net.osmand.data.preparation.OsmDbAccessor.iterateOverEntities(OsmDbAccessor.java:252)\r\n\tat net.osmand.data.preparation.OsmDbAccessor.iterateOverEntities(OsmDbAccessor.java:206)\r\n\tat net.osmand.data.preparation.IndexCreator.indexRelations(IndexCreator.java:777)\r\n\tat net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:596)\r\n\tat net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:519)\r\n\tat net.osmand.data.index.IndexBatchCreator.generateIndex(IndexBatchCreator.java:548)\r\n\tat net.osmand.data.index.IndexBatchCreator.generatedIndexes(IndexBatchCreator.java:460)\r\n\tat net.osmand.data.index.IndexBatchCreator.runBatch(IndexBatchCreator.java:306)\r\n\tat net.osmand.data.index.IndexBatchCreator.main(IndexBatchCreator.java:164)\r\n```\r\n\r\nI am using the latest OsmAndMapCreator and it seems that this problem is present since 3 or 4 days ago.\r\n\r\nOne example file which is having this problem: http://naoliv.iq.unesp.br/osm/Brasil-SP.osm.pbf"}}