#13419 closed defect (fixed)
ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString
Reported by: | anonymous | Owned by: | Nipel-Crumple |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Plugin rasterfilters | Version: | |
Keywords: | template_report json | Cc: | stoecker |
Description (last modified by )
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-08-11 21:54:24 +0200 (Thu, 11 Aug 2016) Build-Date:2016-08-11 22:36:05 Revision:10786 Relative:URL: ^/trunk Identification: JOSM/1.5 (10786 en) Windows 10 64-Bit Memory Usage: 174 MB / 989 MB (62 MB allocated, but free) Java version: 1.8.0_101-b13, Oracle Corporation, Java HotSpot(TM) Client VM Plugins: + DirectDownload (32699) + DirectUpload (32699) + FastDraw (32773) + OpeningHoursEditor (32699) + apache-commons (32699) + buildings_tools (32796) + download_along (32730) + editgpx (32699) + ejml (32680) + geotools (32813) + imagery_offset_db (32796) + jts (32699) + measurement (32732) + opendata (32811) + photo_geotagging (32699) + rasterfilters (32851) + tagging-preset-tester (32699) + todo (29154) + turnrestrictions (32796) + utilsplugin2 (32815) + waydownloader (32699) + wikipedia (32829) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Camp_site_extends&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Leaftype&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Mountains&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/caravan_site&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&zip=1 + %UserProfile%\Dropbox\GPS Files\Ponds.xml + %UserProfile%\Dropbox\GPS Files\Reservoir.xml + %UserProfile%\Dropbox\GPS Files\ResHwy.xml + %UserProfile%\Dropbox\GPS Files\Stream.xml + %UserProfile%\Dropbox\GPS Files\UnclassHwy.xml + %UserProfile%\Dropbox\GPS Files\Service.xml + %UserProfile%\Dropbox\GPS Files\ResArea.xml + %UserProfile%\Dropbox\GPS Files\BorC.xml + %UserProfile%\Dropbox\GPS Files\Bridge.xml + %UserProfile%\Dropbox\GPS Files\CoinOp_Fuel.xml + %UserProfile%\Dropbox\GPS Files\US_Fuel.xml + %UserProfile%\Dropbox\GPS Files\Hamlet.xml + %UserProfile%\Dropbox\GPS Files\Milemarker.xml + %UserProfile%\Dropbox\GPS Files\NWR.xml + %UserProfile%\Dropbox\GPS Files\Wat.xml + %UserProfile%\Dropbox\GPS Files\wlan.xml + %UserProfile%\Dropbox\GPS Files\tennis.xml + %UserProfile%\Dropbox\GPS Files\Land-Natural.xml + %UserProfile%\Dropbox\GPS Files\Waters.xml + %UserProfile%\Dropbox\GPS Files\Daves-Misc.xml + %UserProfile%\Dropbox\GPS Files\Ways.xml Last errors/warnings: - E: Failed to locate image 'presets/water.png' - W: Ponds: Could not get presets icon presets/water.png - E: Failed to locate image 'presets/water.png' - W: Riverbank: Could not get presets icon presets/water.png - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$SelectAction@1c42a27 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$AddAction@42fbf0 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$PassAction@2069d3 - W: Old style SideButton usage for action org.openstreetmap.josm.plugins.todo.TodoDialog$MarkAction@8e1aaa - E: java.lang.reflect.InvocationTargetException. Cause: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString. Cause: java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString - E: java.lang.reflect.InvocationTargetException. Cause: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString. Cause: java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString === REPORTED CRASH DATA === BugReportExceptionHandler$BugReporterThread#askForBugReport: No data collected. === STACK TRACE === Thread: AWT-EventQueue-0 (16) of main java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(Unknown Source) at java.awt.EventQueue.invokeAndWait(Unknown Source) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:98) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:141) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: CrashReportedException [on thread Thread[AWT-EventQueue-0,6,main]] at org.openstreetmap.josm.tools.bugreport.BugReport.intercept(BugReport.java:169) at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:381) at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:191) at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:267) at org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:180) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:138) at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:180) at org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask$DownloadTask.addOrMergeLayer(DownloadGpsTask.java:144) at org.openstreetmap.josm.actions.downloadtasks.DownloadGpsTask$DownloadTask.finish(DownloadGpsTask.java:135) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler$BugReporterThread.askForBugReport(BugReportExceptionHandler.java:67) at org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler$BugReporterThread$BugReporterWorker.run(BugReportExceptionHandler.java:40) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.lambda$doBeginTask$2(PleaseWaitProgressMonitor.java:186) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString at org.glassfish.json.JsonObjectBuilderImpl$JsonObjectImpl.getJsonString(JsonObjectBuilderImpl.java:194) at org.glassfish.json.JsonObjectBuilderImpl$JsonObjectImpl.getString(JsonObjectBuilderImpl.java:199) at org.openstreetmap.josm.plugins.rasterfilters.preferences.FiltersDownloader.downloadFiltersInfoList(FiltersDownloader.java:83) at org.openstreetmap.josm.plugins.rasterfilters.RasterFiltersPlugin.layerAdded(RasterFiltersPlugin.java:84) at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:379) ... 66 more === RUNNING THREADS === Thread: TMS-downloader-16 (68) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-8 (60) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: File Watcher (9) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) java.util.concurrent.LinkedBlockingDeque.take(Unknown Source) sun.nio.fs.AbstractWatchService.take(Unknown Source) org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:114) org.openstreetmap.josm.io.FileWatcher$$Lambda$1/20132171.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-19 (71) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: AWT-Shutdown (11) of system java.lang.Object.wait(Native Method) java.lang.Object.wait(Unknown Source) sun.awt.AWTAutoShutdown.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Attach Listener (5) of system Thread: Java2D Disposer (10) of system java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(Unknown Source) java.lang.ref.ReferenceQueue.remove(Unknown Source) sun.java2d.Disposer.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: AWT-Windows (12) of system sun.awt.windows.WToolkit.eventLoop(Native Method) sun.awt.windows.WToolkit.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-12 (64) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Keep-Alive-Timer (83) of system java.lang.Thread.sleep(Native Method) sun.net.www.http.KeepAliveCache.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-7 (59) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-6 (58) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Reference Handler (2) of system java.lang.Object.wait(Native Method) java.lang.Object.wait(Unknown Source) java.lang.ref.Reference.tryHandlePending(Unknown Source) java.lang.ref.Reference$ReferenceHandler.run(Unknown Source) Thread: TMS-downloader-4 (56) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Timer-0 (40) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Unknown Source) java.util.TimerThread.run(Unknown Source) Thread: Finalizer (3) of system java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(Unknown Source) java.lang.ref.ReferenceQueue.remove(Unknown Source) java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) Thread: TMS-downloader-2 (54) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: DestroyJavaVM (78) of main Thread: TMS-downloader-20 (72) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Image Fetcher 0 (43) of main java.lang.Object.wait(Native Method) sun.awt.image.ImageFetcher.nextImage(Unknown Source) sun.awt.image.ImageFetcher.fetchloop(Unknown Source) sun.awt.image.ImageFetcher.run(Unknown Source) Thread: Timer-3 (80) of main java.lang.Object.wait(Native Method) java.lang.Object.wait(Unknown Source) java.util.TimerThread.mainLoop(Unknown Source) java.util.TimerThread.run(Unknown Source) Thread: TMS-downloader-11 (63) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-13 (65) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-18 (70) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Timer-1 (46) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Unknown Source) java.util.TimerThread.run(Unknown Source) Thread: GT authority factory disposer (38) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Unknown Source) java.util.TimerThread.run(Unknown Source) Thread: TMS-downloader-17 (69) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-24 (76) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-3 (55) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-15 (67) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Thread-0 (8) of main sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus0(Native Method) sun.nio.fs.WindowsNativeDispatcher.GetQueuedCompletionStatus(Unknown Source) sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Timer-2 (50) of main java.lang.Object.wait(Native Method) java.lang.Object.wait(Unknown Source) java.util.TimerThread.mainLoop(Unknown Source) java.util.TimerThread.run(Unknown Source) Thread: TMS-downloader-5 (57) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: RemoteControl HTTP Server (44) of main java.net.DualStackPlainSocketImpl.accept0(Native Method) java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source) java.net.AbstractPlainSocketImpl.accept(Unknown Source) java.net.PlainSocketImpl.accept(Unknown Source) java.net.ServerSocket.implAccept(Unknown Source) java.net.ServerSocket.accept(Unknown Source) org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:103) Thread: TMS-downloader-1 (53) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-10 (62) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: message-notifier-0 (77) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source) java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source) java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: WeakCollectionCleaner (39) of main java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(Unknown Source) java.lang.ref.ReferenceQueue.remove(Unknown Source) org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:77) Thread: main-worker-0 (79) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingQueue.take(Unknown Source) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: Signal Dispatcher (4) of system Thread: styled-map-renderer-0 (84) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source) java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) Thread: Map Status Collector (82) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingQueue.take(Unknown Source) org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:375) java.lang.Thread.run(Unknown Source) Thread: TimerQueue (18) of system sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source) java.util.concurrent.DelayQueue.take(Unknown Source) javax.swing.TimerQueue.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-9 (61) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-23 (75) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-22 (74) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: RemoteControl HTTP Server (45) of main java.net.DualStackPlainSocketImpl.accept0(Native Method) java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source) java.net.AbstractPlainSocketImpl.accept(Unknown Source) java.net.PlainSocketImpl.accept(Unknown Source) java.net.ServerSocket.implAccept(Unknown Source) java.net.ServerSocket.accept(Unknown Source) org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:103) Thread: AWT-EventQueue-0 (16) of main Stacktrace see above. Thread: TMS-downloader-0 (52) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-21 (73) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) Thread: TMS-downloader-14 (66) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(Unknown Source) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:90) org.openstreetmap.josm.data.cache.HostLimitQueue.take(HostLimitQueue.java:29) java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source)
Attachments (0)
Change History (30)
comment:1 by , 8 years ago
Component: | Core → Plugin rasterfilters |
---|---|
Keywords: | json added |
Owner: | changed from | to
Summary: | JOSM produced an exception of some sort and offered to file this bug report. → ClassCastException: javax.json.JsonValue$1 cannot be cast to javax.json.JsonString |
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
comment:5 by , 8 years ago
Priority: | normal → major |
---|
comment:7 by , 8 years ago
Priority: | major → blocker |
---|
follow-up: 10 comment:8 by , 8 years ago
Ticket #13425 has been marked as a duplicate of this ticket.
comment:10 by , 8 years ago
Replying to Don-vip:
It seems to be that api request doesn't work. Could you help me find the reason why? The fact is that request to ImageFilters returns next response:
{ "error": { "message": "XML_RPC privileges are required to perform this operation. You don't have the required permissions.", "code": 403, "name": "JSONRPCError" }, "result": null, "id": 123 }
Here you can see the request (headers are set to "Content-Type":"application/json", method=POST, url=https://josm.openstreetmap.de/jsonrpc):
{ "params": ["ImageFilters"], "method": "wiki.getPage", "id": 123 }
follow-up: 12 comment:11 by , 8 years ago
Cc: | added |
---|
The website was (is still?) spammed yesterday by a tremendous amount of requests and it basically killed our server. To restore service I revoked some permissions for anonymous users, XML_RPC being one of them. I believe Dirk has now restored the original permissions as it was not the best way to handle the situation.
Can you please add robustness and a unit test in case RPC returns the above error again?
comment:12 by , 8 years ago
Replying to Don-vip:
Can you please add robustness and a unit test in case RPC returns the above error again?
Thanks a lot, yes, I will but it may be later this week.
comment:14 by , 8 years ago
Priority: | blocker → major |
---|
follow-up: 16 comment:15 by , 8 years ago
RPC is still not possible for anonymous. Only LOG_VIEW.
Should RPC also be non-anonymous again or can this be solved by passing username+password?
The ImageFilters webpage can also simply be accessed by the plain text link instead of using RPC.
LOG_VIEW is relevant for search engine coverage, XML_RPC not.
comment:16 by , 8 years ago
Replying to stoecker:
RPC is still not possible for anonymous. Only LOG_VIEW.
What do you mean?
Should RPC also be non-anonymous again or can this be solved by passing username+password?
Can I get username+password from josm api?
follow-ups: 21 22 comment:20 by , 8 years ago
Priority: | major → blocker |
---|
comment:21 by , 8 years ago
Replying to Don-vip:
Hotfix was commited and should be available with the next version of plugin. Feel free to test it.
Later code will be refactored and unit tests will be created.
follow-up: 24 comment:22 by , 8 years ago
Replying to Don-vip:
Cannot understand why the plugin version hasn't updated yet. I committed changes about eight hours ago. Also I committed jar file in diet repo.
follow-ups: 25 26 comment:24 by , 8 years ago
Replying to Nipel-Crumple:
Cannot understand why the plugin version hasn't updated yet. I committed changes about eight hours ago. Also I committed jar file in diet repo.
The hotfix you did checkin has the same version as before. I assume you forgot one essential step:
- checkin new code
- call "svn up"
- build
- checkin jar
comment:25 by , 8 years ago
Replying to stoecker:
Replying to Nipel-Crumple:
Cannot understand why the plugin version hasn't updated yet. I committed changes about eight hours ago. Also I committed jar file in diet repo.
The hotfix you did checkin has the same version as before. I assume you forgot one essential step:
- checkin new code
- call "svn up"
- build
- checkin jar
I am sure I did all these steps and SVN TOrtoise showed me that jar was no the same as the previous one.
comment:26 by , 8 years ago
Replying to stoecker:
Replying to Nipel-Crumple:
Cannot understand why the plugin version hasn't updated yet. I committed changes about eight hours ago. Also I committed jar file in diet repo.
The hotfix you did checkin has the same version as before. I assume you forgot one essential step:
- checkin new code
- call "svn up"
- build
- checkin jar
Found a mistake, I'm sorry for delay in fix delivering.
comment:28 by , 8 years ago
Replying to Nipel-Crumple:
Fixed with version №32877
A short note for the future: In JOSM wiki you reference OSM-SVN checkins with o: [o32877], [o32878]. In SVN-SVN you reference josm tickets with #josm13419
.
comment:29 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ticket #13420 has been marked as a duplicate of this ticket.