Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1676

NullPointerException in SmooksGraphicalEditorPart

XMLWordPrintable

    • Hide

      1. Drag the data input element to the data output element.
      2. Repeat step 1 two times. (It almost seem like several connections are created.)
      3. Select the connection between the data elements and delete it (using the keyboard delete button). (After the delete, a connection line is still visible but an error icon (red dot with a white X) is visible infront of the data output element. Hoovering above the error icon displayes the following error message: The node must be linked with input source.)
      4. Repeat step 1 a couple of times.

      Show
      1. Drag the data input element to the data output element. 2. Repeat step 1 two times. (It almost seem like several connections are created.) 3. Select the connection between the data elements and delete it (using the keyboard delete button). (After the delete, a connection line is still visible but an error icon (red dot with a white X) is visible infront of the data output element. Hoovering above the error icon displayes the following error message: The node must be linked with input source.) 4. Repeat step 1 a couple of times.

      I have a problem using the 'Smooks Processing' tool to configure a smooks file (used for converting XML to Java) when the Java-class is located in a jar file.

      The problem seems to relate to the 'Java Mapping' view of the 'Smooks Processing' tool and generates an OutOfMemoryException. The exception occurs when inside the 'Java Mapping' view and clicking or dragging input elements to corresponding output elements or selecting the connection between the elements. The exception sometimes occur at the first adjustments and sometimes it takes several adjustments before it occurs. When using a file where the elements already have been connected, the exception sometimes occur imidiatly when selecting the 'Java Mapping' icon.

      I have not seen this problem when using a Java-class which is not located in a jar file.

      Attached is an example jar file ('example.jar') and XML schema ('example.xsd') which I have used to reproduce the problem.

        1. debugInfo.txt
          20 kB
        2. example.jar
          0.9 kB
        3. example.xsd
          0.4 kB
        4. SmooksProcessorException.zip
          811 kB

              tfennelly_jira Tom Fennelly (Inactive)
              rhn-support-mputz Martin Weiler (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: