image

🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

Report Bug

lambamanika07lambamanika07 Member Posts: 24  Maven
edited September 2019 in Product Feedback - Resolved
  • Exception: java.lang.RuntimeException
  • Message: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SplittedExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects.. Cause: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects..
  • Stack trace:
  • sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  • sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  • sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  • java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  • java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
  • java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)
  • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext.collectResults(AbstractConcurrencyContext.java:206)
  • com.rapidminer.studio.concurrency.internal.StudioConcurrencyContext.collectResults(StudioConcurrencyContext.java:33)
  • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext.call(AbstractConcurrencyContext.java:141)
  • com.rapidminer.studio.concurrency.internal.StudioConcurrencyContext.call(StudioConcurrencyContext.java:33)
  • com.rapidminer.Process.executeRootInPool(Process.java:1349)
  • com.rapidminer.Process.execute(Process.java:1314)
  • com.rapidminer.Process.run(Process.java:1291)
  • com.rapidminer.Process.run(Process.java:1177)
  • com.rapidminer.Process.run(Process.java:1130)
  • com.rapidminer.Process.run(Process.java:1125)
  • com.rapidminer.Process.run(Process.java:1115)
  • com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
  • Cause
  • Exception: java.lang.RuntimeException
  • Message: Cannot clone com.rapidminer.example.set.SplittedExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects.. Cause: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects. Cause: java.lang.OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects..
  • Stack trace:
  • com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:372)
  • com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:71)
  • com.rapidminer.example.set.RemappedExampleSet.create(RemappedExampleSet.java:130)
  • com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:113)
  • com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:134)
  • com.rapidminer.operator.Operator.execute(Operator.java:1031)
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
  • java.security.AccessController.doPrivileged(Native Method)
  • com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
  • com.rapidminer.operator.validation.ValidationChain.executeEvaluator(ValidationChain.java:234)
  • com.rapidminer.operator.validation.ValidationChain.evaluate(ValidationChain.java:335)
  • com.rapidminer.operator.validation.SplitValidationOperator.estimatePerformance(SplitValidationOperator.java:168)
  • com.rapidminer.operator.validation.ValidationChain.doWork(ValidationChain.java:285)
  • com.rapidminer.operator.Operator.execute(Operator.java:1031)
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
  • java.security.AccessController.doPrivileged(Native Method)
  • com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
  • com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
  • com.rapidminer.operator.Operator.execute(Operator.java:1031)
  • com.rapidminer.Process.executeRoot(Process.java:1372)
  • com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1351)
  • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:328)
  • java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  • java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  • java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  • java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Tagged:
0
0 votes

Declined · Last Updated

User solved issue.

Comments

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959  Community Manager
    thank you for this report @lambamanika07. I'm going to need more info to file this. Can you please provide data and processes needed to replicate this error on our side? Also I would appreciate your rapidminer-studio.log file.

    Scott

  • lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,180   Unicorn
    @lambamanika07,

    If this bug is linked to your other thread ("predicting the topic of .txt files"), to help us to debug this error
    can you decrease the number of .txt files in each folder. For example, you can keep only 25% of the files in a folder to begin and (re)execute the process.

    Regards,

    Lionel


  • lambamanika07lambamanika07 Member Posts: 24  Maven
    Hi Lionel

    I did as you suggested and kept only 25% of the files in each folder but the process stopped in between and following error came.

    • Exception: java.lang.RuntimeException
    • Message: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SplittedExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space. Cause: java.lang.OutOfMemoryError: Java heap space.. Cause: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space. Cause: java.lang.OutOfMemoryError: Java heap space..
    • Stack trace:
    • sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    • sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    • sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    • java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    • java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
    • java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1005)
    • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext.collectResults(AbstractConcurrencyContext.java:206)
    • com.rapidminer.studio.concurrency.internal.StudioConcurrencyContext.collectResults(StudioConcurrencyContext.java:33)
    • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext.call(AbstractConcurrencyContext.java:141)
    • com.rapidminer.studio.concurrency.internal.StudioConcurrencyContext.call(StudioConcurrencyContext.java:33)
    • com.rapidminer.Process.executeRootInPool(Process.java:1349)
    • com.rapidminer.Process.execute(Process.java:1314)
    • com.rapidminer.Process.run(Process.java:1291)
    • com.rapidminer.Process.run(Process.java:1177)
    • com.rapidminer.Process.run(Process.java:1130)
    • com.rapidminer.Process.run(Process.java:1125)
    • com.rapidminer.Process.run(Process.java:1115)
    • com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
    • Cause
    • Exception: java.lang.RuntimeException
    • Message: Cannot clone com.rapidminer.example.set.SplittedExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space. Cause: java.lang.OutOfMemoryError: Java heap space.. Cause: java.lang.RuntimeException: Cannot clone com.rapidminer.example.set.SimpleExampleSet: java.lang.reflect.InvocationTargetException. Target: java.lang.OutOfMemoryError: Java heap space. Cause: java.lang.OutOfMemoryError: Java heap space..
    • Stack trace:
    • com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:372)
    • com.rapidminer.example.set.AbstractExampleSet.clone(AbstractExampleSet.java:71)
    • com.rapidminer.example.set.RemappedExampleSet.create(RemappedExampleSet.java:130)
    • com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:113)
    • com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:134)
    • com.rapidminer.operator.Operator.execute(Operator.java:1031)
    • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
    • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
    • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
    • java.security.AccessController.doPrivileged(Native Method)
    • com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
    • com.rapidminer.operator.validation.ValidationChain.executeEvaluator(ValidationChain.java:234)
    • com.rapidminer.operator.validation.ValidationChain.evaluate(ValidationChain.java:335)
    • com.rapidminer.operator.validation.SplitValidationOperator.estimatePerformance(SplitValidationOperator.java:168)
    • com.rapidminer.operator.validation.ValidationChain.doWork(ValidationChain.java:285)
    • com.rapidminer.operator.Operator.execute(Operator.java:1031)
    • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
    • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
    • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
    • java.security.AccessController.doPrivileged(Native Method)
    • com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
    • com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
    • com.rapidminer.operator.Operator.execute(Operator.java:1031)
    • com.rapidminer.Process.executeRoot(Process.java:1372)
    • com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1351)
    • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:328)
    • java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
    • java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
    • java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
    • java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959  Community Manager
    hi @lambamanika07 thank you for your data and your process. I was able to run the first part of your process fine (Process Documents from Files) and got a normal error bubble (not a bug report) when it tried to do the cross-validation. The error bubble was pointing out that you were trying to create a predictive model with only one predictive class which is of course is not possible (or it just predicts one class and you don't need a computer ;) ).



    Note: You are using n-grams and no pruning which is resulting in a crazy number of attributes (660,426 only using topic 0!). This is just not good data science and could easily be causing your computer to blow up metaphorically. I would strongly advise using pruning to bring your attributes down to a reasonable number.



    I'll leave this ticket open if you can help me see how to repeat this bug. So far cannot I cannot. :(

    Scott

  • lambamanika07lambamanika07 Member Posts: 24  Maven
    Hi sgenzer 

    Thank you so much. At last the process worked! Pruning was the problem. I selected a method as suggested by you!!! Thank you so so much lionelderkrikor and sgenzer for your time and help!!

    sgenzer P.S. I was trying to predict 8 classes as Topic a-h. I guess may be I sent you the process with one class when may be I was trying things out so, you got the wrong idea of me processing only one class!
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959  Community Manager
    aha I am very glad you worked this out @lambamanika07 :smile:
Sign In or Register to comment.