#23894 closed defect (fixed)
AIOOBE in SelectLayerView.getLayerNames
| Reported by: | anonymous | Owned by: | taylor.smock |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin piclayer | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- I follow the steps in the .gif, and when it comes to select the layer including the building outline as reference, the app crash and JOSM shows me the bug report.
What is the expected result?
to continue as the instructions
What happens instead?
it crashes and prompt me to update everything (which I did)
Please provide any additional information below. Attach a screenshot if possible.
Revision:19207 Build-Date:2024-09-03 10:31:55 Identification: JOSM/1.5 (19207 en) Windows 11 64-Bit OS Build number: Windows 10 Home Single Language 23H2 (22631) Memory Usage: 460 MB / 4038 MB (150 MB allocated, but free) Java version: 21.0.4+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920x1080x32bpp@60Hz (scaling 1.25×1.25) \Display1 1920x1080x32bpp@60Hz (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_419 Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.19207, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe] Program arguments: [%UserProfile%\Documents\Documentos FEC 2\trabajo\OSM\Chile\Nahuelbuta\Autopista Nahuelbuta.osm] Dataset consistency test: No problems found Plugins: + FastDraw (36226) + HouseNumberTaggingTool (36298) + MapRoulette (40) + PicLayer (1.0.3) + contourmerge (v0.2.1) + reverter (36320) + tageditor (36298) + todo (139) + turnlanes-tagging (0.0.5) + turnrestrictions (36298) + undelete (36298) + utilsplugin2 (36298) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/DestinationSignRelation&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1 Last errors/warnings: - 00000.502 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF' - 00000.503 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.503 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00000.928 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available - 00008.212 W: Cannot lock cache directory. Will not use disk cache - 00011.435 W: Cannot start IPv4 remotecontrol server on port 8111: Address already in use: bind - 00011.436 W: Cannot start IPv6 remotecontrol server on port 8111: Address already in use: bind - 00023.632 W: Warning - <html>Cannot open 1 file because file does not exist or no suitable file importer is available.<br><ul><li>%UserProfile%\Documents\Documentos FEC 2\trabajo\OSM\Chile\Nahuelbuta\A2-05.jpg.cal (<i>no importer</i>)</li></ul></html> - 00337.462 E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: Index 10 out of bounds for length 10 === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (37) of main java.lang.ArrayIndexOutOfBoundsException: Index 10 out of bounds for length 10 at org.openstreetmap.josm.plugins.piclayer.gui.autocalibrate.SelectLayerView.getLayerNames(SelectLayerView.java:57) at org.openstreetmap.josm.plugins.piclayer.gui.autocalibrate.SelectLayerView.<init>(SelectLayerView.java:36) at org.openstreetmap.josm.plugins.piclayer.actions.autocalibrate.AutoCalibrateHandler$SelectLayerButtonListener.actionPerformed(AutoCalibrateHandler.java:143) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.desktop/java.awt.EventQueue$5.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (5)
follow-up: 4 comment:1 by , 15 months ago
| Component: | Core → Plugin piclayer |
|---|---|
| Owner: | changed from to |
| Summary: | pic layer bug report while triying to calibrate the picture with outlina → AIOOBE in SelectLayerView.getLayerNames |
comment:2 by , 15 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 14 months ago
Replying to taylor.smock:
@rebsc: Are you still maintaining the PicLayer plugin? It looks like you removed yourself from the README a few weeks ago.
I'm working on a fix for this ticket (it looks to be fairly easy).
Unfortunately, I don't have much time to work on bugs or releases, just a bit now and then. That's why I've removed myself from the readme. So thank a lot for your help!
comment:5 by , 14 months ago
No problem. As a heads up, I'll probably switch the CI over to match the other lightly maintained plugins next time I update the i18n files.
Of specific note, this will switch to auto releases on push to master (versions will be git rev-list --count HEAD instead of 1.0.x).
Example: https://github.com/JOSM/Mapillary/blob/master/.github/workflows/ant.yml .



@rebsc: Are you still maintaining the PicLayer plugin? It looks like you removed yourself from the README a few weeks ago.
I'm working on a fix for this ticket (it looks to be fairly easy).