Modify

Opened 5 years ago

Closed 5 years ago

#20064 closed defect (duplicate)

保存されたセッション「.joz」ファイルをLOADするとEasyPresetでエラーが発生します

Reported by: hayashi Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. JOSM tool [セッションを保存] でファイル「josm.joz」を作成
  2. EasyPresetsプラグインを登録
  3. プラグイン登録を有効にするために再起動
  4. 再起動後、セッションを復元するために「josm.joz」をLOADで、エラーが発生する

What is the expected result?

2020-11-12 06:16:22.398 重大: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: 8 >= 8
java.lang.ArrayIndexOutOfBoundsException: 8 >= 8
	at java.base/java.util.Vector.elementAt(Vector.java:497)
	at java.desktop/javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:246)
	at java.desktop/javax.swing.tree.DefaultMutableTreeNode.remove(DefaultMutableTreeNode.java:206)
	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)


What happens instead?

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: 485 MB / 1962 MB (35 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:
- 00013.006 W: javax.imageio.IIOException: Caught exception during read:. 原因: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
- 00013.008 E: イメージ 'traffic_signs_presets/tunnel.png' が見つかりません
- 00013.009 W:  Tunnel: Could not get presets icon traffic_signs_presets/tunnel.png
- 00044.313 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: 8 >= 8
- 00044.347 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: 8 >= 8


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: Timer-11 (62)
java.lang.ArrayIndexOutOfBoundsException: 8 >= 8
	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 (1)

josm.joz (401.6 KB ) - added by hayashi 5 years ago.
loadしたJOZファイル

Download all attachments as: .zip

Change History (2)

comment:1 by taylor.smock, 5 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #20065.

by hayashi, 5 years ago

Attachment: josm.joz added

loadしたJOZファイル

Modify Ticket

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