java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Sandeep Kemparaju,
  • XML Output errors
    via by Unknown author,
  • XML Output errors [Archive] - Pentaho Community Forums
    via by Unknown author,
  • No Enum constant
    via GitHub by JANDS-24
    ,
    • 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    MattyMatty
    2 times, last one,
    bernardpaulusbernardpaulus
    1 times, last one,
    batwalrus76batwalrus76
    4 times, last one,
    andyglickandyglick
    1 times, last one,
    43 more bugmates