GIScience / oshdb

OpenStreetMap History Data Analysis Framework
https://ohsome.org
GNU Lesser General Public License v3.0
110 stars 18 forks source link

ComputeUserUndeclaredException when extracting deleted objects in Brazil #483

Open SlowMo24 opened 2 years ago

SlowMo24 commented 2 years ago

Bug Description

Extraction of deleted elements in Belo Horizonte, Brazil impossible.

How to Reproduce

Check out this code and replace data/bbox.geojson-content with bbox.geojson.txt

Results:

class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to obtain remote job result policy for result fromComputeTask.result(..) method due to undeclared user exception (will fail the whole task): GridJobResultImpl [job=org.heigit.ohsome.oshdb.api.mapreducer.backend.OSHDBIgniteMapReduceComputeTask$1@45e420aa, sib=GridJobSiblingImpl [sesId=c38bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd, jobId=148bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd, nodeId=e8013705-6f8f-4f24-b250-2bedafd3dc47, isJobDone=false], jobCtx=GridJobContextImpl [jobId=148bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd, t
imeoutObj=null, attrs=HashMap {}], node=TcpDiscoveryNode [id=e8013705-6f8f-4f24-b250-2bedafd3dc47, consistentId=03b79ec0-e56d-4726-b319-adea145d5fc9, addrs=ArrayList [127.0.0.1, 172.17.0.1, 172.20.0.1, 1
72.22.0.1, 172.23.0.1, 172.24.0.1, 172.26.0.1, 172.27.0.1, 192.168.128.1, 193.197.73.186], sockAddrs=null, discPort=47500, order=1, intOrder=1, lastExchangeTime=1669146131108, loc=false, ver=2.14.0#20220
929-sha1:951e8deb, isClient=false], ex=class org.apache.ignite.compute.ComputeUserUndeclaredException: Failed to execute job due to unexpected runtime exception [jobId=148bcd0a481-7a934f38-e9e2-4bbf-ad93
-7cdf457a43cd, ses=GridJobSessionImpl [ses=GridTaskSessionImpl [taskName=org.heigit.ohsome.oshdb.api.mapreducer.backend.OSHDBIgniteMapReduceComputeTask, dep=SharedDeployment [rmv=false, super=GridDeploym
ent [ts=1669146134423, depMode=SHARED, clsLdr=GridDeploymentClassLoader [id=a89b84c7481-e8013705-6f8f-4f24-b250-2bedafd3dc47, singleNode=false, nodeLdrMap=HashMap {7a934f38-e9e2-4bbf-ad93-7cdf457a43cd=f2
8bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd}, p2pTimeout=60000, usrVer=0, depMode=SHARED, quiet=false, clsLdrHierarchy=org.apache.ignite.internal.managers.deployment.GridDeploymentClassLoader->jdk.int
ernal.loader.ClassLoaders$AppClassLoader->jdk.internal.loader.ClassLoaders$PlatformClassLoader], clsLdrId=a89b84c7481-e8013705-6f8f-4f24-b250-2bedafd3dc47, userVer=0, loc=false, sampleClsName=org.heigit.
ohsome.oshdb.api.mapreducer.backend.OSHDBIgniteMapReduceComputeTask, pendingUndeploy=false, undeployed=false, usage=1]], taskClsName=org.heigit.ohsome.oshdb.api.mapreducer.backend.OSHDBIgniteMapReduceCom
puteTask, sesId=c38bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd, startTime=1669146133994, endTime=9223372036854775807, taskNodeId=7a934f38-e9e2-4bbf-ad93-7cdf457a43cd, clsLdr=GridDeploymentClassLoader [
id=a89b84c7481-e8013705-6f8f-4f24-b250-2bedafd3dc47, singleNode=false, nodeLdrMap=HashMap {7a934f38-e9e2-4bbf-ad93-7cdf457a43cd=f28bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd}, p2pTimeout=60000, usrVer
=0, depMode=SHARED, quiet=false, clsLdrHierarchy=org.apache.ignite.internal.managers.deployment.GridDeploymentClassLoader->jdk.internal.loader.ClassLoaders$AppClassLoader->jdk.internal.loader.ClassLoader
s$PlatformClassLoader], closed=false, cpSpi=null, failSpi=null, loadSpi=null, usage=1, fullSup=false, internal=false, topPred=org.apache.ignite.internal.cluster.ClusterGroupAdapter$AttributeFilter@6455b6
4e, mapFut=IgniteFuture [orig=GridFutureAdapter [ignoreInterrupts=false, state=INIT, res=null, hash=1748460533]], execName=null], jobId=148bcd0a481-7a934f38-e9e2-4bbf-ad93-7cdf457a43cd], err=side locatio
n conflict [ (-44.199405299999995, -19.952228299999998, NaN) ]], hasRes=true, isCancelled=false, isOccupied=true]                                                                                          
        at org.apache.ignite.internal.processors.task.GridTaskWorker$4.apply(GridTaskWorker.java:1132)                                                                                                     
        at org.apache.ignite.internal.processors.task.GridTaskWorker$4.apply(GridTaskWorker.java:1069)                                                                                                     
        at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7416)                                                                                                             
        at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:1069)                                                                                                      
        at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:873)                                                                                                   
        at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:1185)                                                                             
        at org.apache.ignite.internal.processors.task.GridTaskProcessor$JobMessageListener.onMessage(GridTaskProcessor.java:1433)                                                                          
        at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1907)                                                                                         
        at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1528)                                                                                 
        at org.apache.ignite.internal.managers.communication.GridIoManager.access$5300(GridIoManager.java:243)                                                                                             
        at org.apache.ignite.internal.managers.communication.GridIoManager$9.execute(GridIoManager.java:1421)                                                                                              
        at org.apache.ignite.internal.managers.communication.TraceRunnable.run(TraceRunnable.java:55)                                                                                                      
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)                                                                                                       
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)                                                                                                       
        at java.base/java.lang.Thread.run(Thread.java:829)                                                                                                                                                 
Caused by: java.lang.NullPointerException                                                                                                                                                                  
        at org.heigit.ohsome.oshdb.api.mapreducer.MapReducer.collectCombiner(MapReducer.java:1824)
        at org.heigit.ohsome.oshdb.api.mapreducer.backend.OSHDBIgniteMapReduceComputeTask.result(OSHDBIgniteMapReduceComputeTask.java:81)
        at org.apache.ignite.internal.processors.task.GridTaskWorker$4.apply(GridTaskWorker.java:1076)
        ... 14 more

Expected behaviour

Return Points, Lines and Polygons in that area.

Further Information

Error messages, logs, screenshots

see above

~#### Additional Context~

System information

Please complete the following information: