Modify

Opened 5 years ago

Closed 5 years ago

#20073 closed defect (duplicate)

JOZファイルをLOADするとエラーが発生する

Reported by: hayashi Owned by: maripogoda
Priority: normal Milestone:
Component: Plugin EasyPresets Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. start JOSM with EasyPresets v2.0
  2. load "josm.joz"

What is the expected result?

'easypresets pr50'では発生しません。

What happens instead?

  • JOSMでエラーが発生して、EasyPresetsを無効にするダイアログが表示される
  • 「使用を継続」した場合の画面

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-03 13:42:38 +0200 (Sat, 03 Oct 2020)
Revision:17084
Build-Date:2020-10-04 01:30:47
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17084 ja) Linux Mint 19.3 Tricia
Memory Usage: 469 MB / 1962 MB (48 MB allocated, but free)
Java version: 11.0.9+11-Ubuntu-0ubuntu1.18.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1366x768 (scaling 1.0x1.0), :0.1 1366x768 (scaling 1.0x1.0)
Maximum Screen Size: 1366x768
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Desktop environment: X-Cinnamon
Java package: openjdk-11-jre:amd64-11.0.9+11-0ubuntu1~18.04.1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-

Plugins:
+ CustomizePublicTransportStop (35583)
+ DirectUpload (35583)
+ EasyPresets (1604762161)
+ Mapillary (1.5.27)
+ OpenStreetCam (350)
+ OpeningHoursEditor (35579)
+ RoadSigns (35510)
+ apache-commons (35524)
+ apache-http (35092)
+ buildings_tools (35579)
+ editgpx (35248)
+ fieldpapers (v0.5.0)
+ jaxb (35092)
+ jna (35092)
+ photo_geotagging (35594)
+ reltoolbox (35602)
+ routes (35405)
+ tageditor (35258)
+ turnlanes (35405)
+ turnlanes-tagging (288)
+ utilsplugin2 (35624)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/JP.zip
+ ${HOME}/Downloads/街道プリセット.xml
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/JP.zip
+ https://raw.githubusercontent.com/maripo/OSM_tree_preset/master/presets/japan.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Japan&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/sac_scale&zip=1

Last errors/warnings:
- 00012.092 W: javax.imageio.IIOException: Caught exception during read:. 原因: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
- 00012.093 E: イメージ 'traffic_signs_presets/tunnel.png' が見つかりません
- 00012.094 W:  Tunnel: Could not get presets icon traffic_signs_presets/tunnel.png
- 00118.587 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
- 00118.622 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: 16 >= 16


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: Timer-7 (57)
java.lang.ArrayIndexOutOfBoundsException: 16 >= 16
	at java.base/java.util.Vector.removeElementAt(Vector.java:580)
	at java.desktop/javax.swing.tree.DefaultMutableTreeNode.remove(DefaultMutableTreeNode.java:207)
	at java.desktop/javax.swing.tree.DefaultMutableTreeNode.removeAllChildren(DefaultMutableTreeNode.java:393)
	at org.openstreetmap.josm.gui.preferences.ToolbarPreferences.loadActions(ToolbarPreferences.java:1066)
	at org.openstreetmap.josm.gui.preferences.ToolbarPreferences.getDefinedActions(ToolbarPreferences.java:1095)
	at org.openstreetmap.josm.gui.preferences.ToolbarPreferences.refreshToolbarControl(ToolbarPreferences.java:1167)
	at org.maripo.josm.easypresets.EasyPresetsPlugin$1.run(EasyPresetsPlugin.java:55)
	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
	at java.base/java.util.TimerThread.run(Timer.java:506)

Attachments (2)

EasyPresets_v2_0.png (1.1 MB ) - added by hayashi 5 years ago.
JOSMのtool bar に同じアイテムが重複して表示される
josm.joz (401.6 KB ) - added by hayashi 5 years ago.
loadしたJOZファイル

Download all attachments as: .zip

Change History (3)

by hayashi, 5 years ago

Attachment: EasyPresets_v2_0.png added

JOSMのtool bar に同じアイテムが重複して表示される

by hayashi, 5 years ago

Attachment: josm.joz added

loadしたJOZファイル

comment:1 by skyper, 5 years ago

Component: CorePlugin EasyPresets
Owner: changed from team to maripogoda
Resolution: duplicate
Status: newclosed

Closed as duplicate of #20065.

Modify Ticket

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