java.lang.NullPointerException

Appcelerator JIRA | Jan Stelovsky | 2 years ago
  1. 0

    On Mac, Aptana Studio 3 won't Quit, must use Force Quit... It seems that crashes while quitting - this is the original exception from the log file: 8/8/14 10:51:40.629 PM AptanaStudio3[965]: Apple AWT Startup Exception : _createMenuRef called with existing principal MenuRef already associated with menu This is the subsequent exception's stack trace: 8/8/14 10:51:40.634 PM AptanaStudio3[965]: Apple AWT Startup Exception : java.lang.NullPointerException at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5204) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1833) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1730) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1044) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1605) at java.awt.Toolkit.<clinit>(Toolkit.java:1627) at sun.awt.AppContext$2.run(AppContext.java:240) at sun.awt.AppContext$2.run(AppContext.java:226) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.AppContext.initMainAppContext(AppContext.java:226) at sun.awt.AppContext.access$200(AppContext.java:112) at sun.awt.AppContext$3.run(AppContext.java:306) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.AppContext.getAppContext(AppContext.java:287) at com.sun.jmx.trace.Trace.out(Trace.java:180) at com.sun.jmx.trace.Trace.isSelected(Trace.java:88) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isTraceOn(DefaultMBeanServerInterceptor.java:1830) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:929) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:916) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) at com.sun.jmx.mbeanserver.JmxMBeanServer$2.run(JmxMBeanServer.java:1195) at java.security.AccessController.doPrivileged(Native Method) at com.sun.jmx.mbeanserver.JmxMBeanServer.initialize(JmxMBeanServer.java:1193) at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:225) at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:170) at com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServer(JmxMBeanServer.java:1401) at javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:93) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:311) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:214) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:175) at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302) at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504) at org.apache.derby.impl.services.jmx.JMXManagementService$1.run(Unknown Source) at org.apache.derby.impl.services.jmx.JMXManagementService$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown Source) at org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source) at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source) at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source) at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:171) at com.aptana.usage.internal.AptanaDB.loadDriver(AptanaDB.java:247) at com.aptana.usage.internal.AptanaDB.getInstance(AptanaDB.java:50) at com.aptana.usage.UsagePlugin.stop(UsagePlugin.java:76) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

    Appcelerator JIRA | 2 years ago | Jan Stelovsky
    java.lang.NullPointerException
  2. 0

    On Mac, Aptana Studio 3 won't Quit, must use Force Quit... It seems that crashes while quitting - this is the original exception from the log file: 8/8/14 10:51:40.629 PM AptanaStudio3[965]: Apple AWT Startup Exception : _createMenuRef called with existing principal MenuRef already associated with menu This is the subsequent exception's stack trace: 8/8/14 10:51:40.634 PM AptanaStudio3[965]: Apple AWT Startup Exception : java.lang.NullPointerException at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5204) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1833) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1730) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1044) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1605) at java.awt.Toolkit.<clinit>(Toolkit.java:1627) at sun.awt.AppContext$2.run(AppContext.java:240) at sun.awt.AppContext$2.run(AppContext.java:226) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.AppContext.initMainAppContext(AppContext.java:226) at sun.awt.AppContext.access$200(AppContext.java:112) at sun.awt.AppContext$3.run(AppContext.java:306) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.AppContext.getAppContext(AppContext.java:287) at com.sun.jmx.trace.Trace.out(Trace.java:180) at com.sun.jmx.trace.Trace.isSelected(Trace.java:88) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isTraceOn(DefaultMBeanServerInterceptor.java:1830) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:929) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:916) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) at com.sun.jmx.mbeanserver.JmxMBeanServer$2.run(JmxMBeanServer.java:1195) at java.security.AccessController.doPrivileged(Native Method) at com.sun.jmx.mbeanserver.JmxMBeanServer.initialize(JmxMBeanServer.java:1193) at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:225) at com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:170) at com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServer(JmxMBeanServer.java:1401) at javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:93) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:311) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:214) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:175) at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302) at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504) at org.apache.derby.impl.services.jmx.JMXManagementService$1.run(Unknown Source) at org.apache.derby.impl.services.jmx.JMXManagementService$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown Source) at org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source) at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source) at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source) at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source) at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source) at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:171) at com.aptana.usage.internal.AptanaDB.loadDriver(AptanaDB.java:247) at com.aptana.usage.internal.AptanaDB.getInstance(AptanaDB.java:50) at com.aptana.usage.UsagePlugin.stop(UsagePlugin.java:76) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

    Appcelerator JIRA | 2 years ago | Jan Stelovsky
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NullPointerException in Display line 5040

    Eclipse Bugzilla | 5 years ago | luzius.meisser
    java.lang.NullPointerException
  5. 0

    Why doesn't my Eclipse start in El Capitan?

    Stack Overflow | 6 months ago | user1429322
    java.lang.NullPointerException

    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 org.eclipse.swt.widgets.Display.applicationProc()
    2. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5204)
      1 frame
    3. Java RT
      AppContext.getAppContext
      1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
      2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1833)
      3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1730)
      4. java.lang.Runtime.loadLibrary0(Runtime.java:823)
      5. java.lang.System.loadLibrary(System.java:1044)
      6. sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
      9. java.awt.Toolkit.<clinit>(Toolkit.java:1627)
      10. sun.awt.AppContext$2.run(AppContext.java:240)
      11. sun.awt.AppContext$2.run(AppContext.java:226)
      12. java.security.AccessController.doPrivileged(Native Method)
      13. sun.awt.AppContext.initMainAppContext(AppContext.java:226)
      14. sun.awt.AppContext.access$200(AppContext.java:112)
      15. sun.awt.AppContext$3.run(AppContext.java:306)
      16. java.security.AccessController.doPrivileged(Native Method)
      17. sun.awt.AppContext.getAppContext(AppContext.java:287)
      17 frames
    4. com.sun.jmx
      Trace.isSelected
      1. com.sun.jmx.trace.Trace.out(Trace.java:180)
      2. com.sun.jmx.trace.Trace.isSelected(Trace.java:88)
      2 frames
    5. Java RT
      ManagementFactory.getPlatformMBeanServer
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isTraceOn(DefaultMBeanServerInterceptor.java:1830)
      2. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:929)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:916)
      4. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
      5. com.sun.jmx.mbeanserver.JmxMBeanServer$2.run(JmxMBeanServer.java:1195)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. com.sun.jmx.mbeanserver.JmxMBeanServer.initialize(JmxMBeanServer.java:1193)
      8. com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:225)
      9. com.sun.jmx.mbeanserver.JmxMBeanServer.<init>(JmxMBeanServer.java:170)
      10. com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServer(JmxMBeanServer.java:1401)
      11. javax.management.MBeanServerBuilder.newMBeanServer(MBeanServerBuilder.java:93)
      12. javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:311)
      13. javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:214)
      14. javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:175)
      15. sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
      16. java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
      16 frames
    6. Derby
      JMXManagementService$1.run
      1. org.apache.derby.impl.services.jmx.JMXManagementService$1.run(Unknown Source)
      2. org.apache.derby.impl.services.jmx.JMXManagementService$1.run(Unknown Source)
      2 frames
    7. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    8. Derby
      EmbeddedDriver.<clinit>
      1. org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown Source)
      2. org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown Source)
      3. org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
      4. org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
      5. org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
      6. org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Unknown Source)
      7. org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
      8. org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
      9. org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
      10. org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
      11. org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
      12. org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
      12 frames
    9. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:171)
      2 frames
    10. com.aptana.usage
      UsagePlugin.stop
      1. com.aptana.usage.internal.AptanaDB.loadDriver(AptanaDB.java:247)
      2. com.aptana.usage.internal.AptanaDB.getInstance(AptanaDB.java:50)
      3. com.aptana.usage.UsagePlugin.stop(UsagePlugin.java:76)
      3 frames
    11. Eclipse OSGi
      BundleContextImpl$2.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
      1 frame
    12. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    13. Eclipse OSGi
      Framework.close
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
      2. org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
      3. org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
      4. org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
      5. org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
      6. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
      7. org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
      8. org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
      9. org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
      10. org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
      10 frames
    14. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:400)
      2. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
      2 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    16. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      3 frames