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

Error reporting: NPE in Control.internal_new_GC

    Details

    • Story Points:
      5
    • Sprint:
      2017 Sprint 05 Studio

      Description

      Sometimes Appcelerator Studio is throwing NPE while working on editor related actions. This is an intermittent issue and can't be reproduced. This causes painting issues on studio.

      Here is the related Eclipse bug.
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=434393

      Here is the NPE log:

      The following data will be sent:
       
      ------
      STATUS
      ------
      pluginId            org.eclipse.ui
      pluginVersion       3.106.1.v20141002-1150
      code                0
      severity            4
      message             Unhandled event loop exception
      fingerprint         3f4dc902
      stacktrace          
       
      Exception:java.lang.NullPointerException: null
      	 at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2118)
      	 at org.eclipse.swt.graphics.GC.cocoa_new(GC.java:207)
      	 at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2613)
      	 at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:288)
      	 at org.eclipse.swt.widgets.Display.windowProc(Display.java:5528)
      	 at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper_stret(OS.java:-2)
      	 at org.eclipse.swt.widgets.Widget.expansionFrameWithFrame_inView(Widget.java:798)
      	 at org.eclipse.swt.widgets.Tree.expansionFrameWithFrame_inView(Tree.java:1283)
      	 at org.eclipse.swt.widgets.Display.windowProc(Display.java:5907)
      	 at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(OS.java:-2)
      	 at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
      	 at org.eclipse.swt.widgets.Display.sleep(Display.java:4691)
      	 at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:368)
      	 at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:936)
      	 at org.eclipse.ui.internal.Workbench$3.eventLoopIdle(Workbench.java:498)
      	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1155)
      	 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:380)
      	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	 at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
      	 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)
      	 at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
       
      ------
      REPORT
      ------
      name                Kondal Kolipaka
      email               kkolipaka@appcelerator.com
      comment             
      productVersion      4.8.0.qualifier
      productName         Appcelerator Studio
      javaRuntimeVersion  1.7.0_80-b15
      osgiWs              cocoa
      osgiOs              MacOSX
      osgiOsVersion       10.11.4
      osgiArch            x86_64
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                kkolipaka Kondal Kolipaka (Inactive)
                Reviewer:
                Prashanth Pedduri (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: