Modify

Opened 11 years ago

Closed 11 years ago

#9419 closed defect (fixed)

wikipedia plugin broken

Reported by: anonymous Owned by: simon04
Priority: major Milestone:
Component: Plugin wikipedia Version: latest
Keywords: Cc:

Description

the search for articles with this coordinates works. But
1) the detection of existing links (colored icons) does not work.
2) selecting an article name and adding it to an osm feature inserts:
wikipedia=null:null
3) opening an selected article crashes the plugin. (report submitted on windows and debian)

Attachments (0)

Change History (5)

comment:1 by Don-vip, 11 years ago

Owner: changed from simon04 to anonymous
Status: newneedinfo

Please supply more info:

  • "this coordinates" -> what coordinates ?
  • "existing links" -> can you give them ?
  • "selected article" -> what article ?
  • "crash" -> can you please attach the crash report ? (it's automatically copied to the system buffer)

Thanks.

Remember the more info you give, the easier it's for us to understand and fix bugs. A screenshot can usually be helpful too.

comment:2 by anonymous, 11 years ago

have you tried it?
Since a few days i see this problems at any place (tested in US and DE). Thats why i did not provided more data.
But no problem:

viewing the area around way 37449517 in berlin, wikipedia plugin is configured at "de".
1) clicking the left button (load coordinates) find a lot of hits from german wikipedia. But no article has an green or gray icon (as in http://josm.openstreetmap.de/raw-attachment/wiki/Help/Plugin/Wikipedia/wikipedia.png)
2) selecting "Reichstagsgebäude" in the list and the relation 2201742, pushing the button with the pluses "add article" ("Merkmal hinzufügen" in german) => wikipedia=de:Reichstagsgebäude changed to wikipedia=null:null
3) sure:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-12-12 02:34:31
Last Changed Author: Don-vip
Revision: 6472
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-12-11 20:56:11 +0100 (Wed, 11 Dec 2013)
Last Changed Rev: 6472

Identification: JOSM/1.5 (6472 de) Windows 7 64-Bit
Memory Usage: 135 MB / 247 MB (53 MB allocated, but free)
Java version: 1.7.0_45, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.policy=file:C:\Program Files (x86)\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=C:\Program Files (x86)\Java\jre7\bin, -Djnlpx.origFilenameArg=C:\Program Files (x86)\josm.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files (x86)\Java\jre7\lib\javaws.jar;C:\Program Files (x86)\Java\jre7\lib\deploy.jar;C:\Program Files (x86)\Java\jre7\lib\plugin.jar, -Djnlpx.splashport=61883, -Djnlpx.jvm=C:\Program Files (x86)\Java\jre7\bin\javaw.exe]
Dataset consistency test: No problems found

Plugin: FixAddresses (29971)
Plugin: OpeningHoursEditor (30117)
Plugin: RoadSigns (30034)
Plugin: buildings_tools (30057)
Plugin: imagery_offset_db (29832)
Plugin: junctionchecking (29854)
Plugin: log4j (29853)
Plugin: mirrored_download (30106)
Plugin: openstreetbugs (30004)
Plugin: public_transport (29862)
Plugin: reltoolbox (29854)
Plugin: reverter (30031)
Plugin: terracer (30072)
Plugin: todo (29155)
Plugin: turnrestrictions (30110)
Plugin: undelete (29854)
Plugin: utilsplugin2 (30017)
Plugin: waydownloader (29908)
Plugin: wikipedia (30100)

java.lang.NullPointerException
	at org.wikipedia.WikipediaApp$WikipediaEntry.getBrowserUrl(WikipediaApp.java:316)
	at org.wikipedia.WikipediaToggleDialog$OpenWikipediaArticleAction.actionPerformed(WikipediaToggleDialog.java:229)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(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$200(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$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.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$1.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)
Last edited 11 years ago by Don-vip (previous) (diff)

in reply to:  2 comment:3 by Don-vip, 11 years ago

Owner: changed from anonymous to simon04
Status: needinfonew

Replying to anonymous:

have you tried it?

I didn't have the time to try, sorry. Complete bug reports sometimes allow us to understand the bug without having to reproduce it, and that makes us save time :)

Since a few days i see this problems at any place (tested in US and DE). Thats why i did not provided more data.

Ok thanks. Don't hesitate to click on the "report a bug" feature when a crash occurs, it automatically prefills the bug report and provides us this technical info :)

comment:4 by simon04, 11 years ago

I would imagine that it might be in correlation to the Wikimedia Toolserver to Tool Labs migration, but I've to investigate …

comment:5 by simon04, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in [o30125], [o30126].

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.