Modify

Opened 3 days ago

Last modified 34 hours ago

#24002 new defect

Impossible to move inside 360 photos

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core image mapping Version:
Keywords: template_report 360 Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Drag drop severals(10-45) 360 images
  2. Click on one of the image. in the image preview, right click to move inside the 360 image : ok
  3. Drag drop another severals(10-45) 360 images.
  4. Click on one of the image. in the image preview, right click to move inside the 360 image : ok
  5. Repeat it again and at some point, the right click to move inside the 360 image return an error

What is the expected result?

no errors during 360 movment inside the image

What happens instead?

Workaround

Close JOSM, open it again, Drag drop the images. Preview open and movement in the image is possible.
Another workaround (less clear for me), close the preview window, undisplay/display other image set, delete other image set. Reopen the preview window and right click to move inside the 360 image : it works

Revision:19253
Build-Date:2024-10-31 17:41:55

Identification: JOSM/1.5 (19253 fr) Windows 11 64-Bit
OS Build number: Windows 10 Home 23H2 (22631)
Memory Usage: 940 MB / 6052 MB (622 MB allocated, but free)
Java version: 21.0.5+11-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.50×1.50)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: fr_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19253, -XX:MaxRAMPercentage=75.0, --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]

Plugins:
+ apache-commons (36349)
+ cadastre-fr (36344)
+ ejml (36348)
+ geotools (36349)
+ jackson (36349)
+ jaxb (36349)
+ jts (36349)
+ photo_geotagging (36343)
+ photoadjust (36342)

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

Last errors/warnings:
- 00000.815 W: extended font config - overriding 'filename.Malgun_Gothic=malgun.ttf' with 'MALGUN.TTF'
- 00000.817 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.818 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00001.605 E: java.security.KeyStoreException: Windows-ROOT not found. Cause : java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 02020.787 E: Handled by bug report queue: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.ArrayIndexOutOfBoundsException: Index -32344 out of bounds for length 925536. Cause : java.lang.ArrayIndexOutOfBoundsException: Index -32344 out of bounds for length 925536
- 02020.825 E: Handled by bug report queue: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.ArrayIndexOutOfBoundsException: Index -32344 out of bounds for length 925536. Cause : java.lang.ArrayIndexOutOfBoundsException: Index -32344 out of bounds for length 925536



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

Warning issued by: BugReportExceptionHandler#handleException

=== REPORTED CRASH DATA ===
CameraPlane#lambda$commonFastByteMapping$8:
 - visibleRect: java.awt.Rectangle[x=0,y=-36,width=622,height=372]
 - sourceImageBuffer: 49766400
 - targetImageBuffer: 925536
 - sourceHasAlphaChannel: false
 - targetHasAlphaChannel: true

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (37) of main
ReportedException [thread=Thread[#151,ForkJoinPool.commonPool-worker-22,6,main], exception=java.lang.ArrayIndexOutOfBoundsException: Index -32344 out of bounds for length 925536, methodWarningFrom=null]
	at org.openstreetmap.josm.tools.bugreport.BugReport.intercept(BugReport.java:222)
	at org.openstreetmap.josm.gui.util.imagery.CameraPlane.lambda$commonFastByteMapping$8(CameraPlane.java:333)
	at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.IntPipeline$Head.forEach(Unknown Source)
	at org.openstreetmap.josm.gui.util.imagery.CameraPlane.lambda$commonFastByteMapping$9(CameraPlane.java:313)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfInt.accept(Unknown Source)
	at java.base/java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.Spliterator$OfInt.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.ForEachOps$ForEachTask.compute(Unknown Source)
	at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -32344 out of bounds for length 925536
	at org.openstreetmap.josm.gui.util.imagery.CameraPlane.lambda$commonFastByteMapping$8(CameraPlane.java:323)
	... 14 more

Attachments (0)

Change History (1)

comment:1 by skyper, 34 hours ago

Component: CoreCore image mapping
Description: modified (diff)
Keywords: 360 added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.