Modify

Opened 10 years ago

Closed 10 years ago

#2800 closed defect (worksforme)

Error message on Undo

Reported by: michael.schreiber01@… Owned by: michael.schreiber01@…
Priority: major Milestone:
Component: unspecified Version:
Keywords: Undo Cc:

Description

When pressing Apple-Z (undo), an error message appears. This happens every time I try it, restarting does not help either.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1669
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1669
Last Changed Date: 2009-06-14 17:34:52 +0200 (Sun, 14 Jun 2009)

Java version: 1.6.0_13
Plugins: wmsplugin
Plugin wmsplugin Version: 15961

java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: * -[NSCFString characterAtIndex:]: Range or index out of bounds)

at apple.awt.ComponentModel._handleEvent(Native Method)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273)
at apple.awt.CWindow.handleEvent(CWindow.java:319)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:735)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969)
at java.awt.DefaultKeyboardFocusManager.pumpApprovedKeyEvents(DefaultKeyboardFocusManager.java:789)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:817)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:562)
at java.awt.Component.dispatchEventImpl(Component.java:4539)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.SentEvent.dispatch(SentEvent.java:55)
at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:183)
at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:210)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:627)
at java.awt.Component.dispatchEventImpl(Component.java:4539)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.SequencedEvent.dispatch(SequencedEvent.java:101)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:853)
at org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:51)
at org.openstreetmap.josm.tools.BugReportExceptionHandler.uncaughtException(BugReportExceptionHandler.java:33)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:970)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:965)
at apple.awt.CToolkit$EventQueueExceptionHandler.handle(CToolkit.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:415)
at java.awt.EventDispatchThread.processException(EventDispatchThread.java:321)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:313)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:853)
at org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:51)
at org.openstreetmap.josm.tools.BugReportExceptionHandler.uncaughtException(BugReportExceptionHandler.java:33)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:970)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:965)
at apple.awt.CToolkit$EventQueueExceptionHandler.handle(CToolkit.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:415)
at java.awt.EventDispatchThread.processException(EventDispatchThread.java:321)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:313)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
at java.awt.Dialog$1.run(Dialog.java:1051)
at java.awt.Dialog$3.run(Dialog.java:1103)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1101)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:853)
at org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:51)
at org.openstreetmap.josm.tools.BugReportExceptionHandler.uncaughtException(BugReportExceptionHandler.java:33)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:970)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:965)
at apple.awt.CToolkit$EventQueueExceptionHandler.handle(CToolkit.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:415)
at java.awt.EventDispatchThread.processException(EventDispatchThread.java:321)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:313)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by xeen

Owner: changed from team to michael.schreiber01@…
Status: newneedinfo

Looking at the stack trace it seems that the actual error happens somewhere in the java or apple libraries. The only JOSM code involved is the one handling exceptions but for some reason if fails itself.

have you tried updating your system, java version? Does this problem still occur today? Do other java applications have the same problem?

comment:2 Changed 10 years ago by stoecker

Resolution: worksforme
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain michael.schreiber01@….
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.