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.

Pentaho BI Platform Tracking | Jens Bleuel | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    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}

    Pentaho BI Platform Tracking | 9 months ago | Jens Bleuel
    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.
  2. 0

    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}

    Pentaho BI Platform Tracking | 9 months ago | Jens Bleuel
    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.
  3. 0

    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.

    Pentaho BI Platform Tracking | 2 weeks ago | Darya Baranovich
    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ant Build Error Poweramp skin

    Stack Overflow | 2 years ago
    java.io.FileNotFoundException: C:\AndroidSDK (Zugriff verweigert) // This means access denied
  6. 0

    Jasper Report cannot find the class path

    Stack Overflow | 2 years ago
    java.io.FileNotFoundException: I:\Projects\Testsrc\com\thus\test\Blank_A4_Landscape.jrxml (The system cannot find the path specified)

  1. rp 1 times, last 2 weeks ago
  2. Adrien 6 times, last 2 weeks ago
  3. gamebusterz 8 times, last 3 weeks ago
  4. michallos 1 times, last 1 month ago
  5. tyson925 4 times, last 1 month ago
52 more registered users
43 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.io.FileNotFoundException

    C:\Pentaho\BA-ee-6101.196\design-tools\data-integration (Access denied)

    at java.io.FileInputStream.open0()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open0(Native Method)
    2. java.io.FileInputStream.open(Unknown Source)
    3. java.io.FileInputStream.<init>(Unknown Source)
    3 frames
  3. Commons VFS Core
    DefaultFileContent.getInputStream
    1. org.apache.commons.vfs2.provider.local.LocalFile.doGetInputStream(LocalFile.java:241)
    2. org.apache.commons.vfs2.provider.AbstractFileObject.getInputStream(AbstractFileObject.java:1301)
    3. org.apache.commons.vfs2.provider.DefaultFileContent.getInputStream(DefaultFileContent.java:411)
    3 frames
  4. org.pentaho.di
    TransGraph.mouseDoubleClick
    1. org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:261)
    2. org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:558)
    3. org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:539)
    4. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2716)
    5. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2684)
    6. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2661)
    7. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2641)
    8. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2606)
    9. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2569)
    10. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.loadFileTrans(MetaInjectDialog.java:1042)
    11. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.loadTransformation(MetaInjectDialog.java:1084)
    12. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.checkInvalidMapping(MetaInjectDialog.java:334)
    13. org.pentaho.di.ui.trans.steps.metainject.MetaInjectDialog.open(MetaInjectDialog.java:321)
    14. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:125)
    15. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8783)
    16. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3072)
    17. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:755)
    17 frames
  5. 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
  6. 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:662)
    4 frames
  7. 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
  8. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
    1 frame