Modify ↓
Opened 2 years ago
Closed 2 years ago
#22946 closed defect (fixed)
NullPointerException in DrawnPolyLine#autoSimplify
Reported by: | anonymous | Owned by: | akks |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin FastDraw | Version: | |
Keywords: | template_report | Cc: |
Description ¶
What steps will reproduce the problem? ¶
- bug fixing
- no error popup
- josm is not a virus
What is the expected result? ¶
popup error
What happens instead? ¶
no error
Please provide any additional information below. Attach a screenshot if possible. ¶
fastdraw is a plugin when you can draw anything FAST! (works with autoclicker too)
Revision:18646 Build-Date:2023-01-30 15:15:00 Identification: JOSM/1.5 (18646 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19045) Memory Usage: 1167 MB / 2018 MB (277 MB allocated, but free) Java version: 17.0.6+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (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: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.18646, --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] Dataset consistency test: No problems found Plugins: + FastDraw (36066) + PicLayer (1.0.2) + SimplifyArea (36066) + alignways (36079) + buildings_tools (36011) + canvec_helper (35893) + continuosDownload (105) + fastdriveway (v1.0.1) + measurement (36066) + notesolver (0.5.0) + terracer (36079) Tagging presets: + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/UA.zip Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://www.dropbox.com/s/qo3ai47fpv241jf/Styles_Fixme_and_Notes.zip?raw=1 Last errors/warnings: - 95054.538 W: Warning - <html>The data to be uploaded participates in unresolved conflicts of layer 'Data Layer 1'.<br>You have to resolve them first.</html> - 95148.263 W: Warning - <html>The data to be uploaded participates in unresolved conflicts of layer 'Data Layer 1'.<br>You have to resolve them first.</html> - 141373.760 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141374.813 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141375.182 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141375.425 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141375.634 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141375.859 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141376.070 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null - 141376.233 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null OSM API: https://www.opengeofiction.net/api === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (23) of main java.lang.NullPointerException: Cannot invoke "java.util.LinkedList.size()" because "this.simplePoints" is null at org.openstreetmap.josm.plugins.fastdraw.DrawnPolyLine.autoSimplify(DrawnPolyLine.java:159) at org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode.doKeyPressed(FastDrawingMode.java:425) at org.openstreetmap.josm.gui.util.AdvancedKeyPressDetector.processKeyEvent(AdvancedKeyPressDetector.java:130) at org.openstreetmap.josm.gui.util.AdvancedKeyPressDetector.eventDispatched(AdvancedKeyPressDetector.java:163) at java.desktop/java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.desktop/java.awt.Toolkit.notifyAWTEventListeners(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.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(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.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)
Change History (3)
comment:1 by , 2 years ago
Component: | Core → Plugin FastDraw |
---|---|
Owner: | changed from | to
comment:2 by , 2 years ago
Summary: | fastdraw issues... → NullPointerException in DrawnPolyLine#autoSimplify |
---|
comment:3 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 36082/osm: