Project: appceleratorstudio
Issue TISTUD-2561: Titanium Updates: Unhandled event loop exception after installing updates
After installing alloy, get log exception: {code} !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 java.lang.String.(String.java:210) com.aptana.terminal.internal.emulator.ThemedTextLineRenderer.drawLine(ThemedTextLineRenderer.java:95) org.eclipse.tm.internal.terminal.textcanvas.TextCanvas.drawLine(TextCanvas.java:343) org.eclipse.tm.internal.terminal.textcanvas.GridCanvas.paint(GridCanvas.java:80) org.eclipse.tm.internal.terminal.textcanvas.VirtualCanvas$1.handleEvent(VirtualCanvas.java:48) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465) org.eclipse.swt.widgets.Control.drawWidget(Control.java:1244) org.eclipse.swt.widgets.Canvas.drawWidget(Canvas.java:163) org.eclipse.swt.widgets.Widget.drawRect(Widget.java:740) org.eclipse.swt.widgets.Canvas.drawRect(Canvas.java:158) org.eclipse.swt.widgets.Display.windowProc(Display.java:5449) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSView.displayIfNeeded(NSView.java:142) org.eclipse.swt.widgets.Control.update(Control.java:4890) org.eclipse.swt.widgets.Control.update(Control.java:4876) org.eclipse.tm.internal.terminal.textcanvas.VirtualCanvas.repaint(VirtualCanvas.java:145) org.eclipse.tm.internal.terminal.textcanvas.TextCanvas.repaintRange(TextCanvas.java:340) org.eclipse.tm.internal.terminal.textcanvas.TextCanvas$1.rangeChanged(TextCanvas.java:96) org.eclipse.tm.internal.terminal.textcanvas.AbstractTextCanvasModel.fireCellRangeChanged(AbstractTextCanvasModel.java:60) org.eclipse.tm.internal.terminal.textcanvas.AbstractTextCanvasModel.updateCursor(AbstractTextCanvasModel.java:183) org.eclipse.tm.internal.terminal.textcanvas.AbstractTextCanvasModel.update(AbstractTextCanvasModel.java:118) org.eclipse.tm.internal.terminal.textcanvas.PollingTextCanvasModel$1.run(PollingTextCanvasModel.java:28) org.eclipse.swt.widgets.Display.runTimers(Display.java:4106) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code} Steps to Reproduce: 1. Install alloy. 2. View log. Actual Result: Exception. Expected Result: No exceptions.
Story points: 8