Bug java.lang.Double cannot be cast to java.lang.String

rwramakers
rwramakers New Altair Community Member
edited November 2024 in Community Q&A

I can't find the logfile, I'm working on a apple PC.

But the following message I receive in de log of the bug:

  • Exception: java.lang.ClassCastException
  • Message: java.lang.Double cannot be cast to java.lang.String
  • Stack trace:
  • com.rapidminer.operator.text.Document.getNominalLabel(Document.java:244)
  • com.rapidminer.operator.text.io.DocumentTextInputOperator.getLabelValues(DocumentTextInputOperator.java:43)
  • com.rapidminer.operator.text.io.AbstractDocumentInputOperator.generateWordList(AbstractDocumentInputOperator.java:276)
  • com.rapidminer.operator.text.io.AbstractDocumentInputOperator.doWork(AbstractDocumentInputOperator.java:155)
  • com.rapidminer.operator.Operator.execute(Operator.java:1004)
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  • com.rapidminer.operator.ExecutionUnit$3.run(ExecutionUnit.java:812)
  • com.rapidminer.operator.ExecutionUnit$3.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:428)
  • com.rapidminer.operator.Operator.execute(Operator.java:1004)
  • com.rapidminer.Process.execute(Process.java:1310)
  • com.rapidminer.Process.run(Process.java:1285)
  • com.rapidminer.Process.run(Process.java:1176)
  • com.rapidminer.Process.run(Process.java:1129)
  • com.rapidminer.Process.run(Process.java:1124)
  • com.rapidminer.Process.run(Process.java:1114)
  • com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)

Answers

  • sgenzer
    sgenzer
    Altair Employee

    hello @rwramakers - welcome to the community. On a Mac, you find the log file by going to Finder and then Go -> Go to Folder and then type ".RapidMiner".  You should see "rapidminer-studio.log" there.

     

    Can you also please insert your process XML and any data sets you're using?

     

    Scott

     

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.