java.lang.NullPointerException

Pentaho BI Platform Tracking | Paul Stoellberger | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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.lang.NullPointerException
  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.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.core.svg.SvgSupport.isPngName()
    2. org.pentaho.di
      GUIResource.loadCommonImages
      1. org.pentaho.di.core.svg.SvgSupport.isPngName(SvgSupport.java:90)
      2. org.pentaho.di.core.svg.SvgSupport.toSvgName(SvgSupport.java:97)
      3. org.pentaho.di.ui.util.SwtSvgImageUtil.getImageAsResource(SwtSvgImageUtil.java:112)
      4. org.pentaho.di.ui.core.gui.GUIResource.loadCommonImages(GUIResource.java:796)
      4 frames