Modify ↓
Opened 4 years ago
Closed 4 years ago
#20428 closed defect (fixed)
NPE in AdjacentNodesAction.updateEnabledState()
Reported by: | Owned by: | GerdP | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin utilsplugin2 | Version: | |
Keywords: | template_report regression | 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.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-12-28 22:03:23 +0100 (Mon, 28 Dec 2020) Build-Date:2020-12-30 02:30:55 Revision:17428 Relative:URL: ^/trunk Identification: JOSM/1.5 (17428 en) Mac OS X 10.15.7 OS Build number: Mac OS X 10.15.7 (19H114) Memory Usage: 858 MB / 1820 MB (114 MB allocated, but free) Java version: 1.8.0_281-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 69733568 1440×900 (scaling 1.00×1.00) Display 459088258 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-4e452947, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-6d50fdf6.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp , -Djnlpx.jvm="<java.home>/bin/java"] Dataset consistency test: No problems found Plugins: + buildings_tools (35669) + imagery_offset_db (35640) + terracer (35640) + utilsplugin2 Last errors/warnings: - 03691.932 E: Error header: Precondition failed: Node 8132828112 is still used by ways 873311796. - 03692.057 E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=412, Error Header=<Precondition failed: Node 8132828112 is still used by ways 873311796.> - 03692.066 E: Object still in use - <html><strong>Failed</strong> to delete <strong>node 8132828112</strong>. It is still referred to by way 873311796.<br>Please load the way, remove the reference to the node, and upload again.<br><br>Click <strong>Prepare conflict resolution</strong> to load them now.<br>If necessary JOSM will create conflicts which you can resolve in the Conflict Resolution Dialog.</html> - 03767.648 W: Warning - <html>The data to be uploaded participates in unresolved conflicts of layer 'OSM Data'.<br>You have to resolve them first.</html> - 33641.044 E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin utilsplugin2. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NullPointerException - 33641.051 W: Disable plugin - Could not load plugin 'utilsplugin2'. Delete from preferences? - 40204.610 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-2 (55) of javawsApplicationThreadGroup java.lang.NullPointerException at org.openstreetmap.josm.plugins.utilsplugin2.selection.AdjacentNodesAction.updateEnabledState(AdjacentNodesAction.java:101) at org.openstreetmap.josm.actions.JosmAction.updateEnabledStateOnCurrentSelection(JosmAction.java:423) at org.openstreetmap.josm.actions.JosmAction.updateEnabledStateOnCurrentSelection(JosmAction.java:411) at org.openstreetmap.josm.plugins.utilsplugin2.selection.AdjacentNodesAction.updateEnabledState(AdjacentNodesAction.java:94) at org.openstreetmap.josm.actions.JosmAction$LayerChangeAdapter.layerRemoving(JosmAction.java:451) at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerRemoving(LayerManager.java:476) at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveSingleLayer(LayerManager.java:278) at org.openstreetmap.josm.gui.layer.MainLayerManager.realRemoveSingleLayer(MainLayerManager.java:307) at org.openstreetmap.josm.gui.layer.LayerManager.realRemoveLayer(LayerManager.java:266) at org.openstreetmap.josm.gui.layer.LayerManager.lambda$removeLayer$1(LayerManager.java:248) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:246) at org.openstreetmap.josm.gui.layer.LayerManager.removeLayer(LayerManager.java:248) at org.openstreetmap.josm.gui.layer.LayerManager.realResetState(LayerManager.java:515) at org.openstreetmap.josm.gui.layer.MainLayerManager.realResetState(MainLayerManager.java:493) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:246) at org.openstreetmap.josm.gui.layer.LayerManager.resetState(LayerManager.java:506) at org.openstreetmap.josm.gui.MainTermination.run(MainTermination.java:43) at org.openstreetmap.josm.spi.lifecycle.Lifecycle.exitJosm(Lifecycle.java:117) at org.openstreetmap.josm.gui.MainApplication.exitJosm(MainApplication.java:496) at org.openstreetmap.josm.gui.MainApplication$DefaultNativeOsCallback.handleQuitRequest(MainApplication.java:1416) at org.openstreetmap.josm.tools.PlatformHookOsx.invoke(PlatformHookOsx.java:180) at com.sun.proxy.$Proxy0.handleQuitRequestWith(Unknown Source) at com.apple.eawt._AppEventHandler$_QuitDispatcher.performUsing(_AppEventHandler.java:395) at com.apple.eawt._AppEventHandler$_QuitDispatcher.performUsing(_AppEventHandler.java:388) at com.apple.eawt._AppEventHandler$_AppEventDispatcher$1.run(_AppEventHandler.java:516) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Attachments (0)
Change History (2)
comment:1 by , 4 years ago
Component: | Core → Plugin utilsplugin2 |
---|---|
Keywords: | regression added |
Owner: | changed from | to
Status: | new → assigned |
Summary: | Just another bug report → NPE in AdjacentNodesAction.updateEnabledState() |
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 35691/osm: