org.pentaho.di.core.exception.KettleXMLException

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.

  • An error appears while trying to execute pan.bat/.sh command for the transformation that was exported as a linked resource in xml. The same happens while using kitchen.bat/.sh command for exported job. *Pan.bat error:* {noformat} 2017/02/09 13:02:13 - Pan - Start of run. Processing has stopped because of an error: Unable to read file [file:///C:/Pentaho/design-tools/data-integration/zip:file:/ C:/Share/transformation_test.zip!test.ktr] Could not read from "file:///C:/Pentaho/design-tools/data-integration/zip:file:/ C:/Share/transformation_test.zip!test.ktr" because it is not a file. org.pentaho.di.core.exception.KettleXMLException: Unable to read file [file:///C:/Pentaho/design-tools/data-integration/zip:file:/ C:/Share/transformation_test.zip!test.ktr] Could not read from "file:///C:/Pentaho/design-tools/data-integration/zip:file:/ C:/Share/transformation_test.zip!test.ktr" because it is not a file. at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:561) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2743) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2711) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2688) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2668) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2633) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2596) at org.pentaho.di.pan.Pan.main(Pan.java:393) 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:92) Caused by: org.apache.commons.vfs2.FileNotFoundException: Could not read from "f ile:///C:/Pentaho/design-tools/data-integration/zip:file:/C:/Share/transformatio n_test.zip!test.ktr" because it is not a file. at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(Ab stractFileObject.java:1309) at org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(De faultFileContent.java:411) at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:261) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559) ... 13 more Caused by: java.io.FileNotFoundException: C:\Pentaho\design-tools\data-integrati on\zip:file:\C:\Share\transformation_test.zip!test.ktr (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(Loc alFile.java:241) at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(Ab stractFileObject.java:1301) ... 16 more {noformat} *Kitchen.bat error:* {noformat} Processing stopped because of an error: Unable to load the job from XML file [C:\Pentaho\design-tools\data-integration\zip:file:///C:/Share/job_test.zip!job_test.kjb] Unable to read file [file:///C:/Pentaho/design-tools/data-integration/zip:file:/C:/Share/job_test.zip!job_test.kjb] Could not read from "file:///C:/Pentaho/design-tools/data-integration/zip:file:/C:/Share/job_test.zip!job_test.kjb" because it is not a file. ERROR: Kitchen can't continue because the job couldn't be loaded. {noformat} Both commands are executed successfully in 6.x version.
    via by Darya Baranovich,
  • This is not happening on 6.0.1. It might be an issue with Windows (10) and some security prevention since I get an "Access denied" (see exception below). {noformat} org.pentaho.di.core.exception.KettleXMLException: Unable to read file [file:///C:/Pentaho/BA-ee-6101.196/design-tools/data-integration] Could not read from "file:///C:/Pentaho/BA-ee-6101.196/design-tools/data-integration" because it is not a file. at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:560) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:539) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2716) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2684) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2661) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2641) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2606) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2569) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.loadFileTrans(MetaInjectDialog.java:1042) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.loadTransformation(MetaInjectDialog.java:1084) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.checkInvalidMapping(MetaInjectDialog.java:334) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:321) 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:662) 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:92) Caused by: org.apache.commons.vfs2.FileNotFoundException: Could not read from "file:///C:/Pentaho/BA-ee-6101.196/design-tools/data-integration" because it is not a file. at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1309) at org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:411) at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:261) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:558) ... 29 more Caused by: java.io.FileNotFoundException: C:\Pentaho\BA-ee-6101.196\design-tools\data-integration (Access denied) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:241) at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1301) ... 32 more {noformat}
    via by Jens Bleuel,
  • This is not happening on 6.0.1. It might be an issue with Windows (10) and some security prevention since I get an "Access denied" (see exception below). {noformat} org.pentaho.di.core.exception.KettleXMLException: Unable to read file [file:///C:/Pentaho/BA-ee-6101.196/design-tools/data-integration] Could not read from "file:///C:/Pentaho/BA-ee-6101.196/design-tools/data-integration" because it is not a file. at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:560) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:539) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2716) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2684) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2661) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2641) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2606) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2569) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.loadFileTrans(MetaInjectDialog.java:1042) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.loadTransformation(MetaInjectDialog.java:1084) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.checkInvalidMapping(MetaInjectDialog.java:334) at org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:321) 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:662) 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:92) Caused by: org.apache.commons.vfs2.FileNotFoundException: Could not read from "file:///C:/Pentaho/BA-ee-6101.196/design-tools/data-integration" because it is not a file. at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1309) at org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:411) at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:261) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:558) ... 29 more Caused by: java.io.FileNotFoundException: C:\Pentaho\BA-ee-6101.196\design-tools\data-integration (Access denied) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:241) at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1301) ... 32 more {noformat}
    via by Jens Bleuel,
  • Ant Build Error Poweramp skin
    via by Unknown author,
  • Jasper Report cannot find the class path
    via by Unknown author,
  • File Not Found w/ FileInputStream
    via Stack Overflow by Beginner
    ,
    • org.pentaho.di.core.exception.KettleXMLException: Unable to read file [file:///C:/Pentaho/design-tools/data-integration/zip:file:/ C:/Share/transformation_test.zip!test.ktr] Could not read from "file:///C:/Pentaho/design-tools/data-integration/zip:file:/ C:/Share/transformation_test.zip!test.ktr" because it is not a file. at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:561) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2743) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2711) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2688) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2668) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2633) at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2596) at org.pentaho.di.pan.Pan.main(Pan.java:393) 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:92) Caused by: org.apache.commons.vfs2.FileNotFoundException: Could not read from "f ile:///C:/Pentaho/design-tools/data-integration/zip:file:/C:/Share/transformatio n_test.zip!test.ktr" because it is not a file. at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1309) at org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:411) at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:261) at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559) ... 13 more Caused by: java.io.FileNotFoundException: C:\Pentaho\design-tools\data-integrati on\zip:file:\C:\Share\transformation_test.zip!test.ktr (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:241) at org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1301) ... 16 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    187 more bugmates