Modify

Opened 7 years ago

Closed 7 years ago

#13716 closed defect (fixed)

null pointer with wikipedia plugin

Reported by: wouterv.dplas@… Owned by: simon04
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. open the Wikipedia plugin
  2. search on the coordinates
  3. double click on a item while there is no osm layer

What is the expected result?

it gives an error that stated that there is no layer

What happens instead?

this null pointer

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Build-Date:2016-09-05 22:21:00
Revision:10966
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10966 en) Windows 8.1 64-Bit
Memory Usage: 537 MB / 910 MB (145 MB allocated, but free)
Java version: 1.8.0_91-b15, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ Mapillary (v1.3.1)
+ OpeningHoursEditor (32699)
+ PicLayer (32796)
+ apache-commons (32699)
+ apache-http (32699)
+ buildings_tools (32944)
+ continuosDownload (53)
+ download_along (32946)
+ ejml (32680)
+ geotools (32813)
+ indoorhelper (32680)
+ jts (32699)
+ opendata (32898)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)
+ wikipedia (32884)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface-DataEntry&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1

Last errors/warnings:
- W: java.net.SocketException: Socket Closed
- E: java.net.SocketException: Socket Closed
- W: java.net.SocketException: Socket Closed
- E: java.net.SocketException: Socket Closed
- W: java.net.SocketException: Socket Closed
- E: java.net.SocketException: Socket Closed
- W: java.net.SocketException: Socket Closed
- E: java.net.SocketException: Socket Closed
- W: java.net.SocketException: Socket Closed
- E: java.net.SocketException: Socket Closed


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (21) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.actions.search.SearchAction$SearchTask.newSearchTask(SearchAction.java:652)
	at org.openstreetmap.josm.actions.search.SearchAction$SearchTask.newSearchTask(SearchAction.java:641)
	at org.openstreetmap.josm.actions.search.SearchAction.search(SearchAction.java:533)
	at org.openstreetmap.josm.actions.search.SearchAction.search(SearchAction.java:529)
	at org.wikipedia.WikipediaToggleDialog$1$1.mouseClicked(WikipediaToggleDialog.java:80)
	at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by Klumbumbus, 7 years ago

Component: CorePlugin wikipedia
Owner: changed from team to simon04

comment:2 by simon04, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in [o33017:33018].

Modify Ticket

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