Modify ↓
Opened 16 months ago
Last modified 16 months ago
#23082 new defect
NPE in MapSlider#zoomChanged (in Component#findUnderMouseInWindow)
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report javabug | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
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: 2023-07-06 21:00:41 +0200 (Thu, 06 Jul 2023) Revision:18772 Build-Date:2023-07-07 01:30:58 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18772 en_GB) Linux Ubuntu 22.04.2 LTS Memory Usage: 1609 MB / 3916 MB (641 MB allocated, but free) Java version: 11.0.19+7-post-Ubuntu-0ubuntu122.04.1, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java package: openjdk-11-jre:amd64-11.0.19+7~us1-0ubuntu1~22.04.1 Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1 fonts-noto: fonts-noto:all-20201225-1build1 VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --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] Dataset consistency test: No problems found Plugins: + ImportImagePlugin (36013) + apache-commons (36034) + buildings_tools (36097) + continuosDownload (1.3.4) + ejml (35924) + geotools (36068) + jackson (36034) + jaxb (35952) + jts (36004) + pdfimport (36097) + photo_geotagging (36079) + photoadjust (36079) + utilsplugin2 (36097) Map paint styles: + ${HOME}/JOSM/MapCSS-JOSM-Bicycle-master/cycleway.mapcss Last errors/warnings: - 20389.482 E: Failed to locate image 'https://pcrs.beta.gouv.fr/images/icons/map.png' - 20392.510 E: Failed to locate image 'https://pcrs.beta.gouv.fr/images/icons/map.png' - 20874.920 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 22030.608 E: Failed to locate image 'https://prd-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/content_list_thumbnail/public/thumbnails/image/USGS_logo_green_SQUARE.png' - 29988.148 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 31215.720 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 31218.768 E: Handled by bug report queue: java.lang.NullPointerException - 31222.098 E: Handled by bug report queue: java.lang.NullPointerException - 31222.099 E: Handled by bug report queue: java.lang.NullPointerException - 31243.187 E: Handled by bug report queue: java.lang.NullPointerException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (28) of main java.lang.NullPointerException at java.desktop/java.awt.Component.findUnderMouseInWindow(Component.java:1384) at java.desktop/java.awt.Component.getMousePosition(Component.java:1432) at java.desktop/javax.swing.plaf.synth.SynthSliderUI.calculateThumbLocation(SynthSliderUI.java:541) at java.desktop/javax.swing.plaf.basic.BasicSliderUI$Handler.stateChanged(BasicSliderUI.java:1803) at java.desktop/javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:371) at java.desktop/javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:309) at java.desktop/javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:175) at java.desktop/javax.swing.JSlider.setValue(JSlider.java:536) at org.openstreetmap.josm.gui.MapSlider.zoomChanged(MapSlider.java:44) at org.openstreetmap.josm.gui.NavigatableComponent.lambda$fireZoomChanged$1(NavigatableComponent.java:153) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:225) at org.openstreetmap.josm.gui.NavigatableComponent.fireZoomChanged(NavigatableComponent.java:151) at org.openstreetmap.josm.gui.NavigatableComponent.zoomNoUndoTo(NavigatableComponent.java:778) at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:758) at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:678) at org.openstreetmap.josm.gui.NavigatableComponent.zoomToFactor(NavigatableComponent.java:895) at org.openstreetmap.josm.gui.NavigatableComponent.zoomManyTimes(NavigatableComponent.java:887) at org.openstreetmap.josm.gui.MapMover.mouseWheelMoved(MapMover.java:256) at java.desktop/java.awt.Component.processMouseWheelEvent(Component.java:6723) at java.desktop/java.awt.Component.processEvent(Component.java:6407) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4576) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2023-07-06 21:00:41 +0200 (Thu, 06 Jul 2023) Revision:18772 Build-Date:2023-07-07 01:30:58 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18772 en_GB) Linux Ubuntu 22.04.2 LTS Memory Usage: 1609 MB / 3916 MB (641 MB allocated, but free) Java version: 11.0.19+7-post-Ubuntu-0ubuntu122.04.1, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java package: openjdk-11-jre:amd64-11.0.19+7~us1-0ubuntu1~22.04.1 Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1 fonts-noto: fonts-noto:all-20201225-1build1 VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --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] Dataset consistency test: No problems found Plugins: + ImportImagePlugin (36013) + apache-commons (36034) + buildings_tools (36097) + continuosDownload (1.3.4) + ejml (35924) + geotools (36068) + jackson (36034) + jaxb (35952) + jts (36004) + pdfimport (36097) + photo_geotagging (36079) + photoadjust (36079) + utilsplugin2 (36097) Map paint styles: + ${HOME}/JOSM/MapCSS-JOSM-Bicycle-master/cycleway.mapcss Last errors/warnings: - 20389.482 E: Failed to locate image 'https://pcrs.beta.gouv.fr/images/icons/map.png' - 20392.510 E: Failed to locate image 'https://pcrs.beta.gouv.fr/images/icons/map.png' - 20874.920 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 22030.608 E: Failed to locate image 'https://prd-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/content_list_thumbnail/public/thumbnails/image/USGS_logo_green_SQUARE.png' - 29988.148 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 31215.720 E: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 31218.768 E: Handled by bug report queue: java.lang.NullPointerException - 31222.098 E: Handled by bug report queue: java.lang.NullPointerException - 31222.099 E: Handled by bug report queue: java.lang.NullPointerException - 31243.187 E: Handled by bug report queue: java.lang.NullPointerException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (28) of main java.lang.NullPointerException at java.desktop/java.awt.Component.findUnderMouseInWindow(Component.java:1384) at java.desktop/java.awt.Component.getMousePosition(Component.java:1432) at java.desktop/javax.swing.plaf.synth.SynthSliderUI.calculateThumbLocation(SynthSliderUI.java:541) at java.desktop/javax.swing.plaf.basic.BasicSliderUI$Handler.stateChanged(BasicSliderUI.java:1803) at java.desktop/javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:371) at java.desktop/javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:309) at java.desktop/javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:175) at java.desktop/javax.swing.JSlider.setValue(JSlider.java:536) at org.openstreetmap.josm.gui.MapSlider.zoomChanged(MapSlider.java:44) at org.openstreetmap.josm.gui.NavigatableComponent.lambda$fireZoomChanged$1(NavigatableComponent.java:153) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWait(GuiHelper.java:225) at org.openstreetmap.josm.gui.NavigatableComponent.fireZoomChanged(NavigatableComponent.java:151) at org.openstreetmap.josm.gui.NavigatableComponent.zoomNoUndoTo(NavigatableComponent.java:778) at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:758) at org.openstreetmap.josm.gui.NavigatableComponent.zoomTo(NavigatableComponent.java:678) at org.openstreetmap.josm.gui.NavigatableComponent.zoomToFactor(NavigatableComponent.java:895) at org.openstreetmap.josm.gui.NavigatableComponent.zoomManyTimes(NavigatableComponent.java:887) at org.openstreetmap.josm.gui.MapMover.mouseWheelMoved(MapMover.java:256) at java.desktop/java.awt.Component.processMouseWheelEvent(Component.java:6723) at java.desktop/java.awt.Component.processEvent(Component.java:6407) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4576) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Attachments (0)
Change History (1)
comment:1 by , 16 months ago
Keywords: | javabug added |
---|---|
Summary: | hi, juste opening and tryin to move the map i have this error → NPE in MapSlider#zoomChanged (in Component#findUnderMouseInWindow) |
Note:
See TracTickets
for help on using tickets.
I think this is a java bug. Unfortunately, anonymous was using Java 11 instead of Java 17, so we don't have useful NPE information. There are two objects that could be
null
there, and I don't know which. Either one is a Java problem though.