Opened 7 years ago

Closed 7 years ago

#8618 closed defect (fixed)

Wikipedia plugin: http url when adding names leads to exception

Reported by: akks Owned by: simon04
Priority: normal Milestone:
Component: Plugin wikipedia Version: latest
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Install wikipedia plugin
  2. Download and select object with http Wikipedia link, like
  3. Tools / get names from Wikipedia

What is the expected result?
Add names or say about unsupported/deprecated url in wikipedia tag

What happens instead? Exception:

Build-Date: 2013-04-18 19:20:12
Revision: 5879
Is-Local-Build: true

Identification: JOSM/1.5 (5879 SVN ru) Windows 7 64-Bit
Memory Usage: 164 MB / 910 MB (40 MB allocated, but free)
Java version: 1.7.0_17, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugin: FastDraw (29457)
Plugin: ImageryCache (29484)
Plugin: InfoMode (29435)
Plugin: buildings_tools (29435)
Plugin: imagery_offset_db (29467)
Plugin: measurement (29435)
Plugin: mirrored_download (29505)
Plugin: reltoolbox (29459)
Plugin: reverter (29503)
Plugin: todo (29155)
Plugin: utilsplugin2 (29435)
Plugin: wikipedia (29435)

java.lang.RuntimeException: Server returned HTTP response code: 503 for URL:
	at org.wikipedia.WikipediaApp.getInterwikiArticles(
	at org.wikipedia.WikipediaAddNamesAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.AbstractButton.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$200(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Caused by: Server returned HTTP response code: 503 for URL:
	at org.wikipedia.WikipediaApp.getInterwikiArticles(
	... 40 more

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Don-vip

Component: CorePlugin wikipedia
Owner: changed from team to simon04

comment:2 Changed 7 years ago by simon04

Did you set up a Wikipedia language?

comment:3 Changed 7 years ago by akks

No, but it seems it was detected automatically.

I loaded center of London (near plcace point) for testing, object with en:... tags is processed correctly (Trafalgar square, is I remember) but
Nelson column monument contain full url in wikipedia tag (which is wrong?) and the plugin gives the exception.

comment:4 Changed 7 years ago by simon04

Resolution: fixed
Status: newclosed

Thanks for the bug report!

Fixed in [o29521], [o29522].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.