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

Clicking on icon "browse" button causes NPE

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 4.0.1
    • Fix Version/s: None
    • Component/s: Tiapp
    • Labels:
    • Environment:

      Mac OS 10.9.4
      Alloy: 1.6.0
      Appc CLI: 4.0.2
      Appc CLI NPM: 4.0.3-0
      Titanium SDK version 4.0.1.v20150529150210
      Appcelerator Studio, build: 4.0.1.201505282200
      Xcode 6.3.1

      Description

      Description:

      When using Studio and modifying my icons for a test, I clicked the "browse" button on the tiapp.xml overview, nothing happened. The button was previously working, and I am unsure of the steps to reproduce.

      Steps to reproduce:

      1) Use the "browse" button to select an icon
      2) Repeat until the error occurs.

      Result:

      NPE in log, nothing happens (other than button UI reaction to click)

      Expected Result:

      File browser opens for icon selection

      !ENTRY org.eclipse.ui 4 0 2015-06-18 11:35:09.025
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
      	at org.eclipse.swt.widgets.FileDialog.panel_shouldShowFilename(FileDialog.java:346)
      	at org.eclipse.swt.widgets.Display.dialogProc(Display.java:5410)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSSavePanel.setAccessoryView(NSSavePanel.java:46)
      	at org.eclipse.swt.widgets.FileDialog.open(FileDialog.java:252)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppBasicSection$1.widgetSelected(TiAppBasicSection.java:230)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              emerriman Eric Merriman
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: