The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"java.lang.NullPointerException"

majotecitamajotecita Member Posts: 10 Contributor II
edited June 2019 in Help
Hi,

I'm writting you because I need some help with a problem.
I'm trying to integrate RapidMiner with BizAgi Studio using a Web Service, and when this one wants to run a Process I have a java.lang.NullPointerException.
I don't know why is this happening because when I run the process by itself in RapidMiner I don't have any problem (using the same files).

Here it's the XML log:


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.1.006">
  <context>
    <input/>
    <output/>
    <macros/>
  </context>
  <operator activated="true" class="process" compatibility="5.1.006" expanded="true" name="Process">
    <process expanded="true" height="415" width="748">
      <operator activated="true" class="read_model" compatibility="5.1.006" expanded="true" height="60" name="Read Model" width="90" x="45" y="75">
        <parameter key="model_file" value="C:\Users\Kote\Documents\Universidad\MBE\Proyecto de Tesis\Prediccion Le\RapidMiner\Modelos\RN TODOS MENSUAL2.mod"/>
      </operator>
      <operator activated="true" class="read_csv" compatibility="5.1.006" expanded="true" height="60" name="Read CSV" width="90" x="45" y="255">
        <parameter key="csv_file" value="C:\Users\Kote\Documents\Universidad\base de datos predicción sin outliers CG Mensual.csv"/>
        <parameter key="first_row_as_names" value="false"/>
        <list key="annotations">
          <parameter key="0" value="Name"/>
        </list>
        <list key="data_set_meta_data_information">
          <parameter key="0" value="Mes a Predecir.true.integer.label"/>
          <parameter key="1" value="N-1.true.integer.attribute"/>
          <parameter key="2" value="N-2.true.integer.attribute"/>
          <parameter key="3" value="N-12.true.integer.attribute"/>
          <parameter key="4" value="N-24.true.integer.attribute"/>
          <parameter key="5" value="N-36.true.integer.attribute"/>
          <parameter key="6" value="N-12 - N-13.true.integer.attribute"/>
          <parameter key="7" value="N-24 - N-25.true.integer.attribute"/>
          <parameter key="8" value="N-36 - N-37.true.integer.attribute"/>
          <parameter key="9" value="ENERO.true.numeric.attribute"/>
          <parameter key="10" value="FEBRERO.true.numeric.attribute"/>
          <parameter key="11" value="MARZO.true.numeric.attribute"/>
          <parameter key="12" value="ABRIL.true.numeric.attribute"/>
          <parameter key="13" value="MAYO.true.numeric.attribute"/>
          <parameter key="14" value="JUNIO.true.numeric.attribute"/>
          <parameter key="15" value="JULIO.true.numeric.attribute"/>
          <parameter key="16" value="AGOSTO.true.numeric.attribute"/>
          <parameter key="17" value="SEPTIEMBRE.true.numeric.attribute"/>
          <parameter key="18" value="OCTUBRE.true.numeric.attribute"/>
          <parameter key="19" value="NOVIEMBRE.true.numeric.attribute"/>
          <parameter key="20" value="DICIEMBRE.true.numeric.attribute"/>
          <parameter key="21" value="ANO.true.integer.attribute"/>
        </list>
      </operator>
      <operator activated="true" class="apply_model" compatibility="5.1.006" expanded="true" height="76" name="Apply Model" width="90" x="179" y="120">
        <list key="application_parameters"/>
      </operator>
      <operator activated="true" class="generate_attributes" compatibility="5.1.006" expanded="true" height="76" name="Generate Attributes" width="90" x="313" y="120">
        <list key="function_descriptions">
          <parameter key="id especialidad" value="1"/>
          <parameter key="id mes" value="if(ENERO==1,1,if(FEBRERO==1,2,if(MARZO==1,3,if(ABRIL==1,4,if(MAYO==1,5,if(JUNIO==1,6,if(JULIO==1,7,if(AGOSTO==1,8,if(SEPTIEMBRE==1,9,if(OCTUBRE==1,10,if(NOVIEMBRE==1,11,12)))))))))))"/>
        </list>
      </operator>
      <operator activated="true" class="select_attributes" compatibility="5.1.006" expanded="true" height="76" name="Select Attributes" width="90" x="447" y="120">
        <parameter key="attribute_filter_type" value="subset"/>
        <parameter key="attributes" value="id especialidad|id mes"/>
      </operator>
      <operator activated="true" class="rename" compatibility="5.1.006" expanded="true" height="76" name="Rename" width="90" x="246" y="255">
        <parameter key="old_name" value="prediction(Mes a Predecir)"/>
        <parameter key="new_name" value="pronostico"/>
        <list key="rename_additional_attributes"/>
      </operator>
      <operator activated="true" class="multiply" compatibility="5.1.006" expanded="true" height="94" name="Multiply" width="90" x="380" y="300"/>
      <operator activated="true" class="write_excel" compatibility="5.1.006" expanded="true" height="60" name="Write Excel" width="90" x="581" y="300">
        <parameter key="excel_file" value="C:\Users\Kote\Documents\Universidad\sdfdsgfg.xls"/>
      </operator>
      <operator activated="true" class="write_database" compatibility="5.1.006" expanded="true" height="60" name="Write Database" width="90" x="581" y="120">
        <parameter key="connection" value="movedb"/>
        <parameter key="table_name" value="pronostico mensual"/>
        <parameter key="overwrite_mode" value="append"/>
        <parameter key="db_key_attribute_name" value="id"/>
      </operator>
      <connect from_op="Read Model" from_port="output" to_op="Apply Model" to_port="model"/>
      <connect from_op="Read CSV" from_port="output" to_op="Apply Model" to_port="unlabelled data"/>
      <connect from_op="Apply Model" from_port="labelled data" to_op="Generate Attributes" to_port="example set input"/>
      <connect from_op="Generate Attributes" from_port="example set output" to_op="Select Attributes" to_port="example set input"/>
      <connect from_op="Select Attributes" from_port="example set output" to_op="Rename" to_port="example set input"/>
      <connect from_op="Rename" from_port="example set output" to_op="Multiply" to_port="input"/>
      <connect from_op="Multiply" from_port="output 1" to_op="Write Database" to_port="input"/>
      <connect from_op="Multiply" from_port="output 2" to_op="Write Excel" to_port="input"/>
      <connect from_op="Write Excel" from_port="through" to_port="result 2"/>
      <connect from_op="Write Database" from_port="through" to_port="result 1"/>
      <portSpacing port="source_input 1" spacing="0"/>
      <portSpacing port="sink_result 1" spacing="0"/>
      <portSpacing port="sink_result 2" spacing="0"/>
      <portSpacing port="sink_result 3" spacing="0"/>
    </process>
  </operator>
