Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8083 closed defect (fixed)

JOSM_Zone erreur sometimes

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

Description (last modified by bastiK)

I am using Osmose to get into JOSM through the josm_zone option. After many come back from JOSM to osmose I have an error message :

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-08-31 01:31:11
Last Changed Author: Don-vip
Revision: 5485
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-08-31 00:21:56 +0200 (Fri, 31 Aug 2012)
Last Changed Rev: 5485

Identification: JOSM/1.5 (5485 fr)
Memory Usage: 363 MB / 3536 MB (118 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: FixAddresses (28656)
Plugin: cadastre-fr (28656)
Plugin: reverter (28656)
Plugin: walkingpapers (28541)
Plugin: wikipedia (28656)

java.lang.IndexOutOfBoundsException: Index: 11, Size: 2
	at java.util.ArrayList.rangeCheck(ArrayList.java:571)
	at java.util.ArrayList.get(ArrayList.java:349)
	at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.getElementAt(RelationListDialog.java:763)
	at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1359)
	at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1310)
	at javax.swing.plaf.basic.BasicListUI.getPreferredSize(BasicListUI.java:577)
	at javax.swing.JComponent.getPreferredSize(JComponent.java:1635)
	at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:788)
	at java.awt.Container.layout(Container.java:1427)
	at java.awt.Container.doLayout(Container.java:1416)
	at java.awt.Container.validateTree(Container.java:1513)
	at java.awt.Container.validate(Container.java:1486)
	at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:653)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1592)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:670)
	at java.awt.EventQueue.access$400(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:631)
	at java.awt.EventQueue$2.run(EventQueue.java:629)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:640)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Sorry if this was already reported but I have it quite often as I use a lot of osmose...

Attachments (0)

Change History (6)

comment:1 by bastiK, 12 years ago

Description: modified (diff)

I suppose you are using JOSM remotecontrol? Can you report the link you click in osmose? Do I understand correctly, that the error occurs in the moment you switch back to the browser?

comment:2 by bastiK, 12 years ago

Resolution: fixed
Status: newclosed

In 5517/josm:

fixed #8083 - JOSM_Zone erreur sometimes

comment:3 by marbolangos@…, 12 years ago

Hi,
Thanks for this fast reply and patch.
I do not know exactly when this occurs as all my windows are fullscreen. I will try to wait for another buggy click for the josm_zone to check if it also applies when both windows are visible at the same time. I hope the modification you have sent can handle this. I will tell you.

comment:4 by Don-vip, 12 years ago

FYI bastiK, "osmose" is our main QA tool in France: http://osmose.openstreetmap.fr

It's like a French OpenStreetBugs. You can click on errors to send remote control commands to JOSM (load primitive, load area or event edit an object).

comment:5 by marbolangos@…, 12 years ago

Hi,
I did not try with the correction but still with the latest version I have (5485).
I tried to see if with the fullscreen and not I could achieve the error and yes I was able to. The error shows when the download is over and that it is going to show the data.
Here is one of the point I have the error : http://osmose.openstreetmap.fr/map/?zoom=18&lat=43.29899&lon=5.40891&layers=B00FF0FFFFFFFFFFFFFFFFFFT&item=0&level=
When the zone is loaded the error does not appear again.
To enable the marker you can change (on the left) to level choice : All
Then select "nothing" and tick "overlapping building" it shoud show only one grey marker.

Hope you can find why there is this random issue (for me it seems to be random).

comment:6 by Don-vip, 12 years ago

Ticket #7342 has been marked as a duplicate of this ticket.

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.