java.io.FileNotFoundException: File /Users/pstoellberger/Downloads/data-integration/./karaf-copy//etc/KarafPorts.yaml does not exist. Could not determine karaf port assignment

Pentaho BI Platform Tracking | Paul Stoellberger | 11 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

    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}

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

    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}

    Pentaho BI Platform Tracking | 11 months ago | 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

    Root Cause Analysis

    1. 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()
    2. org.pentaho.platform
      KarafBoot.startup
      1. org.pentaho.platform.osgi.KarafInstancePortFactory.process(KarafInstancePortFactory.java:68)
      2. org.pentaho.platform.osgi.KarafBoot.startup(KarafBoot.java:150)
      2 frames
    3. org.pentaho.di
      Spoon$1.call
      1. org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension.init(OSGIPluginRegistryExtension.java:105)
      2. org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:558)
      3. org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:101)
      4. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:97)
      5. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:75)
      6. org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:585)
      7. org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:577)
      7 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:722)
      5 frames