java.lang.NullPointerException

Appcelerator JIRA | Dustin Hyde | 4 years ago
  1. 0

    About: Help: Closing About > ? Menu Keeps Empty Window Open. Also throws null pointer exception when empty window is closed: {code} !ENTRY org.eclipse.ui 4 0 2012-11-14 15:03:30.653 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Label.computeSize(Label.java:153) at org.eclipse.swt.layout.GridData.computeSize(GridData.java:491) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:218) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.layout(Composite.java:703) at org.eclipse.swt.widgets.Composite.layout(Composite.java:661) at org.eclipse.ui.internal.dialogs.AboutDialog$2.controlResized(AboutDialog.java:301) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461) at org.eclipse.swt.widgets.Control.resized(Control.java:3261) at org.eclipse.swt.widgets.Composite.resized(Composite.java:930) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.setFrame(NSWindow.java:292) at org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1623) at org.eclipse.swt.widgets.Control.setSize(Control.java:4075) at org.eclipse.help.ui.internal.views.HelpTray$5.handleEvent(HelpTray.java:207) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461) at org.eclipse.swt.widgets.Control.resized(Control.java:3261) at org.eclipse.swt.widgets.Composite.resized(Composite.java:930) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.setFrame(NSWindow.java:292) at org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1623) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.jface.dialogs.TrayDialog.closeTray(TrayDialog.java:184) at org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:219) at org.eclipse.ui.internal.dialogs.AboutDialog.close(AboutDialog.java:146) at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741) at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:610) at org.eclipse.swt.widgets.Shell.windowShouldClose(Shell.java:2257) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5469) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.about.AboutHandler.execute(AboutHandler.java:32) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.runCommand(CocoaUIEnhancer.java:393) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:537) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:520) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code} This does not occur in Eclipse Classic 4.2.1. Steps to Reproduce: 1. Open Titanium Studio > About. 2. Click '?' in lower-left corner. 3. Click 'close window' icon. Actual Result: Empty window remains, NPE in log when that window is closed. Expected Result: About window closes.

    Appcelerator JIRA | 4 years ago | Dustin Hyde
    java.lang.NullPointerException
  2. 0

    About: Help: Closing About > ? Menu Keeps Empty Window Open. Also throws null pointer exception when empty window is closed: {code} !ENTRY org.eclipse.ui 4 0 2012-11-14 15:03:30.653 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Label.computeSize(Label.java:153) at org.eclipse.swt.layout.GridData.computeSize(GridData.java:491) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:218) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.layout(Composite.java:703) at org.eclipse.swt.widgets.Composite.layout(Composite.java:661) at org.eclipse.ui.internal.dialogs.AboutDialog$2.controlResized(AboutDialog.java:301) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461) at org.eclipse.swt.widgets.Control.resized(Control.java:3261) at org.eclipse.swt.widgets.Composite.resized(Composite.java:930) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3526) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194) at org.eclipse.swt.widgets.Composite.resized(Composite.java:933) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.setFrame(NSWindow.java:292) at org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1623) at org.eclipse.swt.widgets.Control.setSize(Control.java:4075) at org.eclipse.help.ui.internal.views.HelpTray$5.handleEvent(HelpTray.java:207) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461) at org.eclipse.swt.widgets.Control.resized(Control.java:3261) at org.eclipse.swt.widgets.Composite.resized(Composite.java:930) at org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5463) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.setFrame(NSWindow.java:292) at org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1623) at org.eclipse.swt.widgets.Control.setBounds(Control.java:3515) at org.eclipse.jface.dialogs.TrayDialog.closeTray(TrayDialog.java:184) at org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:219) at org.eclipse.ui.internal.dialogs.AboutDialog.close(AboutDialog.java:146) at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741) at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:610) at org.eclipse.swt.widgets.Shell.windowShouldClose(Shell.java:2257) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5469) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.about.AboutHandler.execute(AboutHandler.java:32) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.runCommand(CocoaUIEnhancer.java:393) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:537) at org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:520) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code} This does not occur in Eclipse Classic 4.2.1. Steps to Reproduce: 1. Open Titanium Studio > About. 2. Click '?' in lower-left corner. 3. Click 'close window' icon. Actual Result: Empty window remains, NPE in log when that window is closed. Expected Result: About window closes.

    Appcelerator JIRA | 4 years ago | Dustin Hyde
    java.lang.NullPointerException
  3. 0
    samebug tip
    Assign onCickListener to imageView in ExpandableListView inside getChildView.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    The Fragment was destroyed, and getActivity() returned null. Don't destroy the Fragment.
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 1 year ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: 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.Label.computeSize()
    2. RWT
      Composite.layout
      1. org.eclipse.swt.widgets.Label.computeSize(Label.java:153)
      2. org.eclipse.swt.layout.GridData.computeSize(GridData.java:491)
      3. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:218)
      4. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194)
      5. org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194)
      6. org.eclipse.swt.widgets.Composite.layout(Composite.java:703)
      7. org.eclipse.swt.widgets.Composite.layout(Composite.java:661)
      7 frames
    3. Workbench
      AboutDialog$2.controlResized
      1. org.eclipse.ui.internal.dialogs.AboutDialog$2.controlResized(AboutDialog.java:301)
      1 frame
    4. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)
      7. org.eclipse.swt.widgets.Control.resized(Control.java:3261)
      8. org.eclipse.swt.widgets.Composite.resized(Composite.java:930)
      9. org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793)
      10. org.eclipse.swt.widgets.Display.windowProc(Display.java:5463)
      10 frames
    5. org.eclipse.swt
      NSView.setFrame
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267)
      2 frames
    6. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Control.setBounds(Control.java:3526)
      2. org.eclipse.swt.widgets.Control.setBounds(Control.java:3515)
      3. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690)
      4. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194)
      5. org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194)
      6. org.eclipse.swt.widgets.Composite.resized(Composite.java:933)
      7. org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5463)
      8 frames
    7. org.eclipse.swt
      NSView.setFrame
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267)
      2 frames
    8. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Control.setBounds(Control.java:3526)
      2. org.eclipse.swt.widgets.Control.setBounds(Control.java:3515)
      3. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690)
      4. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194)
      5. org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194)
      6. org.eclipse.swt.widgets.Composite.resized(Composite.java:933)
      7. org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5463)
      8 frames
    9. org.eclipse.swt
      NSView.setFrame
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267)
      2 frames
    10. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Control.setBounds(Control.java:3526)
      2. org.eclipse.swt.widgets.Control.setBounds(Control.java:3515)
      3. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690)
      4. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194)
      5. org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194)
      6. org.eclipse.swt.widgets.Composite.resized(Composite.java:933)
      7. org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5463)
      8 frames
    11. org.eclipse.swt
      NSView.setFrame
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSView.setFrame(NSView.java:267)
      2 frames
    12. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Control.setBounds(Control.java:3526)
      2. org.eclipse.swt.widgets.Control.setBounds(Control.java:3515)
      3. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:690)
      4. org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:194)
      5. org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1194)
      6. org.eclipse.swt.widgets.Composite.resized(Composite.java:933)
      7. org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5463)
      8 frames
    13. org.eclipse.swt
      NSWindow.setFrame
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSWindow.setFrame(NSWindow.java:292)
      2 frames
    14. RWT
      Control.setSize
      1. org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1623)
      2. org.eclipse.swt.widgets.Control.setSize(Control.java:4075)
      2 frames
    15. Help System UI
      HelpTray$5.handleEvent
      1. org.eclipse.help.ui.internal.views.HelpTray$5.handleEvent(HelpTray.java:207)
      1 frame
    16. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461)
      6. org.eclipse.swt.widgets.Control.resized(Control.java:3261)
      7. org.eclipse.swt.widgets.Composite.resized(Composite.java:930)
      8. org.eclipse.swt.widgets.Control.setFrameSize(Control.java:3793)
      9. org.eclipse.swt.widgets.Display.windowProc(Display.java:5463)
      9 frames
    17. org.eclipse.swt
      NSWindow.setFrame
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSWindow.setFrame(NSWindow.java:292)
      2 frames
    18. RWT
      Control.setBounds
      1. org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1623)
      2. org.eclipse.swt.widgets.Control.setBounds(Control.java:3515)
      2 frames
    19. JFace
      TrayDialog.close
      1. org.eclipse.jface.dialogs.TrayDialog.closeTray(TrayDialog.java:184)
      2. org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:219)
      2 frames
    20. Workbench
      AboutDialog.close
      1. org.eclipse.ui.internal.dialogs.AboutDialog.close(AboutDialog.java:146)
      1 frame
    21. JFace
      Window$3.shellClosed
      1. org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
      2. org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
      2 frames
    22. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
      7. org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:610)
      8. org.eclipse.swt.widgets.Shell.windowShouldClose(Shell.java:2257)
      9. org.eclipse.swt.widgets.Display.windowProc(Display.java:5469)
      9 frames
    23. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    24. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
      2. org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2095)
      3. org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2253)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
      4 frames
    25. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    26. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
      2 frames
    27. org.eclipse.swt
      NSApplication.sendEvent
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
      2 frames
    28. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
      1 frame
    29. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      2. org.eclipse.jface.window.Window.open(Window.java:801)
      2 frames
    30. Workbench
      HandlerProxy.execute
      1. org.eclipse.ui.internal.about.AboutHandler.execute(AboutHandler.java:32)
      2. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      2 frames
    31. Commands
      Command.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      1 frame
    32. Workbench
      HandlerService.executeCommand
      1. org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
      1 frame
    33. org.eclipse.ui
      CocoaUIEnhancer.actionProc
      1. org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.runCommand(CocoaUIEnhancer.java:393)
      2. org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:537)
      3. org.eclipse.ui.internal.cocoa.CocoaUIEnhancer.actionProc(CocoaUIEnhancer.java:520)
      3 frames
    34. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    35. RWT
      Display.applicationProc
      1. org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4879)
      2. org.eclipse.swt.widgets.Display.applicationProc(Display.java:5226)
      2 frames
    36. org.eclipse.swt
      NSApplication.nextEventMatchingMask
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94)
      2 frames
    37. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607)
      1 frame
    38. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    39. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    40. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      1 frame
    41. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    42. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    43. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    44. 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:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    45. 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
    46. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      3 frames