Modify

Opened 16 years ago

Closed 16 years ago

#2142 closed defect (fixed)

define a color for gpx-elements

Reported by: Luebeck Owned by: framm
Priority: major Milestone:
Component: unspecified Version: latest
Keywords: Cc:

Description

i define a color in EINSTEIN for a named gpx-file. then the message comes -> no change in color (#FFFF00).

release 1365

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1365
Node Kind: directory
Last Changed Author: ulfl
Last Changed Rev: 1365
Last Changed Date: 2009-02-01 22:20:56 +0100 (Sun, 01 Feb 2009)

Java version: 1.6.0
Plugins: openstreetbugs;slippy_map_chooser;validator;wmsplugin
Plugin openstreetbugs Version: 13135
Plugin slippy_map_chooser Version: 12780
Plugin validator Version: 13409
Plugin wmsplugin Version: 12984

java.lang.StringIndexOutOfBoundsException: String index out of range: 4

at java.lang.String.substring(Unknown Source)
at org.openstreetmap.josm.tools.ColorHelper.html2color(ColorHelper.java:17)
at org.openstreetmap.josm.data.Preferences.getColor(Preferences.java:416)
at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.getColor(MarkerLayer.java:151)
at org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer.paint(MarkerLayer.java:159)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:267)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.paint(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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 (1)

comment:1 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Fixed the exception in r1371.

Still you must have entered a wrong color or that would not have occurred. Reopen if you are sure there is another reason.

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.