{"action":"created","issue":{"url":"https://api.github.com/repos/cgeo/cgeo/issues/4634","labels_url":"https://api.github.com/repos/cgeo/cgeo/issues/4634/labels{/name}","comments_url":"https://api.github.com/repos/cgeo/cgeo/issues/4634/comments","events_url":"https://api.github.com/repos/cgeo/cgeo/issues/4634/events","html_url":"https://github.com/cgeo/cgeo/issues/4634","id":55434321,"number":4634,"title":"Crash on GPX export","user":{"login":"Lineflyer","id":949669,"avatar_url":"https://avatars.githubusercontent.com/u/949669?v=3","gravatar_id":"","url":"https://api.github.com/users/Lineflyer","html_url":"https://github.com/Lineflyer","followers_url":"https://api.github.com/users/Lineflyer/followers","following_url":"https://api.github.com/users/Lineflyer/following{/other_user}","gists_url":"https://api.github.com/users/Lineflyer/gists{/gist_id}","starred_url":"https://api.github.com/users/Lineflyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lineflyer/subscriptions","organizations_url":"https://api.github.com/users/Lineflyer/orgs","repos_url":"https://api.github.com/users/Lineflyer/repos","events_url":"https://api.github.com/users/Lineflyer/events{/privacy}","received_events_url":"https://api.github.com/users/Lineflyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cgeo/cgeo/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/cgeo/cgeo/labels/medium","name":"medium","color":"808080"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-25T23:05:23Z","updated_at":"2015-01-26T18:38:05Z","closed_at":null,"body":"A user on support mail reported that c:geo crashed when exporting his stored caches.\r\nI recevied the DB-backup and can reproduce the issue with 2015.01.25-NB.\r\n\r\nIt crashes after approx. 250 caches and shows this log:\r\n```\r\n00:03:12.018 Error cgeo 25109  [AsyncTask #3] UncaughtException\r\n00:03:12.018 Error cgeo 25109  java.lang.RuntimeException: An error occured while executing doInBackground()\r\n00:03:12.018 Error cgeo 25109  \tat android.os.AsyncTask$3.done(AsyncTask.java:300)\r\n00:03:12.018 Error cgeo 25109  \tat java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)\r\n00:03:12.018 Error cgeo 25109  \tat java.util.concurrent.FutureTask.setException(FutureTask.java:222)\r\n00:03:12.018 Error cgeo 25109  \tat java.util.concurrent.FutureTask.run(FutureTask.java:242)\r\n00:03:12.018 Error cgeo 25109  \tat android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)\r\n00:03:12.018 Error cgeo 25109  \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n00:03:12.018 Error cgeo 25109  \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n00:03:12.018 Error cgeo 25109  \tat java.lang.Thread.run(Thread.java:841)\r\n00:03:12.018 Error cgeo 25109  Caused by: java.lang.IllegalStateException: getCacheUrl cannot be called on unknown caches\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.connector.UnknownConnector.getCacheUrl(UnknownConnector.java:19)\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.Geocache.getUrl(Geocache.java:727)\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.export.GpxSerializer.exportBatch(GpxSerializer.java:111)\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.export.GpxSerializer.writeGPX(GpxSerializer.java:83)\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.export.GpxExport$ExportTask.doInBackgroundInternal(GpxExport.java:142)\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.export.GpxExport$ExportTask.doInBackgroundInternal(GpxExport.java:104)\r\n00:03:12.018 Error cgeo 25109  \tat cgeo.geocaching.utils.AsyncTaskWithProgress.doInBackground(AsyncTaskWithProgress.java:136)\r\n00:03:12.018 Error cgeo 25109  \tat android.os.AsyncTask$2.call(AsyncTask.java:288)\r\n00:03:12.018 Error cgeo 25109  \tat java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n00:03:12.018 Error cgeo 25109  \t... 4 more\r\n```\r\n\r\nDB backup available on request"},"comment":{"url":"https://api.github.com/repos/cgeo/cgeo/issues/comments/71512578","html_url":"https://github.com/cgeo/cgeo/issues/4634#issuecomment-71512578","issue_url":"https://api.github.com/repos/cgeo/cgeo/issues/4634","id":71512578,"user":{"login":"Bananeweizen","id":406876,"avatar_url":"https://avatars.githubusercontent.com/u/406876?v=3","gravatar_id":"","url":"https://api.github.com/users/Bananeweizen","html_url":"https://github.com/Bananeweizen","followers_url":"https://api.github.com/users/Bananeweizen/followers","following_url":"https://api.github.com/users/Bananeweizen/following{/other_user}","gists_url":"https://api.github.com/users/Bananeweizen/gists{/gist_id}","starred_url":"https://api.github.com/users/Bananeweizen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bananeweizen/subscriptions","organizations_url":"https://api.github.com/users/Bananeweizen/orgs","repos_url":"https://api.github.com/users/Bananeweizen/repos","events_url":"https://api.github.com/users/Bananeweizen/events{/privacy}","received_events_url":"https://api.github.com/users/Bananeweizen/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T18:38:05Z","updated_at":"2015-01-26T18:38:05Z","body":"Actually, one can easily reproduce this. Import the \"giga_lab_caches.gpx\" and export them again. Boom. :)"}}