Modify

Opened 12 years ago

Closed 12 years ago

#7573 closed defect (fixed)

opendata: NullPointerException

Reported by: simon04 Owned by: Don-vip
Priority: normal Milestone:
Component: Plugin opendata Version:
Keywords: template_report Cc: stoecker

Description

What steps will reproduce the problem?

  1. Open SHP from http://www.tirol.gv.at/applikationen/e-government/data/datenkatalog/umwelt/gewaesser/
  2. Right click on layer
  3. Observe NullPointerException
Build-Date: 2012-04-03 12:13:12
Revision: 5159
Is-Local-Build: true

Identification: JOSM/1.5 (5159 SVN en_GB)
Memory Usage: 1694 MB / 3504 MB (1143 MB allocated, but free)
Java version: 1.7.0_03-icedtea, Oracle Corporation, OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: opendata (28158)

java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.opendata.core.layers.OdDataLayer.getMenuEntries(OdDataLayer.java:144)
	at org.openstreetmap.josm.gui.dialogs.LayerListPopup.<init>(LayerListPopup.java:51)
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$PopupMenuHandler.launch(LayerListDialog.java:1040)
	at org.openstreetmap.josm.gui.widgets.PopupMenuLauncher.mousePressed(PopupMenuLauncher.java:22)
	at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
	at java.awt.Component.processMouseEvent(Component.java:6502)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6270)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4861)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2713)
	at java.awt.Component.dispatchEvent(Component.java:4687)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
	at java.awt.EventQueue.access$000(EventQueue.java:101)
	at java.awt.EventQueue$3.run(EventQueue.java:666)
	at java.awt.EventQueue$3.run(EventQueue.java:664)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:680)
	at java.awt.EventQueue$4.run(EventQueue.java:678)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:90

Attachments (0)

Change History (6)

comment:1 by Don-vip, 12 years ago

Cc: stoecker added
Status: newassigned

Dirk, is it possible to create a "plugin opendata" category ? :)

comment:2 by Don-vip, 12 years ago

Fixed in [o28185] but I got some work in progress to finish before uploading the new jar.

in reply to:  1 ; comment:3 by skyper, 12 years ago

Replying to Don-vip:

Dirk, is it possible to create a "plugin opendata" category ? :)

You can do it by yourself under Admin (most right on the header)

comment:4 by Don-vip, 12 years ago

Component: CorePlugin opendata

in reply to:  3 comment:5 by Don-vip, 12 years ago

Replying to skyper:

You can do it by yourself under Admin (most right on the header)

Yay, thank you ! :)

comment:6 by Don-vip, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed for good in [o28192].

Modify Ticket

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