Hi Jukka,

Thanks for reporting, should be fixed in r4837
UnaryUnionOp returns unexpectedly a null for an empty list input (while I was expecting an empty geometry as output)

Michaël

Le 08/03/2016 12:54, Rahkonen Jukka (MML) a écrit :

Hi,

I have tried to dissolve features (points) by a common attribute with the new Dissolve tool but it gives Null point exception if I have the default Union/Merge aggregation selected.

java.lang.NullPointerException

at org.openjump.core.ui.plugin.tools.aggregate.Aggregators$Union.getResult(Aggregators.java:184)

at org.openjump.core.ui.plugin.tools.aggregate.Aggregators$Union.getResult(Aggregators.java:163)

at org.openjump.core.ui.plugin.tools.aggregate.FeatureCollectionAggregator.getAggregatedFeatureCollection(FeatureCollectionAggregator.java:80)

at org.openjump.core.ui.plugin.tools.Dissolve2PlugIn.run(Dissolve2PlugIn.java:204)

at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152)

at java.lang.Thread.run(Unknown Source)

Method “Collect” does not through NPE. Both two old Dissolve tools gives result without complaints. Should I not use Union/Merge for points or what might be the reason for NPE?

Environment:

Version 20160217 snapshot rev.4824

Java 1.7.0_07(amd64)

Windows 7

-Jukka Rahkonen-



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval


_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to