java.lang.NullPointerException

mathworks.com | 1 month ago
  1. 0

    When running ba-server command-line I am seeing a NPE. Tried several of the last builds including 1793 with same NPE. /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee WARNING: Using java from path DEBUG: _PENTAHO_JAVA_HOME= DEBUG: _PENTAHO_JAVA=java DEBUG: PENTAHO_INSTALLED_LICENSE_PATH= -------------------------------------------------------------------------------------------- The Pentaho BI Platform now contains a version checker that will notify you when newer versions of the software are available. The version checker is enabled by default. For information on what the version checker does, why it is beneficial, and how it works see: http://wiki.pentaho.com/display/ServerDoc2x/Version+Checker Press Enter to continue, or type cancel or Ctrl-C to prevent the server from starting. You will only be prompted once with this question. -------------------------------------------------------------------------------------------- [OK]: Using CATALINA_BASE: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat Using CATALINA_HOME: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat Using CATALINA_TMPDIR: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat/temp Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home Using CLASSPATH: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat/bin/bootstrap.jar ITAdmins-MacBook-Pro-4:biserver-ee skarmali$ !tail tail -f tomcat/logs/catalina.out Oct 30, 2013 11:27:56 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 964 ms Oct 30, 2013 11:27:56 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 30, 2013 11:27:56 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.36 Oct 30, 2013 11:27:56 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory pentaho Oct 30, 2013 11:27:57 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles INFO: WARNING: Security role name PENTAHO_ADMIN used in an <auth-constraint> without being defined in a <security-role> [Server@4548e798]: [Thread[main,5,main]]: checkRunning(false) entered [Server@4548e798]: [Thread[main,5,main]]: checkRunning(false) exited [Server@4548e798]: Initiating startup sequence... [Server@4548e798]: Server socket opened successfully in 5 ms. [Server@4548e798]: Database [index=0, id=0, db=file:../../data/hsqldb/sampledata, alias=sampledata] opened sucessfully in 1491 ms. [Server@4548e798]: Startup sequence completed in 1499 ms. [Server@4548e798]: 2013-10-30 11:28:00.438 HSQLDB server 1.8.0 is online [Server@4548e798]: To close normally, connect and execute SHUTDOWN SQL [Server@4548e798]: From command line, use [Ctrl]+[C] to abort abruptly java.lang.NullPointerException at java.io.File.<init>(File.java:222) at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:60) at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:33) at java.security.AccessController.doPrivileged(Native Method) at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:29) at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:24) at com.apple.laf.AquaLookAndFeel.initResourceBundle(AquaLookAndFeel.java:244) at com.apple.laf.AquaLookAndFeel.initComponentDefaults(AquaLookAndFeel.java:260) at com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:227) at javax.swing.UIManager.setLookAndFeel(UIManager.java:520) at javax.swing.UIManager.setLookAndFeel(UIManager.java:564) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1329) at javax.swing.UIManager.initialize(UIManager.java:1422) at javax.swing.UIManager.maybeInitialize(UIManager.java:1410) at javax.swing.UIManager.getLookAndFeel(UIManager.java:473) at org.pentaho.reporting.libraries.base.util.SystemInformation.getOtherProperties(SystemInformation.java:112) at org.pentaho.reporting.libraries.base.util.SystemInformation.getSystemInformation(SystemInformation.java:66) at org.pentaho.reporting.libraries.base.util.SystemInformation.logSystemInformation(SystemInformation.java:43) at org.pentaho.reporting.libraries.base.LibBaseBoot.performBoot(LibBaseBoot.java:76) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.performBootDependencies(AbstractBoot.java:256) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:198) at org.pentaho.reporting.platform.plugin.ReportingSystemStartupListener.startup(ReportingSystemStartupListener.java:63) at org.pentaho.reporting.platform.plugin.LifecycleListener.init(LifecycleListener.java:28)

    Pentaho BI Platform Tracking | 3 years ago | Sulaiman Karmali
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    When running ba-server command-line I am seeing a NPE. Tried several of the last builds including 1793 with same NPE. /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee WARNING: Using java from path DEBUG: _PENTAHO_JAVA_HOME= DEBUG: _PENTAHO_JAVA=java DEBUG: PENTAHO_INSTALLED_LICENSE_PATH= -------------------------------------------------------------------------------------------- The Pentaho BI Platform now contains a version checker that will notify you when newer versions of the software are available. The version checker is enabled by default. For information on what the version checker does, why it is beneficial, and how it works see: http://wiki.pentaho.com/display/ServerDoc2x/Version+Checker Press Enter to continue, or type cancel or Ctrl-C to prevent the server from starting. You will only be prompted once with this question. -------------------------------------------------------------------------------------------- [OK]: Using CATALINA_BASE: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat Using CATALINA_HOME: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat Using CATALINA_TMPDIR: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat/temp Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home Using CLASSPATH: /Users/skarmali/pentaho/biserver-ee-builds/biserver-ee-TRUNK-SNAPSHOT-b1793/biserver-ee/tomcat/bin/bootstrap.jar ITAdmins-MacBook-Pro-4:biserver-ee skarmali$ !tail tail -f tomcat/logs/catalina.out Oct 30, 2013 11:27:56 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 964 ms Oct 30, 2013 11:27:56 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 30, 2013 11:27:56 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.36 Oct 30, 2013 11:27:56 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory pentaho Oct 30, 2013 11:27:57 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles INFO: WARNING: Security role name PENTAHO_ADMIN used in an <auth-constraint> without being defined in a <security-role> [Server@4548e798]: [Thread[main,5,main]]: checkRunning(false) entered [Server@4548e798]: [Thread[main,5,main]]: checkRunning(false) exited [Server@4548e798]: Initiating startup sequence... [Server@4548e798]: Server socket opened successfully in 5 ms. [Server@4548e798]: Database [index=0, id=0, db=file:../../data/hsqldb/sampledata, alias=sampledata] opened sucessfully in 1491 ms. [Server@4548e798]: Startup sequence completed in 1499 ms. [Server@4548e798]: 2013-10-30 11:28:00.438 HSQLDB server 1.8.0 is online [Server@4548e798]: To close normally, connect and execute SHUTDOWN SQL [Server@4548e798]: From command line, use [Ctrl]+[C] to abort abruptly java.lang.NullPointerException at java.io.File.<init>(File.java:222) at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:60) at com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:33) at java.security.AccessController.doPrivileged(Native Method) at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:29) at com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:24) at com.apple.laf.AquaLookAndFeel.initResourceBundle(AquaLookAndFeel.java:244) at com.apple.laf.AquaLookAndFeel.initComponentDefaults(AquaLookAndFeel.java:260) at com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:227) at javax.swing.UIManager.setLookAndFeel(UIManager.java:520) at javax.swing.UIManager.setLookAndFeel(UIManager.java:564) at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1329) at javax.swing.UIManager.initialize(UIManager.java:1422) at javax.swing.UIManager.maybeInitialize(UIManager.java:1410) at javax.swing.UIManager.getLookAndFeel(UIManager.java:473) at org.pentaho.reporting.libraries.base.util.SystemInformation.getOtherProperties(SystemInformation.java:112) at org.pentaho.reporting.libraries.base.util.SystemInformation.getSystemInformation(SystemInformation.java:66) at org.pentaho.reporting.libraries.base.util.SystemInformation.logSystemInformation(SystemInformation.java:43) at org.pentaho.reporting.libraries.base.LibBaseBoot.performBoot(LibBaseBoot.java:76) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.performBootDependencies(AbstractBoot.java:256) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:198) at org.pentaho.reporting.platform.plugin.ReportingSystemStartupListener.startup(ReportingSystemStartupListener.java:63) at org.pentaho.reporting.platform.plugin.LifecycleListener.init(LifecycleListener.java:28)

    Pentaho BI Platform Tracking | 3 years ago | Sulaiman Karmali
    java.lang.NullPointerException

  1. ajinkya_w 1 times, last 2 months ago
  2. emmanuelstroem 1 times, last 4 months ago
  3. adawolfs 31 times, last 2 months ago
  4. Diogo Jaym 6 times, last 5 months ago
  5. Bardh 7 times, last 6 months ago
