Modify

Opened 3 years ago

Closed 3 years ago

#20846 closed defect (needinfo)

CCE when "choosing track visibility and colours" for an .pos GNSS track

Reported by: pyrog Owned by: pyrog
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report gpx pos Cc:

Description

What steps will reproduce the problem?

  1. Open test.pos
  2. right click and select
  3. "Choose track visibility and colours"

What is the expected result?

Display the "Set track visibility" window

What happens instead?

The error dialog box open and the error couldn't be ignored

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

Revision:17833
Build-Date:2021-04-27 22:16:42

Identification: JOSM/1.5 (17833 en_GB) Mac OS X 11.2
OS Build number: macOS 11.2.3 (20D91)
Memory Usage: 675 MB / 2048 MB (121 MB allocated, but free)
Java version: 16.0.1+9, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69732928 1280×800 (scaling 2.00×2.00)
Maximum Screen Size: 1280×800
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=17833, --add-exports=java.desktop/com.apple.eawt=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=/Applications/JOSM.app/Contents/MacOS/JOSM]

Plugins:
+ SnapNewNodes (1557488602)
+ apache-commons (35524)
+ buildings_tools (35669)
+ cadastre-fr (35727)
+ ejml (35458)
+ geotools (35458)
+ jaxb (35543)
+ jts (35458)
+ opendata (35640)
+ photo_geotagging (35738)
+ photoadjust (35640)
+ scripting (30798)
+ utilsplugin2 (35691)

Last errors/warnings:
- 00841.051 W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap'), methodWarningFrom=BugReportExceptionHandler#handleException]
- 00841.252 E: Handled by bug report queue: java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
- 00841.314 E: Handled by bug report queue: java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
- 00841.315 W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap'), methodWarningFrom=BugReportExceptionHandler#handleException]
- 00841.667 E: Handled by bug report queue: java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
- 00841.726 E: Handled by bug report queue: java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
- 00841.727 W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap'), methodWarningFrom=BugReportExceptionHandler#handleException]
- 00842.183 E: Handled by bug report queue: java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
- 00842.225 E: Handled by bug report queue: java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
- 00842.225 W: Too many errors. Dropping ReportedException [thread=Thread[AWT-EventQueue-0,6,main], exception=java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap'), methodWarningFrom=BugReportExceptionHandler#handleException]



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
java.lang.ClassCastException: class [Ljava.time.Instant; cannot be cast to class [Ljava.util.Date; ([Ljava.time.Instant; and [Ljava.util.Date; are in module java.base of loader 'bootstrap')
	at org.openstreetmap.josm.gui.layer.gpx.ChooseTrackVisibilityAction$GpxTrackTable.prepareRenderer(ChooseTrackVisibilityAction.java:330)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
	at java.desktop/javax.swing.plaf.ComponentUI.update(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintComponent(Unknown Source)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$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.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(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.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.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.desktop/java.awt.Dialog.show(Unknown Source)
	at java.desktop/java.awt.Component.show(Unknown Source)
	at java.desktop/java.awt.Component.setVisible(Unknown Source)
	at java.desktop/java.awt.Window.setVisible(Unknown Source)
	at java.desktop/java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.bugreport.BugReportDialog.lambda$showFor$3(BugReportDialog.java:245)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(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.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.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.desktop/java.awt.Dialog.show(Unknown Source)
	at java.desktop/java.awt.Component.show(Unknown Source)
	at java.desktop/java.awt.Component.setVisible(Unknown Source)
	at java.desktop/java.awt.Window.setVisible(Unknown Source)
	at java.desktop/java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.gui.ExtendedDialog.setVisible(ExtendedDialog.java:462)
	at org.openstreetmap.josm.gui.ExtendedDialog.showDialog(ExtendedDialog.java:258)
	at org.openstreetmap.josm.gui.layer.gpx.ChooseTrackVisibilityAction.actionPerformed(ChooseTrackVisibilityAction.java:293)
	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.AbstractButton.doClick(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at java.desktop/com.apple.laf.AquaMenuItemUI.doClick(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
	at java.desktop/javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
	at java.desktop/javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JMenuItem.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.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 (1)

test.pos (65.8 KB ) - added by pyrog 3 years ago.

Download all attachments as: .zip

Change History (5)

by pyrog, 3 years ago

Attachment: test.pos added

comment:1 by Don-vip, 3 years ago

Keywords: gpx pos added

comment:2 by Don-vip, 3 years ago

Summary: Crash when "choosing track visibility and colours" for an .pos GNSS trackCCE when "choosing track visibility and colours" for an .pos GNSS track

comment:3 by Don-vip, 3 years ago

Owner: changed from team to pyrog
Status: newneedinfo

Can't reproduce, can you please check with latest?

comment:4 by Don-vip, 3 years ago

Resolution: needinfo
Status: needinfoclosed

Modify Ticket

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