Modify

Opened 6 years ago

Closed 6 years ago

#17985 closed defect (duplicate)

NPE: name at surveyor.ButtonDescription.createComponent

Reported by: niikoo Owned by: team
Priority: normal Milestone:
Component: Plugin surveyor Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Click 'GPS' in menu

Click 'Surveyor...'

Click 'Update'

What is the expected result?

That it should find and fix the missing plugin(s).

What happens instead?

I got an error message, and I can't use this plugin.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-07-10 00:52:47 +0200 (Wed, 10 Jul 2019)
Revision:15238
Build-Date:2019-07-10 01:30:51
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15238 en) Linux Ubuntu 19.04
Memory Usage: 2820 MB / 16108 MB (1269 MB allocated, but free)
Java version: 11.0.3+7-Ubuntu-1ubuntu219.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Screen: :0.0 2048x1152, :0.1 1920x1080
Maximum Screen Size: 2048x1152
Java package: openjdk-11-jre:amd64-11.0.3+7-1ubuntu2~19.04.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-21
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20181227-1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (34908)
+ BuildingGeneralization (23)
+ ColorPlugin (1537115529)
+ CommandLine (34977)
+ Create_grid_of_ways (34908)
+ DirectDownload (34977)
+ DirectUpload (35041)
+ DxfImport (1013)
+ EasyPresets (1537621333)
+ ElevationProfile (35066)
+ FastDraw (34977)
+ ImageWayPoint (34908)
+ ImportImagePlugin (34908)
+ ImproveOsm (172)
+ ImproveWay (26)
+ InfoMode (34908)
+ Mapillary (1.5.18)
+ MovementAlert (1511141840)
+ NanoLog (34977)
+ OpenStreetCam (246)
+ OpeningHoursEditor (34977)
+ PicLayer (35030)
+ PolygonCutOut (v0.7)
+ QuickLabel (18)
+ ShapeTools (1240)
+ SimplifyArea (34977)
+ alignways (34977)
+ apache-commons (34908)
+ apache-http (34908)
+ areaselector (349)
+ austriaaddresshelper (57)
+ auto_tools (73)
+ buildings_tools (34982)
+ canvec_helper (34908)
+ changeset-viewer (22)
+ colorscheme (34908)
+ config (1547306483)
+ conflation (0.6.3)
+ continuosDownload (82)
+ contourmerge (v0.1.4)
+ editgpx (34908)
+ ejml (35049)
+ eventbus (34908)
+ ext_tools (34988)
+ geohash (53)
+ geojson (124)
+ geotools (34908)
+ gpsblam (34908)
+ gpxfilter (34908)
+ graphview (34977)
+ gridify (1556174547)
+ gson (34908)
+ imagery-xml-bounds (35023)
+ imagery_offset_db (34908)
+ importvec (35074)
+ javafx-unixoid (34908)
+ jaxb (35014)
+ jna (34908)
+ jogl (1.2.3)
+ jts (35064)
+ junctionchecking (34977)
+ kartverketimport (35)
+ livegps (34977)
+ log4j (34908)
+ mapdust (35039)
+ markseen (13)
+ mbtiles (v2.5.0)
+ measurement (35051)
+ merge-overlap (35072)
+ namemanager (34977)
+ o5m (34908)
+ opendata (34997)
+ openqa (1557250801)
+ openvisible (34908)
+ osm-obj-info (51)
+ pbf (35033)
+ pdfimport (34977)
+ photo_geotagging (34908)
+ photoadjust (34977)
+ pointInfo (34908)
+ poly (34991)
+ rasterfilters (34908)
+ reltoolbox (34977)
+ reverter (34999)
+ scripting (30796)
+ splinex (34908)
+ surveyor (34977)
+ tageditor (34977)
+ tagging-preset-tester (34908)
+ terracer (34977)
+ todo (30306)
+ tofix (487)
+ undelete (34977)
+ utilsplugin2 (34977)
+ waydownloader (34977)
+ waypoint_search (34977)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Tracks&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1

Map paint styles:
+ https://gist.github.com/<user.name>/f55491d1cbe6ae43f24add124d73072f/raw/c344327c9c0c8a1d258bac018ec296dd93c7d90d/JOSM-iD-style.mapcss.css
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Whitewater&zip=1
- https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/TigerReviewedNo&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1
- <josm.userdata>/styles/sit.mapcss