6 more registered users
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.io.File.<init>()
  2. Java RT
    File.<init>
    1. java.io.File.<init>(File.java:222)
    1 frame
  3. com.apple.resources
    LoadNativeBundleAction.run
    1. com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:60)
    2. com.apple.resources.LoadNativeBundleAction.run(MacOSXResourceBundle.java:33)
    2 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. com.apple.resources
    MacOSXResourceBundle.getMacResourceBundle
    1. com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:29)
    2. com.apple.resources.MacOSXResourceBundle.getMacResourceBundle(MacOSXResourceBundle.java:24)
    2 frames
  6. Java RT
    UIManager.setLookAndFeel
    1. com.apple.laf.AquaLookAndFeel.initResourceBundle(AquaLookAndFeel.java:244)
    2. com.apple.laf.AquaLookAndFeel.initComponentDefaults(AquaLookAndFeel.java:260)
    3. com.apple.laf.AquaLookAndFeel.getDefaults(AquaLookAndFeel.java:227)
    4. javax.swing.UIManager.setLookAndFeel(UIManager.java:520)
    5. javax.swing.UIManager.setLookAndFeel(UIManager.java:564)
    5 frames
  7. com.mathworks.mwswing
    MJStartupForDesktop.<clinit>
    1. com.mathworks.mwswing.plaf.PlafUtils.setLookAndFeel(PlafUtils.java:296)
    2. com.mathworks.mwswing.MJStartupForDesktop.init(MJStartupForDesktop.java:58)
    3. com.mathworks.mwswing.MJStartupForDesktop.<clinit>(MJStartupForDesktop.java:32)
    3 frames
  8. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:171)
    2 frames
  9. com.mathworks.util
    PostVMInit.perform
    1. com.mathworks.util.PostVMInit$StartupClass.init(PostVMInit.java:96)
    2. com.mathworks.util.PostVMInit.perform(PostVMInit.java:114)
    2 frames