java.lang.reflect.InvocationTargetException

GitHub | srividyacb | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JOSM crashes every time a layer is opened

    GitHub | 7 months ago | srividyacb
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      org.openstreetmap.josm.gui.layer.OsmDataLayer@3d58ab53 is not managed by us.

      at org.openstreetmap.josm.gui.layer.LayerManager.checkContainsLayer()
    2. org.openstreetmap.josm
      DownloadOsmTask$DownloadTask.finish
      1. org.openstreetmap.josm.gui.layer.LayerManager.checkContainsLayer(LayerManager.java:313)
      2. org.openstreetmap.josm.gui.layer.MainLayerManager.realSetActiveLayer(MainLayerManager.java:235)
      3. org.openstreetmap.josm.gui.layer.MainLayerManager.lambda$setActiveLayer$0(MainLayerManager.java:230)
      4. org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:138)
      5. org.openstreetmap.josm.gui.layer.MainLayerManager.setActiveLayer(MainLayerManager.java:230)
      6. org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:271)
      7. org.openstreetmap.josm.gui.layer.LayerManager.lambda$addLayer$0(LayerManager.java:180)
      8. org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:138)
      9. org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:180)
      10. org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$AbstractInternalTask.addNewLayerIfRequired(DownloadOsmTask.java:263)
      11. org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$AbstractInternalTask.loadData(DownloadOsmTask.java:270)
      12. org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.finish(DownloadOsmTask.java:352)
      12 frames
    3. Java RT
      Dialog.setVisible
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      11. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
      12. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
      13. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
      14. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
      15. java.security.AccessController.doPrivileged(Native Method)
      16. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
      17. java.awt.Dialog.show(Dialog.java:1084)
      18. java.awt.Component.show(Component.java:1671)
      19. java.awt.Component.setVisible(Component.java:1623)
      20. java.awt.Window.setVisible(Window.java:1014)
      21. java.awt.Dialog.setVisible(Dialog.java:1005)
      21 frames
    4. org.openstreetmap.josm
      PleaseWaitProgressMonitor.lambda$doBeginTask$2
      1. org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor.lambda$doBeginTask$2(PleaseWaitProgressMonitor.java:186)
      1 frame
    5. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      14 frames