#3171 closed defect (fixed)
RuntimeException: java.lang.reflect.InvocationTargetException during map-data download
Reported by: | phobie | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | RuntimeException InvocationTargetException download get bbox | Cc: |
Description
After downloading rev 1892 I tried to download some map-data, this always fails with the attached exception.
This also happens with a clean profile...
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)
dpkg search result on my Debian/sid:
ii sun-java6-bin 6-14-1
ii sun-java6-jdk 6-14-1
ii sun-java6-jre 6-14-1
ii sun-java6-plugin 6-14-1
Console output:
$ LANG=C josm-latest.sh Could not enable OpenGL pipeline for default config on screen 0 GET http://api.openstreetmap.org/api/capabilities... OK Communications with http://api.openstreetmap.org/api established using protocol version 0.6 GET http://api.openstreetmap.org/api/0.6/map?bbox=10.165143013000488,54.317975118228944,10.166945457458494,54.31937688282973 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.openstreetmap.josm.gui.PleaseWaitRunnable$2.run(PleaseWaitRunnable.java:98) ...
Text from the exception window:
Path: trunk URL: http://josm.openstreetmap.de/svn/trunk Repository Root: http://josm.openstreetmap.de/svn Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Revision: 1892 Node Kind: directory Last Changed Author: Gubaer Last Changed Rev: 1892 Last Changed Date: 2009-08-03 00:17:45 +0200 (Mon, 03 Aug 2009) Memory Usage: 69 MB / 986 MB (30 MB allocated, but free) Java version: 1.6.0_14 Plugins: Create_grid_of_waysDirectUploadImageWayPointIntersect_wayPicLayerbuildings_toolscolorschemedataimporteditgpxgraphviewlakewalkerlivegpsmeasurementmultipolynearclickopenstreetbugsopenvisibleosmarenderplastic_lafremotecontrolroutingslippymapsurveyortageditortagging-preset-testerterracerusertoolsutilspluginvalidatorwalkingpaperswaydownloaderwmsplugin Plugin plastic_laf Version: 14016 Plugin Create_grid_of_ways Version: 16620 Plugin DirectUpload Version: 16583 Plugin ImageWayPoint Version: 16294 Plugin Intersect_way Version: 12781 Plugin PicLayer Version: 16302 Plugin buildings_tools Version: 19 Plugin colorscheme Version: 16383 Plugin dataimport Version: 16382 Plugin editgpx Version: 16294 Plugin graphview Version: 16605 Plugin lakewalker Version: 16621 Plugin livegps Version: 16294 Plugin measurement Version: 16317 Plugin multipoly Version: 16609 Plugin nearclick Version: 14015 Plugin openstreetbugs Version: 16622 Plugin openvisible Version: 15707 Plugin osmarender Version: 16623 Plugin remotecontrol Version: 16624 Plugin routing Version: 16409 Plugin slippymap Version: 16294 Plugin tageditor Version: 16605 Plugin tagging-preset-tester Version: 14015 Plugin terracer Version: 16162 Plugin usertools Version: 14125 Plugin utilsplugin Version: 16628 Plugin validator Version: 16629 Plugin walkingpapers Version: 16571 Plugin waydownloader Version: 16590 Plugin wmsplugin Version: 16599 Plugin surveyor Version: 16625 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.openstreetmap.josm.gui.PleaseWaitRunnable$2.run(PleaseWaitRunnable.java:98) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:997) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:67) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:116) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at org.openstreetmap.josm.gui.layer.Layer.setName(Layer.java:172) at org.openstreetmap.josm.gui.layer.Layer.<init>(Layer.java:97) at org.openstreetmap.josm.gui.layer.OsmDataLayer.<init>(OsmDataLayer.java:174) at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$Task.finish(DownloadOsmTask.java:127) at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:69) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at java.awt.Component.show(Component.java:1563) at java.awt.Component.setVisible(Component.java:1515) at java.awt.Window.setVisible(Window.java:841) at java.awt.Dialog.setVisible(Dialog.java:985) at org.openstreetmap.josm.gui.PleaseWaitDialog.setVisible(PleaseWaitDialog.java:100) at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$4.run(PleaseWaitProgressMonitor.java:93) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
There's an annoying bug in r1892 (~ todays latest). Please upgrade to r1893.