</process>


And the log of the problem:

2012-01-31 17:37:39 INFO: Process C:\Users\Kote\Documents\Universidad\MBE\Proyecto de Tesis\Prediccion Le\XML para Protipo\Validacion CG.xml starts (Process.run())
2012-01-31 17:37:39 WARNING: ImprovedNeuralNet: The number of regular attributes of the given example set does not fit the number of attributes of the training example set, training: 0, application: 21 (WrapperLoggingHandler.logWarning())
java.lang.NullPointerException
at com.rapidminer.example.table.AttributeFactory.createAttribute(AttributeFactory.java:115)
at com.rapidminer.operator.learner.PredictionModel.createPredictionAttributes(PredictionModel.java:146)
at com.rapidminer.operator.learner.PredictionModel.apply(PredictionModel.java:75)
at com.rapidminer.operator.ModelApplier.doWork(ModelApplier.java:100)
at com.rapidminer.operator.Operator.execute(Operator.java:829)
at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:709)
at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:369)
at com.rapidminer.operator.Operator.execute(Operator.java:829)
at com.rapidminer.Process.run(Process.java:901)
at com.rapidminer.Process.run(Process.java:797)
at com.rapidminer.Process.run(Process.java:792)
at com.rapidminer.Process.run(Process.java:782)
at Pronostico.PronosticarRP.PronosticarRP(PronosticarRP.java:86)
at Pronostico.EjecutarPronosticoMensual1.InvocarRapidMiner(EjecutarPronosticoMensual1.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)



Please help me!!!

