Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#8865 closed defect (fixed)

Plugin czaddress can cause NPE in core

Reported by: Don-vip Owned by: team
Priority: normal Milestone:
Component: Plugin czechaddress Version:
Keywords: Cc:

Description

What steps will reproduce the problem?

  1. Start JOSM with csaddress plugin installed
  2. without any mapview click on windows -> Tovarna na adresy

What is the expected result?

  • No idea

What happens instead?

  • NPE in core
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-07-10 01:34:22
Last Changed Author: stoecker
Revision: 6060
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-07-08 22:13:24 +0200 (Mon, 08 Jul 2013)
Last Changed Rev: 6060

Identification: JOSM/1.5 (6060 en_GB) Windows 8 64-Bit
Memory Usage: 931 MB / 1813 MB (222 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.policy=file:C:\Program Files\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=C:\Program Files\Java\jre7\bin, -Djnlpx.origFilenameArg=C:\Users\Vincent\AppData\LocalLow\IBM\Java\Deployment\cache\6.0\53\5c3539b5-63d1a346, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\plugin.jar, -Djnlpx.splashport=49422, -Djnlp.application.href=http://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=C:\Program Files\Java\jre7\bin\javaw.exe, -Djnlpx.vmargs=-Djnlp.application.href=http://josm.openstreetmap.de/download/josm-latest.jnlp]

Plugin: ColumbusCSV (29500)
Plugin: DirectDownload (29435)
Plugin: DirectUpload (29719)
Plugin: ElevationProfile (29611)
Plugin: FastDraw (29596)
Plugin: FixAddresses (29661)
Plugin: HouseNumberTaggingTool (29487)
Plugin: InfoMode (29435)
Plugin: OpeningHoursEditor (29435)
Plugin: RoadSigns (29699)
Plugin: SimplifyArea (29435)
Plugin: TombPlugin (41)
Plugin: Tracer (29596)
Plugin: alignways (29435)
Plugin: buildings_tools (29596)
Plugin: cadastre-fr (29734)
Plugin: contourmerge (1005)
Plugin: czechaddress (29727)
Plugin: dataimport (29435)
Plugin: download_along (29746)
Plugin: ext_tools (29435)
Plugin: geotools (29435)
Plugin: gpxfilter (29435)
Plugin: imagery-xml-bounds (29710)
Plugin: imagery_offset_db (29467)
Plugin: importvec (29435)
Plugin: jts (29613)
Plugin: junctionchecking (29596)
Plugin: lakewalker (29435)
Plugin: log4j
Plugin: measurement (29750)
Plugin: merge-overlap (29645)
Plugin: michigan_left (29435)
Plugin: mirrored_download (29643)
Plugin: opendata (29706)
Plugin: openstreetbugs (29435)
Plugin: openvisible (29435)
Plugin: osmarender (29639)
Plugin: pbf (29708)
Plugin: poly (29711)
Plugin: print (29529)
Plugin: proj4j (29435)
Plugin: public_transport (29661)
Plugin: reltoolbox (29535)
Plugin: reverter (29663)
Plugin: routing
Plugin: scripting (30540)
Plugin: tag2link (29461)
Plugin: tageditor (29435)
Plugin: terracer (29623)
Plugin: turnlanes (29435)
Plugin: turnrestrictions (29435)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29742)
Plugin: videomapping
Plugin: waydownloader (29435)
Plugin: waypoint_search (29435)
Plugin: wayselector (29435)
Plugin: wikipedia (29523)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.ToggleDialog$ToggleDialogAction.actionPerformed(ToggleDialog.java:244)
	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.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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)

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by Don-vip

In 6061/josm:

see #8865 - fix NPE in core

comment:3 Changed 8 years ago by Don-vip

Resolution: fixed
Status: newclosed

Fixed in [o29765].

Modify Ticket

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