java.io.FileNotFoundException

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.

  • PDI won't start because of Karaf Plugin not being able to deal with blanks in file path Once the blank is removed, it works as expected See stacktrace below: {noformat} data-integration 2 $ sh spoon.sh 14:34:35,447 WARN [KarafBoot] No custom.properties file for in karaf distribution. 14:34:35,456 ERROR [KarafBoot] Error starting Karaf java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment at org.pentaho.platform.osgi.KarafInstancePortFactory.process(KarafInstancePortFactory.java:68) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:150) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:585) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:577) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) 14:34:46,075 ERROR [KarafLifecycleListener] The Kettle Karaf Lifycycle Listener failed to execute properly. Releasing lifecycle hold, but some services may be unavailable. java.lang.NullPointerException at org.pentaho.di.core.svg.SvgSupport.isPngName(SvgSupport.java:90) at org.pentaho.di.core.svg.SvgSupport.toSvgName(SvgSupport.java:97) at org.pentaho.di.ui.util.SwtSvgImageUtil.getImageAsResource(SwtSvgImageUtil.java:112) at org.pentaho.di.ui.core.gui.GUIResource.loadCommonImages(GUIResource.java:796) {noformat}
    via by Paul Stoellberger,
  • PDI won't start because of Karaf Plugin not being able to deal with blanks in file path Once the blank is removed, it works as expected See stacktrace below: {noformat} data-integration 2 $ sh spoon.sh 14:34:35,447 WARN [KarafBoot] No custom.properties file for in karaf distribution. 14:34:35,456 ERROR [KarafBoot] Error starting Karaf java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment at org.pentaho.platform.osgi.KarafInstancePortFactory.process(KarafInstancePortFactory.java:68) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:150) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:585) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:577) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) 14:34:46,075 ERROR [KarafLifecycleListener] The Kettle Karaf Lifycycle Listener failed to execute properly. Releasing lifecycle hold, but some services may be unavailable. java.lang.NullPointerException at org.pentaho.di.core.svg.SvgSupport.isPngName(SvgSupport.java:90) at org.pentaho.di.core.svg.SvgSupport.toSvgName(SvgSupport.java:97) at org.pentaho.di.ui.util.SwtSvgImageUtil.getImageAsResource(SwtSvgImageUtil.java:112) at org.pentaho.di.ui.core.gui.GUIResource.loadCommonImages(GUIResource.java:796) {noformat}
    via by Paul Stoellberger,
    • java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment at org.pentaho.platform.osgi.KarafInstancePortFactory.process(KarafInstancePortFactory.java:68) at org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:150) at org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:585) at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:577) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)
    No Bugmate found.