Modify

Opened 12 years ago

Closed 10 years ago

#7903 closed defect (fixed)

OpeningHoursEditor crashed while trying to remove a mistakenly selected opening time

Reported by: Atalanttore Owned by: boman
Priority: normal Milestone:
Component: Plugin openinghourseditor Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Try to remove a mistakenly selected opening time.

What is the expected result?
Successful removal of the selection.

What happens instead?
It appeared an error message.

Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-07-23 01:31:06
Last Changed Author: Don-vip
Revision: 5356
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-07-22 22:36:44 +0200 (Sun, 22 Jul 2012)
Last Changed Rev: 5356

Identification: JOSM/1.5 (5356 de)
Memory Usage: 245 MB / 247 MB (79 MB allocated, but free)
Java version: 1.7.0_05, Oracle Corporation, Java HotSpot(TM) Client VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: AddrInterpolation (28014)
Plugin: FixAddresses (28412)
Plugin: HouseNumberTaggingTool (28412)
Plugin: OpeningHoursEditor (28477)
Plugin: RoadSigns (27868)
Plugin: alignways (28412)
Plugin: buildings_tools (28412)
Plugin: editgpx (28412)
Plugin: lakewalker (28412)
Plugin: licensechange (28412)
Plugin: measurement (28412)
Plugin: terracer (28412)
Plugin: turnlanes (28412)
Plugin: turnrestrictions (28412)
Plugin: undelete (28501)
Plugin: waydownloader (28412)

java.lang.ArrayIndexOutOfBoundsException: -1
	at org.openstreetmap.josm.plugins.ohe.OpeningTimeUtils.makeStringFromRects(OpeningTimeUtils.java:120)
	at org.openstreetmap.josm.plugins.ohe.gui.OheDialogPanel.updateValueField(OheDialogPanel.java:177)
	at org.openstreetmap.josm.plugins.ohe.gui.OheEditor.mouseReleased(OheEditor.java:313)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at

Attachments (0)

Change History (2)

comment:1 by Don-vip, 12 years ago

Owner: changed from team to boman

comment:2 by Don-vip, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in [o30117].

Modify Ticket

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