Modify ↓
Opened 10 years ago
Last modified 6 years ago
#10840 new defect
IAE in OpeningTimeUtils.ensureValidDay
Reported by: | Atalanttore | Owned by: | boman |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin openinghourseditor | Version: | latest |
Keywords: | template_report | Cc: | naoliv |
Description
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-12-11 02:33:43 Last Changed Author: Don-vip Revision: 7787 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-12-11 00:15:17 +0100 (Thu, 11 Dec 2014) Last Changed Rev: 7787 Identification: JOSM/1.5 (7787 de) Linux Ubuntu 14.10 Memory Usage: 156 MB / 860 MB (22 MB allocated, but free) Java version: 1.7.0_45, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Dataset consistency test: No problems found Plugins: - FastDraw (30762) - HouseNumberTaggingTool (30762) - OpeningHoursEditor (30737) - RoadSigns (30788) - buildings_tools (30762) - editgpx (30737) - imagery_offset_db (30808) - log4j (30762) - public_transport (30762) - routes (30762) - routing (30737) - tageditor (30738) - terracer (30737) - turnlanes (30737) - turnrestrictions (30762) - undelete (30762) - utilsplugin2 (30762) - waydownloader (30762) Last errors/warnings: - E: Fehler beim Laden des Bildes 'presets/peak.svg' - W: Could not get presets icon presets/peak.svg - E: java.lang.IllegalArgumentException: dayStart is not a valid day (0-6). Given value is -1 java.lang.IllegalArgumentException: dayStart is not a valid day (0-6). Given value is -1 at org.openstreetmap.josm.plugins.ohe.OpeningTimeUtils.ensureValidDay(OpeningTimeUtils.java:269) at org.openstreetmap.josm.plugins.ohe.gui.TimeRect.<init>(TimeRect.java:58) at org.openstreetmap.josm.plugins.ohe.gui.OheEditor.mouseReleased(OheEditor.java:312) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1082) at java.awt.Component.show(Component.java:1651) at java.awt.Component.setVisible(Component.java:1603) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at org.openstreetmap.josm.plugins.ohe.OhePlugin$OheMenuAction.actionPerformed(OhePlugin.java:302) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) ...<snip>...
Attachments (0)
Change History (8)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Steps to reproduce.
- Select some opening hours (with left mouse button)
- Click inside the selected opening hours (with right mouse button) => menu for open end appears.
- Click outside the selected opening hours (with right mouse button) => Error!
comment:4 by , 8 years ago
Summary: | OpeningHoursEditor crashed → IAE in OpeningTimeUtils.ensureValidDay |
---|
comment:6 by , 8 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Ticket #11996 has been marked as a duplicate of this ticket.