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

Titanium Updates: Unhandled event loop exception after installing updates

    Details

    • Story Points:
      8

      Description

      After installing alloy, get log exception:

      !ENTRY com.aptana.core 1 0 2012-10-18 09:06:49.822
      !MESSAGE (Build 3.0.0.201210172118) [INFO] com.aptana.core/debug/shell Running process:
      Process: "/usr/local/bin/npm" "-p" "list" "alloy" "-g"
      Working directory: null
      Environment: {ANDROID_NDK=/Users/dhyde/Desktop/android/android-ndk-r8b, ANDROID_SDK=/Users/dhyde/Desktop/android/android-sdk-macosx, APTANA_VERSION=3.0.0.1346448223, Apple_PubSub_Socket_Render=/tmp/launch-EeKGAL/Render, Apple_Ubiquity_Message=/tmp/launch-SW45KT/Apple_Ubiquity_Message, COMMAND_MODE=unix2003, COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/DHYDE/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/tmp/launch-9CZqFn/ServiceProcessSocket, HOME=/Users/dhyde, LANG=en_US.UTF-8, LOGNAME=dhyde, NUM_CPUS=4, PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/dhyde/Desktop/android/android-sdk-macosx/tools:/Users/dhyde/Desktop/android/android-sdk-macosx/platform-tools, PWD=/Users/dhyde/Desktop/TISTUD-RC/Titanium Studio/TitaniumStudio.app/Contents/MacOS, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-0sLjqp/Listeners, TI_DEBUG=0, TMPDIR=/var/folders/6f/wxjmlj0n7kl5w8kmq5hrrbch0000gp/T/, USER=dhyde, __CF_USER_TEXT_ENCODING=0x1F6:0:0, com.apple.java.jvmTask=JNI, redirectErrorStream=}
       
      !ENTRY com.aptana.core 1 0 2012-10-18 09:06:49.842
      !MESSAGE (Build 3.0.0.201210172118) [INFO] com.aptana.core/debug/shell Searching for titanium in PATH locations: /usr/bin, /bin, /usr/sbin, /sbin, /usr/local/bin, /Users/dhyde/Desktop/android/android-sdk-macosx/tools, /Users/dhyde/Desktop/android/android-sdk-macosx/platform-tools
       
      !ENTRY com.aptana.core 1 0 2012-10-18 09:06:49.843
      !MESSAGE (Build 3.0.0.201210172118) [INFO] com.aptana.core/debug/shell Found executable on PATH: /usr/local/bin/titanium
       
      !ENTRY org.eclipse.ui 4 0 2012-10-18 09:07:46.255
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
      	at java.lang.String.<init>(String.java:210)
      	at com.aptana.terminal.internal.emulator.ThemedTextLineRenderer.drawLine(ThemedTextLineRenderer.java:95)
      	at org.eclipse.tm.internal.terminal.textcanvas.TextCanvas.drawLine(TextCanvas.java:343)
      	at org.eclipse.tm.internal.terminal.textcanvas.GridCanvas.paint(GridCanvas.java:80)
      	at org.eclipse.tm.internal.terminal.textcanvas.VirtualCanvas$1.handleEvent(VirtualCanvas.java:48)
      	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.Control.drawWidget(Control.java:1244)
      	at org.eclipse.swt.widgets.Canvas.drawWidget(Canvas.java:163)
      	at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:740)
      	at org.eclipse.swt.widgets.Canvas.drawRect(Canvas.java:158)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5449)
      	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
      	at org.eclipse.swt.internal.cocoa.NSView.displayIfNeeded(NSView.java:142)
      	at org.eclipse.swt.widgets.Control.update(Control.java:4890)
      	at org.eclipse.swt.widgets.Control.update(Control.java:4876)
      	at org.eclipse.tm.internal.terminal.textcanvas.VirtualCanvas.repaint(VirtualCanvas.java:145)
      	at org.eclipse.tm.internal.terminal.textcanvas.TextCanvas.repaintRange(TextCanvas.java:340)
      	at org.eclipse.tm.internal.terminal.textcanvas.TextCanvas$1.rangeChanged(TextCanvas.java:96)
      	at org.eclipse.tm.internal.terminal.textcanvas.AbstractTextCanvasModel.fireCellRangeChanged(AbstractTextCanvasModel.java:60)
      	at org.eclipse.tm.internal.terminal.textcanvas.AbstractTextCanvasModel.updateCursor(AbstractTextCanvasModel.java:183)
      	at org.eclipse.tm.internal.terminal.textcanvas.AbstractTextCanvasModel.update(AbstractTextCanvasModel.java:118)
      	at org.eclipse.tm.internal.terminal.textcanvas.PollingTextCanvasModel$1.run(PollingTextCanvasModel.java:28)
      	at org.eclipse.swt.widgets.Display.runTimers(Display.java:4106)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604)
      	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)
      

      Steps to Reproduce:

      1. Install alloy.
      2. View log.

      Actual Result:

      Exception.

      Expected Result:

      No exceptions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: