java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.

Pentaho BI Platform Tracking | Sandeep Kemparaju | 4 months ago
  1. 0

    XML Output step when a user is configuring the step and mid way wants to save his work to come back to it later. The step does not allow the user when they do not fill the Content Type field. It throws the below attached error which is not very user friendly to quickly identify what is the error too. With any other field left empty, the step does allow to save and edit later. {noformat} java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType. at java.lang.Enum.valueOf(Enum.java:238) at org.pentaho.di.trans.steps.xmloutput.XMLField$ContentType.valueOf(XMLField.java:37) at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.getInfo(XMLOutputDialog.java:1121) at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.ok(XMLOutputDialog.java:1143) at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.access$1500(XMLOutputDialog.java:81) at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog$14.handleEvent(XMLOutputDialog.java:810) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.open(XMLOutputDialog.java:895) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8783) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3072) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:755) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) {noformat}

    Pentaho BI Platform Tracking | 4 months ago | Sandeep Kemparaju
    java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.
  2. 0

    XML Output errors

    pentaho.com | 8 months ago
    java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.
  3. 0

    XML Output errors [Archive] - Pentaho Community Forums

    pentaho.com | 5 months ago
    java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.Illega - MichaelJY1991的专栏 - 博客频道 - CSDN.NET

    csdn.net | 5 months ago
    java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.
  6. 0

    Passing unsupported OPERATOR for "constraints" surfaces exception

    GitHub | 3 years ago | ssorallen
    java.lang.IllegalArgumentException: No enum constant mesosphere.marathon.Protos.Constraint.Operator.OPERATOR

  1. davidvanlaatum 1 times, last 1 week ago
  2. MoYapro 3 times, last 2 weeks ago
  3. iridic 116 times, last 3 weeks ago
  4. maxxi 4 times, last 2 months ago
  5. kuldeep 4 times, last 3 months ago
11 more registered users
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:238)
    1 frame
  3. org.pentaho.di
    XMLOutputDialog$14.handleEvent
    1. org.pentaho.di.trans.steps.xmloutput.XMLField$ContentType.valueOf(XMLField.java:37)
    2. org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.getInfo(XMLOutputDialog.java:1121)
    3. org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.ok(XMLOutputDialog.java:1143)
    4. org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.access$1500(XMLOutputDialog.java:81)
    5. org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog$14.handleEvent(XMLOutputDialog.java:810)
    5 frames
  4. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    2. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    3. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    4 frames
  5. org.pentaho.di
    TransGraph.mouseDoubleClick
    1. org.pentaho.di.ui.trans.steps.xmloutput.XMLOutputDialog.open(XMLOutputDialog.java:895)
    2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125)
    3. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8783)
    4. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3072)
    5. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:755)
    5 frames
  6. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    5 frames
  7. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347)
    2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989)
    3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269)
    4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:663)
    4 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
    1 frame