Modify

Opened 17 years ago

Closed 17 years ago

#1392 closed defect (fixed)

AutoScaleAction exception

Reported by: schusch Owned by: framm
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

hi to all - josm (newest version, 746) asked me to post this error - i was searching, as far as I remeber; here it is:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 746
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 746
Last Changed Date: 2008-08-05 02:14:58 +0200 (Tue, 05 Aug 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.actions.AutoScaleAction.getBoundingBox(AutoScaleAction.java:91)
at org.openstreetmap.josm.actions.AutoScaleAction.actionPerformed(AutoScaleAction.java:62)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)

Attachments (0)

Change History (4)

comment:1 by anonymous, 17 years ago

Summary: automatisch generierte Fehlermeldung josmAutoScaleAction exception

Please be more verbose about in which situation that happened.
Make it reproducable.

comment:2 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in r754.

in reply to:  1 comment:3 by anonymous, 17 years ago

Resolution: fixed
Status: closedreopened

Replying to anonymous:

Please be more verbose about in which situation that happened.
Make it reproducable.

ok, this time I think I know what happened - i modified my search to quickly reproduce the error:

  • area: 49.321821259846004, 10.131904167970964, 49.41669154890549, 10.227206996342273
  • search for something and the hit is a relation (in my case I can search for "network:BAB" and get relation #20.615 which is part of relation #20.614)
  • press key "3" to center the object gives the error

(i hope this is reproducable for you)

once again the error message:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 746
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 746
Last Changed Date: 2008-08-05 02:14:58 +0200 (Tue, 05 Aug 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.actions.AutoScaleAction.getBoundingBox(AutoScaleAction.java:91)
at org.openstreetmap.josm.actions.AutoScaleAction.actionPerformed(AutoScaleAction.java:62)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.KeyboardManager.fireBinding(Unknown Source)
at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)

Greetings, Schusch

comment:4 by anonymous, 17 years ago

Resolution: fixed
Status: reopenedclosed

Retest with r754 :-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.