AnsweredAssumed Answered

gis file input shp error

Question asked by Jakub Zbudniewek on Mar 23, 2018
Latest reply on Mar 23, 2018 by Gotn O'Guts

After choosing a shapefile in above step and clicking Preview, I get the following error and no data is displayed. Seems like it can't find the input file? What's the solution?

 

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException)

at org.eclipse.swt.SWT.error(Unknown Source)

at org.eclipse.swt.SWT.error(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:1366)

at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7984)

at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9245)

at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692)

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: java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException

at com.atolcd.pentaho.di.trans.steps.gisfileinput.GisFileInputMeta.getFields(GisFileInputMeta.java:211)

at org.pentaho.di.trans.TransMeta.compatibleGetStepFields(TransMeta.java:2017)

at org.pentaho.di.trans.TransMeta.getThisStepFields(TransMeta.java:2003)

at org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1834)

at org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1734)

at org.pentaho.di.trans.TransMeta.getStepFields(TransMeta.java:1696)

at org.pentaho.di.ui.trans.debug.TransDebugDialog.showStepDebugInformation(TransDebugDialog.java:442)

at org.pentaho.di.ui.trans.debug.TransDebugDialog.refreshStepList(TransDebugDialog.java:306)

at org.pentaho.di.ui.trans.debug.TransDebugDialog.getData(TransDebugDialog.java:260)

at org.pentaho.di.ui.trans.debug.TransDebugDialog.open(TransDebugDialog.java:235)

at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:821)

at org.pentaho.di.ui.spoon.Spoon$30$1.run(Spoon.java:8465)

at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)

... 12 more

Caused by: java.lang.ClassNotFoundException: org.apache.commons.vfs.FileSystemException

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClassFromParent(KettleURLClassLoader.java:89)

at org.pentaho.di.core.plugins.KettleURLClassLoader.loadClass(KettleURLClassLoader.java:108)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 25 more

Outcomes