Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15320 closed defect (fixed)

IAE: Parameter 'data' must not be null

Reported by: vergute@… Owned by: Zverikk
Priority: normal Milestone:
Component: Plugin reltoolbox Version:
Keywords: template_report Cc:

Description (last modified by Klumbumbus)

What steps will reproduce the problem?

  1. add multipolygon

What is the expected result?

What happens instead?

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-09-17 20:52:29 +0200 (Sun, 17 Sep 2017)
Build-Date:2017-09-18 01:32:11
Revision:12875
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12875 de) Mac OS X
Memory Usage: 808 MB / 1820 MB (673 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 69732928 1280x800
Maximum Screen Size: 1280x800
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/31/583aa85f-2b3fc646, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Dmacosx.jnlpx.dock.name=JOSM (development version), -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/16/47ee53d0-32991b0e.icns, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp , -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (33185)
+ apache-commons (33517)
+ austriaaddresshelper (1495805712)
+ continuosDownload (64)
+ photoadjust (33303)
+ reltoolbox (33530)
+ turnrestrictions (33537)
+ undelete (33480)
+ utilsplugin2 (33579)

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-2 (53) of javawsApplicationThreadGroup
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.ChangeCommand.<init>(ChangeCommand.java:63)
	at org.openstreetmap.josm.command.ChangeCommand.<init>(ChangeCommand.java:37)
	at relcontext.relationfix.MultipolygonFixer.fixRelation(MultipolygonFixer.java:48)
	at relcontext.actions.SortAndFixAction.fixRelation(SortAndFixAction.java:81)
	at relcontext.actions.AddRemoveMemberAction.actionPerformed(AddRemoveMemberAction.java:78)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Attachments (0)

Change History (12)

comment:1 by stoecker, 7 years ago

Component: CorePlugin reltoolbox
Owner: changed from team to Zverikk

comment:2 by Klumbumbus, 7 years ago

Description: modified (diff)
Summary: reltoolbox Multipolygon Hinzufügen erzeugt nun generell FehlermeldungIAE: Parameter 'data' must not be null

comment:3 by vergute@…, 7 years ago

What steps will reproduce the problem?

Mac OS 10.12.6
JOSM V 12875

  1. write Polygon
  2. use JOSM Plugin Reltoolbox, create multipolygon
  3. Write another Polygon
  4. add first Multipolygon

Result Crash

comment:4 by Zverikk, 7 years ago

Sorry, cannot reproduce this. Please rephrase steps and check that it is still valid for the latest JOSM.

comment:5 by vergute@…, 7 years ago

Danke für die Bemühung, das Problem tritt offensichtlich nur bei folgender JOSM Version auf https://josm.openstreetmap.de/download/josm-latest.jnlp
Mac und Microsoft PC gleichermaßen betroffen. (Plugin reltoolbox installiert).
Die JOSM testet Version funktioniert hingegen einwandfrei. Ich werde also einstweilen diese Version verwenden. Vielen Dank.

comment:6 by anonymous, 7 years ago

Today JOSM 12.914 and 15 was published. And I have no more fallback. the problem is now permanent.

comment:7 by Don-vip, 7 years ago

Ticket #15386 has been marked as a duplicate of this ticket.

comment:8 by Don-vip, 7 years ago

Resolution: fixed
Status: newclosed

Fixed in [o33694:33695].

comment:9 by Zverikk, 7 years ago

Thanks for fixing this, Vincent. I couldn't come up with a quick fix a week earlier.

comment:10 by Don-vip, 7 years ago

You're welcome. It's kinda my fault if plugins are affected by this change :) But it's for the greater good!

comment:11 by Klumbumbus, 7 years ago

very similar error at #15407 with latest plugin version.

at relcontext.relationfix.MultipolygonFixer.fixRelation(MultipolygonFixer.java:48)

is there

at relcontext.relationfix.BoundaryFixer.fixRelation(BoundaryFixer.java:67)

comment:12 by Klumbumbus, 7 years ago

and #15412 with

at relcontext.relationfix.PublicTransportFixer.fixRelation(PublicTransportFixer.java:65)

Modify Ticket

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