Modify

Opened 15 years ago

Closed 15 years ago

#4466 closed defect (worksforme)

ArrayIndexOutOfBounds Exception in Relation dialogue

Reported by: holbi@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Again a java.lang.ArrayIndexOutOfBoundsException, this time in the relation editor.
I've been editing TMC attributes, the error happened while changing a key by highlighting a part in the middle of the key and starting to overwrite the old text.

I was able to upload the data, even continuing the work seems to be possible. I have entered the same data again without problems, but I've decided to quit JOSM.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-02-01 02:31:31
Last Changed Author: stoecker
Revision: 2916
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-01-31 21:44:28 +0100 (Sun, 31 Jan 2010)
Last Changed Rev: 2916

Memory Usage: 69 MB / 1016 MB (5 MB allocated, but free)
Java version: 1.6.0_17

Dataset consistency test:
No problems found

Plugins: buildings_tools,editgpx,measurement,remotecontrol,wmsplugin
Plugin wmsplugin Version: 19507
Plugin editgpx Version: 19434
Plugin remotecontrol Version: 19471
Plugin buildings_tools Version: 28
Plugin measurement Version: 19450

java.lang.ArrayIndexOutOfBoundsException: 32

at sun.font.FontDesignMetrics.charsWidth(Unknown Source)
at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
at javax.swing.text.PlainView.viewToModel(Unknown Source)
at javax.swing.text.FieldView.viewToModel(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(Unknown Source)
at javax.swing.plaf.basic.BasicTextUI.viewToModel(Unknown Source)
at javax.swing.text.DefaultCaret.moveCaret(Unknown Source)
at javax.swing.text.DefaultCaret.mouseDragged(Unknown Source)
at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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 (3)

comment:1 by mjulius, 15 years ago

Can you reproduce this? It seems to work for me.

comment:2 by hwb <holbi@…>, 15 years ago

I've deleted all unnecessary plugins today leaving only remoteplugin and had no problems within a 1h session where I've made basically the same kind of edits as yesterday. I'll keep an eye on that.

comment:3 by mjulius, 15 years ago

Resolution: worksforme
Status: newclosed

Closing this for now.

Please reopen if you come across this again.

Modify Ticket

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