java.lang.RuntimeException: Kettle failed to initialize.

Pentaho BI Platform Tracking | Curtis Boyden | 3 years ago
  1. 0

    I think this bug is similar to PDI-4667. Note: I'm not a Pentaho CE programmer, just a focused user to use Pentaho for future governmental applications. If I'm doing wrong posting this bug on this list, I ask for sorry. Any recommendations are welcomed. 1) I just starting carte.sh ip_address port (carte.sh localhost 8181, for example), and it was running 2) Started Kettle - Spoon Stable Release - 4.3.0, Build version : 4.3.0-stable, Build date : 2012-04-24 14.11.32 3) Created a slave server: Server name: POSTGRES_PROD, Hostaname / IP Address: localhost, Port: 8181, Web App Name: pentaho_di, Username: admin (set on <kettle/pdi>/pwd/kettle.pwd) Password: admin (also set on <kettle/pdi>/pwd/kettle.pwd) Is the master: yes, and in the second case: no (it was irrelevant, tthe error message was the same) 4) Asked for option "Monitor", by the popup menu over the just created POSTGRES_PROD Slave Server on step 3) 5) The message error was for the POSTGRES_PROD Slave Server, on Spoon was: ---------------------------------------------------------------------------------------------------------- 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:694) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:652) at org.pentaho.di.www.SlaveServerStatus.fromXML(SlaveServerStatus.java:125) at org.pentaho.di.cluster.SlaveServer.getStatus(SlaveServer.java:691) at org.pentaho.di.ui.spoon.SpoonSlave.refreshView(SpoonSlave.java:769) at org.pentaho.di.ui.spoon.SpoonSlave.refreshViewAndLog(SpoonSlave.java:519) at org.pentaho.di.ui.spoon.SpoonSlave$10$1.run(SpoonSlave.java:382) 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:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) 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:679) ... 18 more ---------------------------------------------------------------------------------------------------------- 6) carte was presented no error message on log file. 7) By the PDI-4667, I saw that Mr. Jens Bleuel promissed the correction for PDI version 4.4.0 GA

    Pentaho BI Platform Tracking | 5 years ago | César Ramirez Kejelin Stradiotto
    org.pentaho.di.core.exception.KettleXMLException: Error reading information from XML string : Premature end of file.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    After setting the cluster, assigned the slaves (1 master and 2 slave), started the carte for each slave using ports 8085, 8086 and 8087 (ports assigned to the respective slaves); the system gave me an error message: Error reading information from XML string : Premature end of file (see detail below). org.pentaho.di.core.exception.KettleException: org.pentaho.di.core.exception.KettleException: Unexpected problem while generating master transformation Error reading information from XML string : Premature end of file. Unexpected problem while generating master transformation Error reading information from XML string : Premature end of file. at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.splitTrans(SpoonTransformationDelegate.java:1069) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:952) at org.pentaho.di.ui.spoon.Spoon$35$1.run(Spoon.java:7952) 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:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7368) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8673) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.di.core.exception.KettleException: Unexpected problem while generating master transformation Error reading information from XML string : Premature end of file. at org.pentaho.di.trans.cluster.TransSplitter.splitOriginalTransformation(TransSplitter.java:1314) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.splitTrans(SpoonTransformationDelegate.java:977) ... 15 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:713) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:659) at org.pentaho.di.cluster.SlaveServer.allocateServerSocket(SlaveServer.java:826) at org.pentaho.di.trans.cluster.TransSplitter.getPort(TransSplitter.java:238) at org.pentaho.di.trans.cluster.TransSplitter.splitOriginalTransformation(TransSplitter.java:691) ... 16 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:698) ... 20 more Repro path: 1. Open Spoon 2. Connect to an Enterprise Repository 3. Choose the "Tools>Repository>Explore..." option in the Main Menu 4. Click on the "Slaves" tab. 5. Click on "Add" icon. 6. Create a master slave and two slaves using the following data: server name: JBossMaster ip address: localhost Port: 8085 Webapp name: Pentaho-di username: cluster password: cluster Enable the "Is the Master" option Click OK server name: JBossSlave1 ip address: localhost Port: 8086 username: cluster password: cluster Click OK server name: JBossSlave2 ip address: localhost Port: 8087 username: cluster password: cluster Click OK 7. Create a cluster using the previously created slaves (use port 8085, 8086 and 8087) 8. Go to the command line 9. Navigate to "pdi-ee/data-integration" 10. Start carte by using this command (in terminal or command prompt)" Linux: ./carte.sh localhost 8081 Windows: start carte.bat localhost 8085 11. Repeat step 10 for port 8086 and 8087 12. Go back to Spoon 13. Click on Cluster tab 14. Open the following file: ../data-integration/samples/transformations/Split field to rows - basic example.ktr" 15. Save the transformation to the enterprise repository. 16. Right click on the "split fields to rows" step and select "clusterings" option. 17. Select the cluster schema name and click on "OK". 18. Save and run the transformation. While running make sure that the "Executed cluster" check box should be check marked. 19. Transformation should run successfully and there should not be any errors. NOTE: Error appears as previously described.

    Pentaho BI Platform Tracking | 3 years ago | Jose Berdecia
    org.pentaho.di.core.exception.KettleException: Unexpected problem while generating master transformation Error reading information from XML string : Premature end of file. Unexpected problem while generating master transformation Error reading information from XML string : Premature end of file.
  4. 0

    I think this bug is similar to PDI-4667. Note: I'm not a Pentaho CE programmer, just a focused user to use Pentaho for future governmental applications. If I'm doing wrong posting this bug on this list, I ask for sorry. Any recommendations are welcomed. 1) I just starting carte.sh ip_address port (carte.sh localhost 8181, for example), and it was running 2) Started Kettle - Spoon Stable Release - 4.3.0, Build version : 4.3.0-stable, Build date : 2012-04-24 14.11.32 3) Created a slave server: Server name: POSTGRES_PROD, Hostaname / IP Address: localhost, Port: 8181, Web App Name: pentaho_di, Username: admin (set on <kettle/pdi>/pwd/kettle.pwd) Password: admin (also set on <kettle/pdi>/pwd/kettle.pwd) Is the master: yes, and in the second case: no (it was irrelevant, tthe error message was the same) 4) Asked for option "Monitor", by the popup menu over the just created POSTGRES_PROD Slave Server on step 3) 5) The message error was for the POSTGRES_PROD Slave Server, on Spoon was: ---------------------------------------------------------------------------------------------------------- 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:694) at org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:652) at org.pentaho.di.www.SlaveServerStatus.fromXML(SlaveServerStatus.java:125) at org.pentaho.di.cluster.SlaveServer.getStatus(SlaveServer.java:691) at org.pentaho.di.ui.spoon.SpoonSlave.refreshView(SpoonSlave.java:769) at org.pentaho.di.ui.spoon.SpoonSlave.refreshViewAndLog(SpoonSlave.java:519) at org.pentaho.di.ui.spoon.SpoonSlave$10$1.run(SpoonSlave.java:382) 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:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) 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:679) ... 18 more ---------------------------------------------------------------------------------------------------------- 6) carte was presented no error message on log file. 7) By the PDI-4667, I saw that Mr. Jens Bleuel promissed the correction for PDI version 4.4.0 GA

    Pentaho BI Platform Tracking | 5 years ago | César Ramirez Kejelin Stradiotto
    org.pentaho.di.core.exception.KettleXMLException: Error reading information from XML string : Premature end of file.

    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.pentaho.di.core.exception.KettleXMLException

      Error reading information from XML string : Premature end of file.

      at org.pentaho.di.core.xml.XMLHandler.loadXMLString()
    2. org.pentaho.di
      DatabaseMeta.<init>
      1. org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:713)
      2. org.pentaho.di.core.xml.XMLHandler.loadXMLString(XMLHandler.java:659)
      3. org.pentaho.di.core.database.DatabaseMeta.<init>(DatabaseMeta.java:805)
      3 frames
    3. mondrian.gui
      Workbench.main
      1. mondrian.gui.Workbench.getDbMeta(Workbench.java:1231)
      2. mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193)
      3. mondrian.gui.Workbench.<init>(Workbench.java:132)
      4. mondrian.gui.Workbench.main(Workbench.java:2093)
      4 frames