NOTE: IF YOU WISH TO REPORT A NEW BUG, PLEASE POST A NEW QUESTION AND TAG AS "BUG REPORT". THANK YOU.

Error executing background job 'creating display' when using Visualize Model by SOM operator

Nick6Nick6 Member Posts: 5 Contributor I
edited October 2019 in Product Feedback
When connecting the visualisation output from the Visualize Model by SOM operator I receive the following error; 

Error executing background job 'Creating Display':
Java.lang.NullPointerException
Nick6User71712
2
2 votes

Sent to Engineering · Last Updated

RM-4257

Comments

  • rfuentealbarfuentealba Moderator, RapidMiner Certified Analyst, Member, University Professor Posts: 563 Unicorn
    Hello @Nick6,

    Can you post the XML for your process please? Here are instructions on how to do so:


    All the best,

    Rodrigo.

  • Nick6Nick6 Member Posts: 5 Contributor I
    edited October 2019
    Hi @rfuentealba

    Thanks for getting back to me. XML code follows; 

    <?xml version="1.0" encoding="UTF-8"?><process version="9.5.000-BETA4">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="9.5.000-BETA4" expanded="true" name="Process">
        <parameter key="logverbosity" value="init"/>
        <parameter key="random_seed" value="2001"/>
        <parameter key="send_mail" value="never"/>
        <parameter key="notification_email" value=""/>
        <parameter key="process_duration_for_mail" value="30"/>
        <parameter key="encoding" value="SYSTEM"/>
        <process expanded="true">
          <operator activated="true" class="retrieve" compatibility="9.5.000-BETA4" expanded="true" height="68" name="Retrieve COPD_All Regions" width="90" x="45" y="34">
            <parameter key="repository_entry" value="//Local Repository/data/COPD_All Regions"/>
          </operator>
          <operator activated="true" class="select_attributes" compatibility="9.5.000-BETA4" expanded="true" height="82" name="Select Attributes" width="90" x="179" y="34">
            <parameter key="attribute_filter_type" value="subset"/>
            <parameter key="attribute" value=""/>
            <parameter key="attributes" value="Age of death|Agriculture Workers [000]|Air Pollution Index|Construction Workers [000]|COPD Prevalence Percentage|Median household disposable income, pounds per week|Mining Workers [000]|Number of COPD deaths|Smoking Prevalence Percentage"/>
            <parameter key="use_except_expression" value="false"/>
            <parameter key="value_type" value="attribute_value"/>
            <parameter key="use_value_type_exception" value="false"/>
            <parameter key="except_value_type" value="time"/>
            <parameter key="block_type" value="attribute_block"/>
            <parameter key="use_block_type_exception" value="false"/>
            <parameter key="except_block_type" value="value_matrix_row_start"/>
            <parameter key="invert_selection" value="false"/>
            <parameter key="include_special_attributes" value="false"/>
          </operator>
          <operator activated="true" class="normalize" compatibility="9.5.000-BETA4" expanded="true" height="103" name="Normalize" width="90" x="313" y="34">
            <parameter key="return_preprocessing_model" value="false"/>
            <parameter key="create_view" value="false"/>
            <parameter key="attribute_filter_type" value="all"/>
            <parameter key="attribute" value=""/>
            <parameter key="attributes" value=""/>
            <parameter key="use_except_expression" value="false"/>
            <parameter key="value_type" value="numeric"/>
            <parameter key="use_value_type_exception" value="false"/>
            <parameter key="except_value_type" value="real"/>
            <parameter key="block_type" value="value_series"/>
            <parameter key="use_block_type_exception" value="false"/>
            <parameter key="except_block_type" value="value_series_end"/>
            <parameter key="invert_selection" value="false"/>
            <parameter key="include_special_attributes" value="false"/>
            <parameter key="method" value="Z-transformation"/>
            <parameter key="min" value="0.0"/>
            <parameter key="max" value="1.0"/>
            <parameter key="allow_negative_values" value="false"/>
          </operator>
          <operator activated="true" class="self_organizing_map" compatibility="9.5.000-BETA4" expanded="true" height="103" name="SOM" width="90" x="447" y="34">
            <parameter key="return_preprocessing_model" value="false"/>
            <parameter key="number_of_dimensions" value="2"/>
            <parameter key="net_size" value="10"/>
            <parameter key="training_rounds" value="30"/>
            <parameter key="learning_rate_start" value="0.8"/>
            <parameter key="learning_rate_end" value="0.01"/>
            <parameter key="adaption_radius_start" value="10.0"/>
            <parameter key="adaption_radius_end" value="1.0"/>
          </operator>
          <operator activated="true" class="visualize_model_by_som" compatibility="9.5.000-BETA4" expanded="true" height="103" name="Visualize Model by SOM" width="90" x="581" y="34"/>
          <connect from_op="Retrieve COPD_All Regions" from_port="output" to_op="Select Attributes" to_port="example set input"/>
          <connect from_op="Select Attributes" from_port="example set output" to_op="Normalize" to_port="example set input"/>
          <connect from_op="Normalize" from_port="example set output" to_op="SOM" to_port="example set input"/>
          <connect from_op="SOM" from_port="example set output" to_op="Visualize Model by SOM" to_port="example set"/>
          <connect from_op="SOM" from_port="preprocessing model" to_op="Visualize Model by SOM" to_port="model"/>
          <connect from_op="Visualize Model by SOM" from_port="example set" to_port="result 1"/>
          <connect from_op="Visualize Model by SOM" from_port="model" to_port="result 2"/>
          <connect from_op="Visualize Model by SOM" from_port="visualization" to_port="result 3"/>
          <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"/>
          <portSpacing port="sink_result 4" spacing="0"/>
        </process>
      </operator>
    </process>

  • Nick6Nick6 Member Posts: 5 Contributor I
    Even when simplifying the process (removing attribute selection and normalization) I recieve the same error. The updated XML: 

    <?xml version="1.0" encoding="UTF-8"?><process version="9.4.001">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="9.4.001" expanded="true" name="Process">
        <parameter key="logverbosity" value="init"/>
        <parameter key="random_seed" value="2001"/>
        <parameter key="send_mail" value="never"/>
        <parameter key="notification_email" value=""/>
        <parameter key="process_duration_for_mail" value="30"/>
        <parameter key="encoding" value="SYSTEM"/>
        <process expanded="true">
          <operator activated="true" class="retrieve" compatibility="9.4.001" expanded="true" height="68" name="Retrieve COPD_Dataset_R3" width="90" x="313" y="34">
            <parameter key="repository_entry" value="//Local Repository/data/COPD_Dataset_R3"/>
          </operator>
          <operator activated="true" class="self_organizing_map" compatibility="9.4.001" expanded="true" height="103" name="SOM" width="90" x="447" y="34">
            <parameter key="return_preprocessing_model" value="false"/>
            <parameter key="number_of_dimensions" value="2"/>
            <parameter key="net_size" value="10"/>
            <parameter key="training_rounds" value="30"/>
            <parameter key="learning_rate_start" value="0.8"/>
            <parameter key="learning_rate_end" value="0.01"/>
            <parameter key="adaption_radius_start" value="10.0"/>
            <parameter key="adaption_radius_end" value="1.0"/>
          </operator>
          <operator activated="true" class="visualize_model_by_som" compatibility="9.4.001" expanded="true" height="103" name="Visualize Model by SOM" width="90" x="581" y="34"/>
          <connect from_op="Retrieve COPD_Dataset_R3" from_port="output" to_op="SOM" to_port="example set input"/>
          <connect from_op="SOM" from_port="example set output" to_op="Visualize Model by SOM" to_port="example set"/>
          <connect from_op="SOM" from_port="preprocessing model" to_op="Visualize Model by SOM" to_port="model"/>
          <connect from_op="Visualize Model by SOM" from_port="example set" to_port="result 1"/>
          <connect from_op="Visualize Model by SOM" from_port="model" to_port="result 2"/>
          <connect from_op="Visualize Model by SOM" from_port="visualization" to_port="result 3"/>
          <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"/>
          <portSpacing port="sink_result 4" spacing="0"/>
        </process>
      </operator>
    </process>

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    hi @Nick6 I have your process but I need your COPD_Dataset_R3 ExampleSet to run it. Can you pls share here or via PM?
    Tghadially
  • Nick6Nick6 Member Posts: 5 Contributor I
    Hi @sgenzer

    Thanks for looking into this. I've attached the dataset, let me know if you need anything else. 
    Tghadially
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    thanks @Nick6. That's a bug, plain and simple. Pushing it to engineering.

    Scott
    Tghadially
  • Nick6Nick6 Member Posts: 5 Contributor I
    Thanks @sgenzer - using the output to feed into my masters dissertation so fingers crossed it can be resolved soon!  :#
    Tghadially
Sign In or Register to comment.