Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-6815

Can not open transformation|job in repository explorer when is used File Repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.2.0 GA (4.0.0 GA Suite Release)
    • Fix Version/s: 5.1.0 GA
    • Component/s: Repository (File)
    • Labels:
    • Environment:
      PDI CE 4.2.0-stable
      Java JDK 1.6.0_27 64-bit
    • Story Points:
      3
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Pervach
    • Operating System/s:
      Windows 7 (64-bit)

      Description

      Can not open transformation or job in File repository explorer. Opening throws exception:

      Unable to read file file:///D:/usr/projects/bi/etl/default_article.ktr
      Could not read from "file:///D:/usr/projects/bi/etl/default_article.ktr" because it is a not a file.

      File is stored in directory D:\usr\projects\bi\etl\dim\default_article.ktr.

      Detail of exception:
      java.lang.reflect.InvocationTargetException: Error loading transformation
      at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog$1.run(TransLoadProgressDialog.java:102)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495)
      at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog.open(TransLoadProgressDialog.java:110)
      at org.pentaho.di.ui.spoon.Spoon.loadObjectFromRepository(Spoon.java:3521)
      at org.pentaho.di.ui.spoon.Spoon.access$1700(Spoon.java:299)
      at org.pentaho.di.ui.spoon.Spoon$20.open(Spoon.java:3462)
      at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.openContent(BrowseController.java:311)
      at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDoubleClick(BrowseController.java:675)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321)
      at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
      at org.pentaho.ui.xul.swt.tags.SwtTree.access$2100(SwtTree.java:95)
      at org.pentaho.ui.xul.swt.tags.SwtTree$12.doubleClick(SwtTree.java:581)
      at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
      at org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
      at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797)
      at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1061)
      at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173)
      at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237)
      at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234)
      at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
      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.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      at org.eclipse.jface.window.Window.open(Window.java:796)
      at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378)
      at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304)
      at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:127)
      at org.pentaho.di.ui.spoon.Spoon$21$1.run(Spoon.java:3488)
      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:1169)
      at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6938)
      at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
      Caused by: org.pentaho.di.core.exception.KettleXMLException:
      Unable to read file file:///D:/usr/projects/bi/etl/default_article.ktr
      Could not read from "file:///D:/usr/projects/bi/etl/default_article.ktr" because it is a not a file.

      at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:501)
      at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:485)
      at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2344)
      at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2326)
      at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2313)
      at org.pentaho.di.repository.filerep.KettleFileRepository.loadTransformation(KettleFileRepository.java:891)
      at org.pentaho.di.repository.filerep.KettleFileRepository.loadTransformation(KettleFileRepository.java:1191)
      at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog$1.run(TransLoadProgressDialog.java:95)
      ... 43 more
      Caused by: org.apache.commons.vfs.FileNotFoundException: Could not read from "file:///D:/usr/projects/bi/etl/default_article.ktr" because it is a not a file.
      at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream(Unknown Source)
      at org.apache.commons.vfs.provider.DefaultFileContent.getInputStream(Unknown Source)
      at org.pentaho.di.core.vfs.KettleVFS.getInputStream(KettleVFS.java:237)
      at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:499)
      ... 50 more
      Caused by: java.io.FileNotFoundException: D:\usr\projects\bi\etl\default_article.ktr (Systém nemůže nalézt uvedený soubor)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:120)
      at org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream(Unknown Source)
      ... 54 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              adoudkina Antonina Doudkina (Inactive)
              Reporter:
              petr.prochazka Petr Procházka
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: