Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-2779

About: Help: Closing About > ? Menu Keeps Empty Window Open

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Not Our Bug
    • Affects Version/s: Titanium Studio 2.1.2, Titanium Studio 3.0.0
    • Fix Version/s: None
    • Component/s: Help, Usability
    • Environment:

      Titanium Studio: 2.1.2, 3.0.0.201211131839, 3.0.1.201211131826
      OS: Mountain Lion 10.8.2

      Description

      About: Help: Closing About > ? Menu Keeps Empty Window Open.

      Also throws null pointer exception when empty window is closed:

      !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)
      

      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.

        Attachments

        1. About.png
          About.png
          197 kB
        2. About Bug.png
          About Bug.png
          49 kB
        3. About Help.png
          About Help.png
          304 kB

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              dhyde Dustin Hyde
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: