org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)

Appcelerator JIRA | Joel Witt | 5 years ago
  1. 0

    Scanning Studio log file for reportable items yielded this : !ENTRY org.eclipse.ui 4 0 2011-11-21 23:09:56.043 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) Caused by: java.lang.NullPointerException at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at com.aptana.editor.common.contentassist.UserAgentManager.getUserAgentImages(UserAgentManager.java:175) at com.aptana.editor.common.contentassist.UserAgentManager.getUserAgentImages(UserAgentManager.java:156) at com.aptana.editor.html.contentassist.HTMLTagProposal.<init>(HTMLTagProposal.java:48) at com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.addElementProposals(HTMLContentAssistProcessor.java:761) at com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.addOpenTagProposals(HTMLContentAssistProcessor.java:899) at com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.doComputeCompletionProposals(HTMLContentAssistProcessor.java:1186) at com.aptana.editor.common.CommonContentAssistProcessor.computeCompletionProposals(CommonContentAssistProcessor.java:183) at com.aptana.editor.common.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:2185) at com.aptana.editor.common.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:382) at com.aptana.editor.common.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:376) at com.aptana.editor.common.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:319) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at com.aptana.editor.common.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:313) at com.aptana.editor.common.contentassist.ContentAssistant$AutoAssistListener$1.run(ContentAssistant.java:458) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 22 more Steps to Replicate : This occurred while validating 3.0.7 fixes. Actual Results : Studio threw a NPE. Expected Results : Studio should be NPE-free.

    Appcelerator JIRA | 5 years ago | Joel Witt
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
  2. 0

    Scanning Studio log file for reportable items yielded this : !ENTRY org.eclipse.ui 4 0 2011-11-21 23:09:56.043 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) Caused by: java.lang.NullPointerException at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at com.aptana.editor.common.contentassist.UserAgentManager.getUserAgentImages(UserAgentManager.java:175) at com.aptana.editor.common.contentassist.UserAgentManager.getUserAgentImages(UserAgentManager.java:156) at com.aptana.editor.html.contentassist.HTMLTagProposal.<init>(HTMLTagProposal.java:48) at com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.addElementProposals(HTMLContentAssistProcessor.java:761) at com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.addOpenTagProposals(HTMLContentAssistProcessor.java:899) at com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.doComputeCompletionProposals(HTMLContentAssistProcessor.java:1186) at com.aptana.editor.common.CommonContentAssistProcessor.computeCompletionProposals(CommonContentAssistProcessor.java:183) at com.aptana.editor.common.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:2185) at com.aptana.editor.common.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:382) at com.aptana.editor.common.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:376) at com.aptana.editor.common.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:319) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at com.aptana.editor.common.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:313) at com.aptana.editor.common.contentassist.ContentAssistant$AutoAssistListener$1.run(ContentAssistant.java:458) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 22 more Steps to Replicate : This occurred while validating 3.0.7 fixes. Actual Results : Studio threw a NPE. Expected Results : Studio should be NPE-free.

    Appcelerator JIRA | 5 years ago | Joel Witt
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
  3. 0

    Sorting an array

    Oracle Community | 1 decade ago | 807607
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CLI `ceylon plugin list` causes NPE

    GitHub | 2 years ago | sgalles
    java.lang.NullPointerException
  6. 0

    How to sort an array of objects containing null elements?

    Stack Overflow | 2 years ago | FergusMacNamara
    java.lang.NullPointerException

  1. jshakil 2 times, last 1 month ago
1 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.util.Arrays.mergeSort()
  2. Java RT
    Arrays.sort
    1. java.util.Arrays.mergeSort(Unknown Source)
    2. java.util.Arrays.sort(Unknown Source)
    2 frames
  3. com.aptana.editor
    CompletionProposalPopup$1.run
    1. com.aptana.editor.common.contentassist.UserAgentManager.getUserAgentImages(UserAgentManager.java:175)
    2. com.aptana.editor.common.contentassist.UserAgentManager.getUserAgentImages(UserAgentManager.java:156)
    3. com.aptana.editor.html.contentassist.HTMLTagProposal.<init>(HTMLTagProposal.java:48)
    4. com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.addElementProposals(HTMLContentAssistProcessor.java:761)
    5. com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.addOpenTagProposals(HTMLContentAssistProcessor.java:899)
    6. com.aptana.editor.html.contentassist.HTMLContentAssistProcessor.doComputeCompletionProposals(HTMLContentAssistProcessor.java:1186)
    7. com.aptana.editor.common.CommonContentAssistProcessor.computeCompletionProposals(CommonContentAssistProcessor.java:183)
    8. com.aptana.editor.common.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:2185)
    9. com.aptana.editor.common.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:382)
    10. com.aptana.editor.common.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:376)
    11. com.aptana.editor.common.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:319)
    11 frames
  4. RWT
    BusyIndicator.showWhile
    1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    1 frame
  5. com.aptana.editor
    ContentAssistant$AutoAssistListener$1.run
    1. com.aptana.editor.common.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:313)
    2. com.aptana.editor.common.contentassist.ContentAssistant$AutoAssistListener$1.run(ContentAssistant.java:458)
    2 frames
  6. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    4 frames
  7. Eclipse UI
    Workbench$7.run
    1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    4 frames
  8. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  9. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    1 frame
  10. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    1 frame
  11. com.aptana.rcp
    IDEApplication.start
    1. com.aptana.rcp.IDEApplication.start(IDEApplication.java:125)
    1 frame
  12. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  13. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    4 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  15. Equinox
    Main.run
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    3 frames