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.

Pentaho BI Platform Tracking | Darya Baranovich | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Running pan.bat from command line

    Stack Overflow | 1 year ago | Deepesh
    org.pentaho.di.core.exception.KettleXMLException: Unable to read file [file:///E:/Practise_TRANSFORMATION] Could not read from "file:///E:/Practise_TRANSFORMATION" because it is a not a file. at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559)
  2. 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 | 3 months 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.
  3. 0

    Java Pentaho Exception MongoDB

    Stack Overflow | 3 months ago | Thusira Dissanayake
    org.pentaho.di.core.exception.KettleMissingPluginsException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running *.ktr in Java throws KettleMissingPluginsException - Why?

    Stack Overflow | 2 years ago | Maximilian C.
    org.pentaho.di.core.exception.KettleMissingPluginsException: Missing plugins found while loading a transformation Step : CsvInput Step : XMLOutput
  6. 0

    Running PDI Kettle on Java - Mongodb Step Missing Plugins

    Stack Overflow | 2 years ago | M.R. Murazza
    org.pentaho.di.core.exception.KettleMissingPluginsException: Missing plugins found while loading a transformation Step : MongoDbInput
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\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()
  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
    Pan.main
    1. org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:261)
    2. org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559)
    3. org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540)
    4. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2743)
    5. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2711)
    6. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2688)
    7. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2668)
    8. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2633)
    9. org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2596)
    10. org.pentaho.di.pan.Pan.main(Pan.java:393)
    10 frames
  5. 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
  6. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
    1 frame