AnsweredAssumed Answered

Get Current Date in Set Properties throwing exception

Question asked by vshah01248 on Mar 16, 2017
Latest reply on Mar 16, 2017 by vshah01248

We are using a "Set Properties" shape to set a dynamic process property. This dynamic property is concatenation of 2 static strings and one current date time property.

 

This step is part of overall process execution. When process takes longer due to bigger file input, this "Set Properties" shape is failing with exception.

It works fine with smaller file inputs to process i.e. when it is taking less time to complete.

 

 

Stack trace for exception is,

 

java.lang.NullPointerException
at com.boomi.process.regression.RegressionProcessTracker.getCurrentDynamicData(RegressionProcessTracker.java:357)
at com.boomi.process.regression.RegressionProcessTracker.recordCurrentDate(RegressionProcessTracker.java:321)
at com.boomi.process.regression.RegressionDynamicDataSource.getCurrentDate(RegressionDynamicDataSource.java:21)
at com.boomi.process.util.PropertyExtractor.getCurrentDate(PropertyExtractor.java:975)
at com.boomi.process.util.PropertyExtractor.getDateValue(PropertyExtractor.java:949)
at com.boomi.process.util.PropertyExtractor.getParams(PropertyExtractor.java:441)
at com.boomi.process.util.PropertyExtractor.getParams(PropertyExtractor.java:279)
at com.boomi.process.shape.DocumentPropertyShape.createDynamicProperties(DocumentPropertyShape.java:117)
at com.boomi.process.shape.DocumentPropertyShape.execute(DocumentPropertyShape.java:96)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:550)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:488)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:307)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:802)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:935)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:61)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:160)
at com.boomi.execution.NestedExecutionForker$NestedSynchronousExecutionFuture.runSynchronous(NestedExecutionForker.java:203)
at com.boomi.execution.NestedExecutionForker$NestedSynchronousExecutionFuture.get(NestedExecutionForker.java:171)
at com.boomi.execution.NestedExecutionForker$NestedSynchronousExecutionFuture.get(NestedExecutionForker.java:150)
at com.boomi.execution.ExecutionTask.getChildResult(ExecutionTask.java:1307)
at com.boomi.execution.ExecutionTask.getChildResult(ExecutionTask.java:1293)
at com.boomi.process.shape.ChildInvokerShape.getChildResult(ChildInvokerShape.java:41)
at com.boomi.process.shape.BaseProcessCallShape.baseExecuteSubProcess(BaseProcessCallShape.java:245)
at com.boomi.process.shape.BaseProcessCallShape.baseExecuteStandaloneSubProcess(BaseProcessCallShape.java:196)
at com.boomi.process.shape.ProcessCallShape.executeStandaloneSubProcess(ProcessCallShape.java:158)
at com.boomi.process.shape.ProcessCallShape.execute(ProcessCallShape.java:123)
at com.boomi.process.graph.ProcessShape.executeShape(ProcessShape.java:550)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:488)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.executeShape(ProcessGraph.java:509)
at com.boomi.process.graph.ProcessGraph.executeNextShapes(ProcessGraph.java:572)
at com.boomi.process.graph.ProcessGraph.execute(ProcessGraph.java:307)
at com.boomi.process.ProcessExecution.call(ProcessExecution.java:802)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:935)
at com.boomi.execution.ExecutionTask.call(ExecutionTask.java:61)
at com.boomi.util.concurrent.CancellableFutureTask.run(CancellableFutureTask.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Outcomes