Last errors/warnings:
- W: Conflicts detected - <html>There was 1 conflict detected.</html>
- E: [99][Interceptor]
- E: [99][Interceptor]
- E: [99][Interceptor]
- E: Failed to locate image 'styles/standard/vehicle/tunnel.png'
- E: Failed to locate image 'styles/standard/vehicle/tunnel.png'
- E: Failed to locate image 'styles/standard/vehicle/tunnel.png'
- E: Failed to locate image 'styles/standard/vehicle/tunnel.png'
- E: Handled by bug report queue: java.lang.NullPointerException: name
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>opendata</li><li>tagging-preset-tester</li><li>ShapeTools</li><li>editgpx</li><li>utilsplugin2</li><li>pdfimport</li><li>EasyPresets</li><li>namemanager</li><li>openqa</li><li>PicLayer</li><li>surveyor</li><li>ejml</li><li>tofix</li><li>ColorPlugin</li><li>ImageWayPoint</li><li>eventbus</li><li>openvisible</li><li>javafx-unixoid</li><li>photo_geotagging</li><li>NanoLog</li><li>ImproveWay</li><li>apache-commons</li><li>conflation</li><li>geotools</li><li>DxfImport</li><li>measurement</li><li>OpenStreetCam</li><li>continuosDownload</li><li>jaxb</li><li>canvec_helper</li><li>PolygonCutOut</li><li>importvec</li><li>kartverketimport</li><li>Create_grid_of_ways</li><li>pointInfo</li><li>jts</li><li>splinex</li><li>osm-obj-info</li><li>FastDraw</li><li>todo</li><li>markseen</li><li>waypoint_search</li><li>ImportImagePlugin</li><li>OpeningHoursEditor</li><li>areaselector</li><li>buildings_tools</li><li>config</li><li>merge-overlap</li><li>tageditor</li><li>o5m</li><li>SimplifyArea</li><li>alignways</li><li>geohash</li><li>AddrInterpolation</li><li>terracer</li><li>jna</li><li>contourmerge</li><li>BuildingGeneralization</li><li>ElevationProfile</li><li>ImproveOsm</li><li>Mapillary</li><li>reverter</li><li>ext_tools</li><li>pbf</li><li>imagery-xml-bounds</li><li>undelete</li><li>MovementAlert</li><li>waydownloader</li><li>livegps</li><li>reltoolbox</li><li>mbtiles</li><li>scripting</li><li>gridify</li><li>jogl</li><li>rasterfilters</li><li>log4j</li><li>auto_tools</li><li>imagery_offset_db</li><li>junctionchecking</li><li>InfoMode</li><li>gpsblam</li><li>photoadjust</li><li>gpxfilter</li><li>mapdust</li><li>graphview</li><li>DirectDownload</li><li>changeset-viewer</li><li>DirectUpload</li><li>geojson</li><li>CommandLine</li><li>poly</li><li>colorscheme</li><li>gson</li><li>QuickLabel</li><li>austriaaddresshelper</li><li>apache-http</li></ul>The plugins are not going to be loaded.</html>


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
java.lang.NullPointerException: name
	at java.base/java.util.Objects.requireNonNull(Objects.java:246)
	at org.openstreetmap.josm.tools.ImageProvider.<init>(ImageProvider.java:341)
	at org.openstreetmap.josm.tools.ImageProvider.getIfAvailable(ImageProvider.java:812)
	at org.openstreetmap.josm.plugins.surveyor.ButtonDescription.createComponent(ButtonDescription.java:177)
	at org.openstreetmap.josm.plugins.surveyor.SurveyorComponent.addButton(SurveyorComponent.java:106)
	at org.openstreetmap.josm.plugins.surveyor.SurveyorShowAction.createComponent(SurveyorShowAction.java:153)
	at org.openstreetmap.josm.plugins.surveyor.SurveyorShowAction.createComponent(SurveyorShowAction.java:119)
	at org.openstreetmap.josm.plugins.surveyor.SurveyorShowAction.actionPerformed(SurveyorShowAction.java:56)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	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:4840)
	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 (2)

comment:1 by Don-vip, 6 years ago

Summary: Surveyor plugin error.NPE: name at surveyor.ButtonDescription.createComponent

comment:2 by Don-vip, 6 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #17563.

Modify Ticket

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