Subprocess Caching - Nullpointer Exception

BierseppBiersepp Member Posts: 14 Contributor II

I built a simple process with a suprocess(caching) in the beginning where simply I pull data from a database. 
When I start executing the process I get an error: Process failed with the following message: 

 Exception: java.lang.NullPointerException
  • Message: null
  • Stack trace:
  • com.rapidminer.extension.operator_toolbox.operator.utility.CachingSubprocess.hashEmbeddedProcess(
  • com.rapidminer.extension.operator_toolbox.operator.utility.CachingSubprocess.doWork(
  • com.rapidminer.operator.Operator.execute(
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(
  • com.rapidminer.operator.ExecutionUnit$
  • com.rapidminer.operator.ExecutionUnit$
  • Method)
  • com.rapidminer.operator.ExecutionUnit.execute(
  • com.rapidminer.operator.OperatorChain.doWork(
  • com.rapidminer.operator.Operator.execute(
  • com.rapidminer.Process.executeRoot(
  • com.rapidminer.Process.lambda$executeRootInPool$5(
  • java.util.concurrent.ForkJoinTask.doExec(
  • java.util.concurrent.ForkJoinPool$WorkQueue.runTask(
  • java.util.concurrent.ForkJoinPool.runWorker(
I had this a couple of times but I am slowly getting tired of this. 

Can you fix this bug in the operator toolbox extension or help if you know how I can fix this in my process or setup? 

Best Answer

  • MichaelKnopfMichaelKnopf Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 31 RM Data Scientist
    Solution Accepted
    Hi there,
    thanks for reporting this. It is caused by embedded operators with undefined parameters that do not have a default value. Unfortunately, one cannot always tell whether a parameter has a default value or not from the UI.
    However, the bug fix is straight forward and should make it into the next extension update.
Sign In or Register to comment.