[OSM-dev] Josm throwing exceptions when predicting values

John McKerrell john at mckerrell.net
Mon May 28 12:05:21 BST 2007


On 28 May 2007, at 11:49, Martijn van Oosterhout wrote:

> On 5/28/07, John McKerrell <john at mckerrell.net> wrote:
>
> Hmm, when you get an exception usually it dumps a traceback (though
> that may only be on unix based systems when you start it on the
> command line). If you can get a traceback that will identify the line
> causing the problem...

That would be the traceback that shows up when you click the big  
obvious "Report Bug" button. I'm not sure this is the exact one I was  
seeing as it occurred a little early in the process (I created a  
fresh way on a blank map and tried to add a tag, it threw this  
straight away), but here you go:


Path: josm
URL: http://www.eigenheimstrasse.de/svn/josm
Repository Root: http://www.eigenheimstrasse.de/svn/josm
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 247
Node Kind: directory
Last Changed Author: framm
Last Changed Rev: 247
Last Changed Date: 2007-05-24 22:55:15 +0200 (Thu, 24 May 2007)


java.lang.NullPointerException
	at java.util.Vector.<init>(Vector.java:149)
	at org.openstreetmap.josm.gui.dialogs.PropertiesDialog 
$3.actionPerformed(PropertiesDialog.java:210)
	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
	at javax.swing.JComboBox.contentsChanged(JComboBox.java:1268)
	at javax.swing.AbstractListModel.fireContentsChanged 
(AbstractListModel.java:100)
	at javax.swing.DefaultComboBoxModel.setSelectedItem 
(DefaultComboBoxModel.java:88)
	at javax.swing.JComboBox.actionPerformed(JComboBox.java:1251)
	at javax.swing.plaf.basic.BasicComboBoxUI$Handler.focusLost 
(BasicComboBoxUI.java:1586)
	at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:172)
	at java.awt.Component.processFocusEvent(Component.java:5446)
	at java.awt.Component.processEvent(Component.java:5310)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.KeyboardFocusManager.redispatchEvent 
(KeyboardFocusManager.java:1810)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions 
(DefaultKeyboardFocusManager.java:840)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent 
(DefaultKeyboardFocusManager.java:530)
	at java.awt.Component.dispatchEventImpl(Component.java:3907)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.KeyboardFocusManager.processCurrentLightweightRequests 
(KeyboardFocusManager.java:2504)
	at java.awt.KeyboardFocusManager$1.run(KeyboardFocusManager.java:2605)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy 
(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy 
(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy 
(EventDispatchThread.java:180)
	at java.awt.Dialog$1.run(Dialog.java:517)
	at java.awt.Dialog$2.run(Dialog.java:545)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:543)
	at java.awt.Component.show(Component.java:1300)
	at java.awt.Component.setVisible(Component.java:1253)
	at org.openstreetmap.josm.gui.dialogs.PropertiesDialog.add 
(PropertiesDialog.java:224)
	at org.openstreetmap.josm.gui.dialogs.PropertiesDialog 
$9.actionPerformed(PropertiesDialog.java:322)
	at javax.swing.AbstractButton.fireActionPerformed 
(AbstractButton.java:1882)
	at javax.swing.AbstractButton$Handler.actionPerformed 
(AbstractButton.java:2202)
	at javax.swing.DefaultButtonModel.fireActionPerformed 
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java: 
258)
	at javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed 
(BasicButtonListener.java:285)
	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1576)
	at javax.swing.JComponent.processKeyBinding(JComponent.java:2763)
	at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
	at javax.swing.KeyboardManager.fireKeyboardAction 
(KeyboardManager.java:204)
	at javax.swing.JComponent.processKeyBindingsForAllComponents 
(JComponent.java:2840)
	at javax.swing.JComponent.processKeyBindings(JComponent.java:2832)
	at javax.swing.JComponent.processKeyEvent(JComponent.java:2726)
	at java.awt.Component.processEvent(Component.java:5331)
	at java.awt.Container.processEvent(Container.java:2010)
	at java.awt.Component.dispatchEventImpl(Component.java:4021)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.KeyboardFocusManager.redispatchEvent 
(KeyboardFocusManager.java:1810)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent 
(DefaultKeyboardFocusManager.java:672)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent 
(DefaultKeyboardFocusManager.java:920)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions 
(DefaultKeyboardFocusManager.java:798)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent 
(DefaultKeyboardFocusManager.java:636)
	at java.awt.Component.dispatchEventImpl(Component.java:3907)
	at java.awt.Container.dispatchEventImpl(Container.java:2068)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3869)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy 
(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy 
(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
184)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java: 
176)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)






More information about the dev mailing list