Modify ↓
Opened 16 years ago
Closed 16 years ago
#4534 closed defect (fixed)
non-closable error message
| Reported by: | telegnom | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
If you start the JOSM with a .osm-file passed as parameter, and this .osm-file doesn't exist, it will show up an error, after JOSM was started.
It's not possible to close this error message by clicking on the OK button. The shown progress-dialog is also not closable by clicking on the "Close"-button.
You have to close the dialog by clicking on the little [x] in the upper (right) corner.
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Confirmed. I could experience the same behaviour most times I passed a nonexistent file as parameter. Sometimes the messages could be closed by clicking the OK button, most times this wasn't possible.
Here's the complete log, including a thread dump (I used kill -QUIT while the messages were blocked):
Build-Date: 2010-02-15 02:31:31 Last Changed Author: bastiK Revision: 2989 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-02-15 00:41:05 +0100 (Mon, 15 Feb 2010) Last Changed Rev: 2989 loading plugin 'openstreetbugs' Silent shortcut conflict: 'view:openstreetbugs' moved by 'system:download_primitive' to 'Strg+Alt+O'. loading plugin 'colorscheme' loading plugin 'wmsplugin' loading plugin 'openvisible' loading plugin 'PicLayer' loading plugin 'remotecontrol' RemoteControl::Accepting connections on port 8111 loading plugin 'validator' loading plugin 'measurement' Open file: /home/simon/nonexsistent.osm (0 bytes) java.io.FileNotFoundException: nonexsistent.osm (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:33) at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:57) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:238) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:217) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:128) 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) java.io.IOException: File 'nonexsistent.osm' does not exist. at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:37) at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:57) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:238) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:217) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:128) 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) 2010-02-15 18:29:17 Full thread dump Java HotSpot(TM) Client VM (14.3-b01 mixed mode, sharing): "pool-1-thread-1" prio=10 tid=0x086a4000 nid=0x1d3f in Object.wait() [0xb1ac2000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.awt.Dialog.show(Dialog.java:1108) - locked <0x6d06c0a8> (a java.awt.Component$AWTTreeLock) at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:853) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:650) at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:621) at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:60) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:238) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:217) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:128) 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) "DestroyJavaVM" prio=10 tid=0x08059c00 nid=0x1d1d waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "RemoteControl HTTP Server" daemon prio=10 tid=0x0856e400 nid=0x1d3e runnable [0xb1b78000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) - locked <0x6da6d348> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:453) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.openstreetmap.josm.plugins.remotecontrol.HttpServer.run(HttpServer.java:51) "TimerQueue" daemon prio=10 tid=0x08438400 nid=0x1d31 in Object.wait() [0xb1b13000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) at javax.swing.TimerQueue.run(TimerQueue.java:232) - locked <0x6d380a30> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:619) "AWT-EventQueue-0" prio=10 tid=0x0824d000 nid=0x1d2d in Object.wait() [0xb1d1c000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.awt.EventQueue.getNextEvent(EventQueue.java:479) - locked <0x6d0c56d0> (a java.awt.EventQueue) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:236) 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.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.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.progress.PleaseWaitProgressMonitor$3.run(PleaseWaitProgressMonitor.java:83) 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) "AWT-Shutdown" prio=10 tid=0x08258c00 nid=0x1d2c in Object.wait() [0xb1d6d000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0x6d06e460> (a java.lang.Object) at java.lang.Thread.run(Thread.java:619) "AWT-XAWT" daemon prio=10 tid=0x0822a800 nid=0x1d27 runnable [0xb1dbe000] java.lang.Thread.State: RUNNABLE at sun.awt.X11.XToolkit.waitForEvents(Native Method) at sun.awt.X11.XToolkit.run(XToolkit.java:548) at sun.awt.X11.XToolkit.run(XToolkit.java:523) at java.lang.Thread.run(Thread.java:619) "Java2D Queue Flusher" daemon prio=10 tid=0x08224000 nid=0x1d26 in Object.wait() [0xb1eaf000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:176) - locked <0x6d0ed810> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher) "Java2D Disposer" daemon prio=10 tid=0x08194800 nid=0x1d25 in Object.wait() [0xb1f19000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x6d069560> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at sun.java2d.Disposer.run(Disposer.java:125) at java.lang.Thread.run(Thread.java:619) "Low Memory Detector" daemon prio=10 tid=0x080ca400 nid=0x1d23 runnable [0x00000000] java.lang.Thread.State: RUNNABLE "CompilerThread0" daemon prio=10 tid=0x080c7000 nid=0x1d22 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" daemon prio=10 tid=0x080c5800 nid=0x1d21 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "Finalizer" daemon prio=10 tid=0x08081400 nid=0x1d20 in Object.wait() [0xb4f9a000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118) - locked <0x6ce06948> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x0807fc00 nid=0x1d1f in Object.wait() [0xb4feb000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0x6ce069d0> (a java.lang.ref.Reference$Lock) "VM Thread" prio=10 tid=0x0807e000 nid=0x1d1e runnable "VM Periodic Task Thread" prio=10 tid=0x080de000 nid=0x1d24 waiting on condition JNI global references: 4084 Heap def new generation total 1152K, used 354K [0x69f60000, 0x6a0a0000, 0x6cd80000) eden space 1024K, 34% used [0x69f60000, 0x69fb8348, 0x6a060000) from space 128K, 1% used [0x6a060000, 0x6a0607d0, 0x6a080000) to space 128K, 0% used [0x6a080000, 0x6a080000, 0x6a0a0000) tenured generation total 14572K, used 13979K [0x6cd80000, 0x6dbbb000, 0x8f760000) the space 14572K, 95% used [0x6cd80000, 0x6db26ee0, 0x6db27000, 0x6dbbb000) compacting perm gen total 12288K, used 4586K [0x8f760000, 0x90360000, 0x93760000) the space 12288K, 37% used [0x8f760000, 0x8fbdabb8, 0x8fbdac00, 0x90360000) ro space 8192K, 74% used [0x93760000, 0x93d593f0, 0x93d59400, 0x93f60000) rw space 12288K, 59% used [0x93f60000, 0x946776e0, 0x94677800, 0x94b60000)