Modify

Opened 12 years ago

Closed 12 years ago

#8727 closed defect (fixed)

Don't try to open the Kendzi3d List of models without downloading osm data or opening a .osm file

Reported by: anonymous Owned by: kendzi
Priority: minor Milestone:
Component: Plugin kendzi3d Version: tested
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Open the 3D drop down menu
  3. Click on List of models
  4. Do all of that without downloading or opening any osm data

What is the expected result?
I expected a window with the Point Model List in it to be opened

What happens instead?
I got an error message saying the plugin had stopped working and asking me if I wanted to disable it

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-08 01:34:29
Last Changed Author: stoecker
Revision: 5939
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-07 14:05:08 +0200 (Tue, 07 May 2013)
Last Changed Rev: 5939

Identification: JOSM/1.5 (5939 en) Linux Ubuntu 12.04.2 LTS
Memory Usage: 115 MB / 910 MB (13 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK Server VM
VM arguments: [-Djava.net.useSystemProxies=true]

Plugin: AddrInterpolation (29435)
Plugin: FixAddresses (29519)
Plugin: HouseNumberTaggingTool (29487)
Plugin: ImageWayPoint (29435)
Plugin: InfoMode (29435)
Plugin: OpeningHoursEditor (29435)
Plugin: PicLayer (29531)
Plugin: buildings_tools (29435)
Plugin: download_along (29435)
Plugin: editgpx (29533)
Plugin: geotools (29435)
Plugin: gpsblam (29435)
Plugin: gpxfilter (29435)
Plugin: graphview (29525)
Plugin: jts (29435)
Plugin: kendzi3d (180)
Plugin: kendzi3d-jogl (21)
Plugin: log4j (29435)
Plugin: mapdust (29525)
Plugin: measurement (29579)
Plugin: namemanager (29435)
Plugin: opendata (29505)
Plugin: openstreetbugs (29435)
Plugin: openvisible (29435)
Plugin: osmarender (29435)
Plugin: photo_geotagging (29435)
Plugin: print (29529)
Plugin: reverter (29561)
Plugin: tag2link (29461)
Plugin: todo (29155)
Plugin: turnlanes (29435)
Plugin: turnrestrictions (29435)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29435)
Plugin: waydownloader (29435)
Plugin: waypoint_search (29435)
Plugin: wayselector (29435)
Plugin: wikipedia (29523)
Plugin: wms-turbo-challenge2 (29435)

java.lang.NullPointerException
	at kendzi.josm.kendzi3d.jogl.RenderJOSM.processDatasetEvent(RenderJOSM.java:478)
	at kendzi.josm.kendzi3d.action.PointModelListAction.actionPerformed(PointModelListAction.java:83)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6288)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6053)
	at java.awt.Container.processEvent(Container.java:2045)
	at java.awt.Component.dispatchEventImpl(Component.java:4649)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Component.dispatchEvent(Component.java:4475)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
	at java.awt.Container.dispatchEventImpl(Container.java:2089)
	at java.awt.Window.dispatchEventImpl(Window.java:2587)
	at java.awt.Component.dispatchEvent(Component.java:4475)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
	at java.awt.EventQueue.access$300(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:634)
	at java.awt.EventQueue$2.run(EventQueue.java:632)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$3.run(EventQueue.java:648)
	at java.awt.EventQueue$3.run(EventQueue.java:646)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Attachments (1)

Screenshot - 05192013 - 02:53:53 PM.png (156.9 KB ) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by kendzi, 12 years ago

fixed in v181

comment:2 by kendzi, 12 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

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