Changes between Initial Version and Version 1 of Ticket #10240


Ignore:
Timestamp:
2014-07-07T03:09:16+02:00 (6 years ago)
Author:
Don-vip
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10240 – Description

    initial v1  
    11If You try to edit existing time and pull opening hours line over closing hours line and then outside of editing canvas (top to bottom), plugin raises unexpected exception. Same thing when You do it bottom-top.
     2
     3{{{
     4Revision: 7291
     5Repository Root: http://josm.openstreetmap.de/svn
     6Last Changed Author: Don-vip
     7Last Changed Date: 2014-07-05 18:38:07 +0200 (Sat, 05 Jul 2014)
     8Build-Date: 2014-07-06 01:36:19
     9URL: http://josm.openstreetmap.de/svn/trunk
     10Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
     11Last Changed Rev: 7291
     12
     13Identification: JOSM/1.5 (7291 en) Windows 8.1 64-Bit
     14Memory Usage: 94 MB / 1813 MB (19 MB allocated, but free)
     15Java version: 1.8.0_05, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
     16VM arguments: [-Djava.security.policy=file:C:\Program Files\Java\jre8\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Vincent\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-1d873385, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files\Java\jre8\lib\javaws.jar;C:\Program Files\Java\jre8\lib\deploy.jar;C:\Program Files\Java\jre8\lib\plugin.jar, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=61868, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=-Djava.util.Arrays.useLegacyMergeSort=true -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp]
     17Dataset consistency test: No problems found
     18
     19Plugin: DirectDownload (30416)
     20Plugin: OpeningHoursEditor (30416)
     21Plugin: geotools (30416)
     22Plugin: jts (30416)
     23Plugin: opendata (30508)
     24Plugin: pbf (30495)
     25Plugin: tageditor (30488)
     26Plugin: utilsplugin2 (30460)
     27
     28java.lang.IllegalArgumentException: newMinuteStart is not a valid minute (0-1441). Given value is 1455
     29        at org.openstreetmap.josm.plugins.ohe.OpeningTimeUtils.ensureValidMinute(OpeningTimeUtils.java:281)
     30        at org.openstreetmap.josm.plugins.ohe.gui.TimeRect.updateTimeInterval(TimeRect.java:117)
     31        at org.openstreetmap.josm.plugins.ohe.gui.TimeRect.mouseDragged(TimeRect.java:298)
     32        at java.awt.Component.processMouseMotionEvent(Unknown Source)
     33        at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
     34        at java.awt.Component.processEvent(Unknown Source)
     35        at java.awt.Container.processEvent(Unknown Source)
     36        at java.awt.Component.dispatchEventImpl(Unknown Source)
     37        at java.awt.Container.dispatchEventImpl(Unknown Source)
     38        at java.awt.Component.dispatchEvent(Unknown Source)
     39        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     40        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     41        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     42        at java.awt.Container.dispatchEventImpl(Unknown Source)
     43        at java.awt.Window.dispatchEventImpl(Unknown Source)
     44        at java.awt.Component.dispatchEvent(Unknown Source)
     45        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
     46        at java.awt.EventQueue.access$400(Unknown Source)
     47        at java.awt.EventQueue$3.run(Unknown Source)
     48        at java.awt.EventQueue$3.run(Unknown Source)
     49        at java.security.AccessController.doPrivileged(Native Method)
     50        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
     51        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
     52        at java.awt.EventQueue$4.run(Unknown Source)
     53        at java.awt.EventQueue$4.run(Unknown Source)
     54        at java.security.AccessController.doPrivileged(Native Method)
     55        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
     56        at java.awt.EventQueue.dispatchEvent(Unknown Source)
     57        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     58        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     59        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     60        at java.awt.WaitDispatchSupport$2.run(Unknown Source)
     61        at java.awt.WaitDispatchSupport$4.run(Unknown Source)
     62        at java.awt.WaitDispatchSupport$4.run(Unknown Source)
     63        at java.security.AccessController.doPrivileged(Native Method)
     64        at java.awt.WaitDispatchSupport.enter(Unknown Source)
     65        at java.awt.Dialog.show(Unknown Source)
     66        at java.awt.Component.show(Unknown Source)
     67        at java.awt.Component.setVisible(Unknown Source)
     68        at java.awt.Window.setVisible(Unknown Source)
     69        at java.awt.Dialog.setVisible(Unknown Source)
     70        at org.openstreetmap.josm.plugins.ohe.OhePlugin$OheMenuAction.actionPerformed(OhePlugin.java:301)
     71        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
     72        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
     73        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
     74        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
     75        at javax.swing.AbstractButton.doClick(Unknown Source)
     76        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
     77        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
     78        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
     79<...>
     80        at java.awt.EventDispatchThread.run(Unknown Source)
     81}}}