Thanks!!!
Tagged:

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi,

    without knowing your code and your data it's hard to say anything. But it seems that you are using RapidMiner 5.1.006, which is quite old. Maybe you could try to update to the latest version and test if it works with the newer version.

    Furthermore the warning on top states that your model has been trained on 0 attributes - are you sure you correctly trained the model and saved it at the location from where you are trying to load it now? To apply it on your test dataset with 21 attributes, also the training dataset should contain 21 attributes.

    Best,
    Marius
  • majotecitamajotecita Member Posts: 10 Contributor II
    Hi Marius!,

    Thanks for your reply!
    I changed the version of RapidMiner and also checked the model.
    Now I don't have that problem.
    But I don't know why the log says:

    Feb 01, 2012 2:18:50 PM com.rapidminer.tools.OperatorService registerOperators
    SEVERE: Cannot read operator description file 'OperatorsCore.xml': no valid XML: null
    java.lang.NullPointerException
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:256)
    at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:232)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:206)
    at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:180)
    at com.rapidminer.tools.OperatorService.init(OperatorService.java:131)
    at com.rapidminer.RapidMiner.init(RapidMiner.java:465)
    at Pronostico.PronosticarRP.PronosticarRP(PronosticarRP.java:40)
    at Pronostico.EjecutarPronosticoMensual1.InvocarRapidMiner(EjecutarPronosticoMensual1.java:132)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
    at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver net.sourceforge.jtds.jdbc.Driver not found. Probably the driver is not installed.
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver org.hsqldb.jdbcDriver not found. Probably the driver is not installed.
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
    WARNING: Missing database driver class name for 'ODBC Bridge (e.g. Access)'
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver net.sourceforge.jtds.jdbc.Driver not found. Probably the driver is not installed.
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver com.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
    INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
    Feb 01, 2012 2:18:51 PM com.rapidminer.repository.RepositoryManager load
    INFO: Cannot access file system in execution mode UNKNOWN. Not loading repositories.
    entro a la clase
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'read_csv' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: The parameter 'annotations' of type list is unknown for operator 'Read CSV' (dummy).
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: The parameter 'data_set_meta_data_information' of type list is unknown for operator 'Read CSV' (dummy).
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'multiply' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'split_validation' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">Operator '<class>dummy</class>' may not have children. Ignoring.
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">Operator '<class>dummy</class>' may not have children. Ignoring.
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'apply_model' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: The parameter 'application_parameters' of type list is unknown for operator 'Apply Model (2)' (dummy).
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'multiply' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'rename' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: The parameter 'rename_additional_attributes' of type list is unknown for operator 'Rename' (dummy).
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'generate_attributes' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: The parameter 'function_descriptions' of type list is unknown for operator 'Generate Attributes' (dummy).
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'write_excel' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The operator class 'performance_regression' is unknown.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>output</var> is unknown at operator <var>Read CSV</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>output 1</var> is unknown at operator <var>Multiply</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>output 2</var> is unknown at operator <var>Multiply</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>model</var> is unknown at operator <var>Validation</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>training</var> is unknown at operator <var>Validation</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>averagable 1</var> is unknown at operator <var>Validation</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>labelled data</var> is unknown at operator <var>Apply Model (2)</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>output 1</var> is unknown at operator <var>Multiply (2)</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>output 2</var> is unknown at operator <var>Multiply (2)</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>example set output</var> is unknown at operator <var>Rename</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>example set output</var> is unknown at operator <var>Generate Attributes</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>through</var> is unknown at operator <var>Write Excel</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.io.process.XMLImporter addMessage
    INFO: <em class="error">The output port <var>performance</var> is unknown at operator <var>Performance (2)</var>.</em>
    Feb 01, 2012 2:18:51 PM com.rapidminer.tools.WrapperLoggingHandler log
    INFO: No filename given for result file, using stdout for logging results!
    Feb 01, 2012 2:18:51 PM com.rapidminer.Process run
    INFO: Process C:\Users\Kote\Documents\Universidad\MBE\Proyecto de Tesis\Prediccion Le\XML para Protipo\Modelo RL CG.xml starts
    com.rapidminer.operator.UserError: The dummy operator Read CSV (replacing read_csv) cannot be executed.
    at com.rapidminer.operator.DummyOperator.doWork(DummyOperator.java:88)
    at com.rapidminer.operator.Operator.execute(Operator.java:833)
    at com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:51)
    at com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:709)
    at com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:379)
    at com.rapidminer.operator.Operator.execute(Operator.java:833)
    at com.rapidminer.Process.run(Process.java:925)
    at com.rapidminer.Process.run(Process.java:848)
    at com.rapidminer.Process.run(Process.java:807)
    at com.rapidminer.Process.run(Process.java:802)
    at com.rapidminer.Process.run(Process.java:792)
    at Pronostico.PronosticarRP.PronosticarRP(PronosticarRP.java:50)
    at Pronostico.EjecutarPronosticoMensual1.InvocarRapidMiner(EjecutarPronosticoMensual1.java:132)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:95)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:295)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:515)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:155)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:189)
    at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:76)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)


    Can you please help me again???

    Thanks!

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Hi,

    your log says

    INFO: Cannot access file system in execution mode UNKNOWN. Not loading repositories.

    Did you set RapidMiner's execution mode via the RapidMiner.setExecutionMode? You probably want to set sth. like COMMAND_LINE.

    Best,
    Marius
Sign In or Register to comment.