Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#15387 closed defect (fixed)

IAE occurs when pasting tags into relation editor using "Paste tags from buffer"

Reported by: anonymous Owned by: Don-vip
Priority: normal Milestone: 17.09
Component: Core Version:
Keywords: regression relation copy paste command Cc: Don-vip

Description (last modified by bastiK)

What steps will reproduce the problem?

  1. Copy some keys (f.e. address Details)
  2. paste them into a multipoygon with "Paste tags from buffer" (German: "Merkmale aus dem Speicher einfügen")

What is the expected result?

What happens instead?

Error occurs

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-10-01 19:25:11 +0200 (Sun, 01 Oct 2017)
Build-Date:2017-10-02 01:34:05
Revision:12914
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12914 de) Windows 7 64-Bit
OS Build number: Windows 7 Professional (7601)
Memory Usage: 429 MB / 989 MB (212 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ DirectUpload (33182)
+ FixAddresses (33182)
+ austriaaddresshelper (1495805712)
+ buildings_tools (33004)
+ turnrestrictions (33537)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Parameter 'data' must not be null
- E: Handled by bug report queue: java.lang.IllegalArgumentException: Parameter 'data' must not be null


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (17) of main
java.lang.IllegalArgumentException: Parameter 'data' must not be null
	at org.openstreetmap.josm.tools.CheckParameterUtil.ensureParameterNotNull(CheckParameterUtil.java:135)
	at org.openstreetmap.josm.command.Command.<init>(Command.java:173)
	at org.openstreetmap.josm.command.ChangePropertyCommand.<init>(ChangePropertyCommand.java:81)
	at org.openstreetmap.josm.command.ChangePropertyCommand.<init>(ChangePropertyCommand.java:95)
	at org.openstreetmap.josm.gui.datatransfer.importers.AbstractTagPaster.importTagsOn(AbstractTagPaster.java:50)
	at org.openstreetmap.josm.gui.datatransfer.OsmTransferHandler.importTags(OsmTransferHandler.java:46)
	at org.openstreetmap.josm.gui.datatransfer.OsmTransferHandler.pasteTags(OsmTransferHandler.java:83)
	at org.openstreetmap.josm.gui.tagging.TagTable$PasteAction.actionPerformed(TagTable.java:280)
	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$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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 (8)

comment:1 by bastiK, 6 years ago

Cc: Don-vip added
Description: modified (diff)
Keywords: regression added; template_report removed
Milestone: 17.09

comment:2 by Don-vip, 6 years ago

Owner: changed from team to Don-vip
Status: newassigned

comment:3 by Don-vip, 6 years ago

Summary: Error occurs when pasting address details into a multiplygonIAE occurs when pasting address details into a multipolygon

comment:4 by Don-vip, 6 years ago

Keywords: relation copy paste command added
Summary: IAE occurs when pasting address details into a multipolygonIAE occurs when pasting tags into relation editor using "Paste tags from buffer"

comment:5 by Don-vip, 6 years ago

Resolution: fixed
Status: assignedclosed

In 12920/josm:

fix #15387 - IAE occurs when pasting tags into relation editor using "Paste tags from buffer" (regression from #13036)

comment:6 by bastiK, 6 years ago

Unit test is complaining.

comment:7 by Don-vip, 6 years ago

In 12922/josm:

see #15387 - fix unit test

comment:8 by Don-vip, 6 years ago

Unit tests are ungrateful. Always complaining!

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.