org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. Unable to create webresult from XML Error reading information from XML string : Premature end of file.

Pentaho BI Platform Tracking | Sean Flatley | 6 years ago
  1. 0

    Note that this was due to setting the WebAppName to non-empty for use with a standard carte servlet. The error message though was really bad, so it wasn't clear what the problem was. We need to fix this error message to say something like "Carte does not exist at location "http://localhost:9100/pentaho-di" ---------------------------------- Reproduction: 1. Start carte at available port: carte localhost 9100 2. Start Spoon 3. Create a slave server Server Name: SlaveAt9100 Hostname or IP Address: localhost WebAppName: pentaho-di Port: 9100 Username: cluster Password: cluser 4. Execute a working (no errors) transformation remotely on SlaveAt9100. Result: org.pentaho.di.core.exception.KettleException: org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. Unable to create webresult from XML Error reading information from XML string : Premature end of file. at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:3036) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:919) at org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:7203) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1157) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6657) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. at org.pentaho.di.www.WebResult.fromXMLString(WebResult.java:114) at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:3005) ... 14 more Caused by: org.pentaho.di.core.exception.KettleXMLException: Error reading information from XML string : Premature end of file. at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:684) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:642) at org.pentaho.di.www.WebResult.fromXMLString(WebResult.java:107) ... 15 more Caused by: org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:669) ... 17 more I change the username and password to joe and password to see if it was the credentials. These credentials are incorrect as the following was the result: org.pentaho.di.core.exception.KettleException: There was an error posting the transformation on the remote server: Authentication failed......

    Pentaho BI Platform Tracking | 6 years ago | Sean Flatley
    org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. Unable to create webresult from XML Error reading information from XML string : Premature end of file.
  2. 0

    Note that this was due to setting the WebAppName to non-empty for use with a standard carte servlet. The error message though was really bad, so it wasn't clear what the problem was. We need to fix this error message to say something like "Carte does not exist at location "http://localhost:9100/pentaho-di" ---------------------------------- Reproduction: 1. Start carte at available port: carte localhost 9100 2. Start Spoon 3. Create a slave server Server Name: SlaveAt9100 Hostname or IP Address: localhost WebAppName: pentaho-di Port: 9100 Username: cluster Password: cluser 4. Execute a working (no errors) transformation remotely on SlaveAt9100. Result: org.pentaho.di.core.exception.KettleException: org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. Unable to create webresult from XML Error reading information from XML string : Premature end of file. at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:3036) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:919) at org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:7203) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1157) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6657) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. at org.pentaho.di.www.WebResult.fromXMLString(WebResult.java:114) at org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:3005) ... 14 more Caused by: org.pentaho.di.core.exception.KettleXMLException: Error reading information from XML string : Premature end of file. at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:684) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:642) at org.pentaho.di.www.WebResult.fromXMLString(WebResult.java:107) ... 15 more Caused by: org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:669) ... 17 more I change the username and password to joe and password to see if it was the credentials. These credentials are incorrect as the following was the result: org.pentaho.di.core.exception.KettleException: There was an error posting the transformation on the remote server: Authentication failed......

    Pentaho BI Platform Tracking | 6 years ago | Sean Flatley
    org.pentaho.di.core.exception.KettleXMLException: Unable to create webresult from XML Error reading information from XML string : Premature end of file. Unable to create webresult from XML Error reading information from XML string : Premature end of file.
  3. 0

    org.xml.sax.SAXParseException: Premature end of file

    Stack Overflow | 5 years ago | Dave
    org.xml.sax.SAXParseException: Premature end of file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem parsing String to DOM in Java

    Stack Overflow | 5 years ago | Larry
    org.xml.sax.SAXParseException: Premature end of file.
  6. 0

    SAXParseException when invoking web service from web application deployed on web sphere

    Stack Overflow | 4 years ago | user1579389
    org.xml.sax.SAXParseException: Premature end of file.

    33 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. org.xml.sax.SAXParseException

      Premature end of file.

      at org.apache.xerces.parsers.DOMParser.parse()
    2. Xerces2-j
      DocumentBuilderImpl.parse
      1. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      2. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      2 frames
    3. org.pentaho.di
      Spoon$31$1.run
      1. org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:669)
      2. org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:642)
      3. org.pentaho.di.www.WebResult.fromXMLString(WebResult.java:107)
      4. org.pentaho.di.trans.Trans.sendToSlaveServer(Trans.java:3005)
      5. org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:919)
      6. org.pentaho.di.ui.spoon.Spoon$31$1.run(Spoon.java:7203)
      6 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      4 frames
    5. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1157)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6657)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:545)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
      1 frame