Opened 7 years ago

Closed 7 years ago

#8852 closed defect (fixed)

IAE after SAXParseException

Reported by: skyper Owned by: team
Priority: minor Milestone:
Component: Plugin tagging-preset-tester Version:
Keywords: Cc:


I did reload a file with broken syntax and after the warning message I got an IAE

  1. open tagging-preset-tester
  2. edit the preset file
  3. reload preset
  4. get error warning about broken syntax

After clicking OK I got the IAE but I would expect the plugin to stay calm and wait for another reload.

I need to close the plugin window and reopen it to use it again.

[Fatal Error] :4867:69: Attribute name "values" associated with an element type "combo" must be followed by the ' = ' character.
org.xml.sax.SAXParseException: Attribute name "values" associated with an element type "combo" must be followed by the ' = ' character.

Exactly, the error. I forgot a = after values

Repository Root:
Build-Date: 2013-07-05 01:34:27
Last Changed Author: Don-vip
Revision: 6048
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2013-07-03 20:38:17 +0200 (Wed, 03 Jul 2013)
Last Changed Rev: 6048

Identification: JOSM/1.5 (6048 en) Linux Debian GNU/Linux 7.1 (wheezy)
Memory Usage: 160 MB / 592 MB (22 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.home=$HOME/.josm-test]
Program arguments: [--language=en]

Plugin: tagging-preset-tester (29725)

java.lang.IllegalArgumentException: setSelectedIndex: 417 out of bounds
	at javax.swing.JComboBox.setSelectedIndex(
	at org.openstreetmap.josm.plugins.taggingpresettester.TaggingPresetTester$2.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$300(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o29748].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
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.