Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1126] Can build Alloy projects

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2015-05-24T10:08:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterCarlos Daniel
AssigneeRadamantis Torres-Lechuga
Created2015-05-22T22:38:17.000+0000
Updated2016-03-08T07:37:29.000+0000

Description

Comments

  1. Radamantis Torres-Lechuga 2015-05-22

    hello [~redarccoder] it looks like you have an old Alloy version, can you please update your whole environment and try again? If the issue continue, please attach full logs, ti config, ti info and a test case with steps to reproduce the issue. Best
  2. Carlos Daniel 2015-05-23

    I updated all the IDE before posting the bug: Titanium Studio: 3.4.1.201410281727 Alloy Version: 1.6 CLI Version: 4.0 SDK Version: 3.5.1.GA, 3.5.0 GA, AND 4.0.1.v20150521135010 Log File: {color:#59afe1}*!ENTRY com.appcelerator.titanium.core 4 0 2015-05-23 09:38:47.578 !MESSAGE (Build 3.4.1.201410281727) [ERROR] The requested SDK version does not have an assigned commands-handler Error cleaning the project !ENTRY org.eclipse.jface 4 0 2015-05-23 09:43:08.192 !MESSAGE Unhandled event loop exception during blocked modal context. !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed) at org.eclipse.swt.SWT.error(SWT.java:4397) at org.eclipse.swt.SWT.error(SWT.java:4312) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275) at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.disconnectFromWorkspace(IDEWorkbenchAdvisor.java:534) at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.postShutdown(IDEWorkbenchAdvisor.java:442) at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:2890) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1112) at org.eclipse.ui.internal.Workbench.access$19(Workbench.java:1028) at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1331) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1329) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1302) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1246) at org.eclipse.ui.internal.WorkbenchWindow.access$14(WorkbenchWindow.java:1217) at org.eclipse.ui.internal.WorkbenchWindow$10.run(WorkbenchWindow.java:1280) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1278) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1290) at org.eclipse.ui.internal.WorkbenchWindow$6.close(WorkbenchWindow.java:477) at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$11.shellClosed(WBWRenderer.java:517) 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.Widget.sendEvent(Widget.java:1057) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066) at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:309) at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1697) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4613) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2544) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4706) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) 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:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) Caused by: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:4397) at org.eclipse.swt.SWT.error(SWT.java:4312) at org.eclipse.swt.SWT.error(SWT.java:4283) at org.eclipse.swt.widgets.Widget.error(Widget.java:472) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:344) at org.eclipse.swt.custom.CTabItem.getControl(CTabItem.java:162) at org.eclipse.ui.part.MultiPageEditorPart.getControl(MultiPageEditorPart.java:595) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppEditor.getAdapter(TiAppEditor.java:370) at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:984) at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.access$0(AbstractTextEditor.java:980) at org.eclipse.ui.texteditor.AbstractTextEditor$10.run(AbstractTextEditor.java:1008) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 67 more !ENTRY org.eclipse.core.jobs 4 2 2015-05-23 09:43:08.740 !MESSAGE An internal error occurred during: "Sending Analytics Ping ...". !STACK 0 java.lang.NullPointerException at com.aptana.usage.internal.DefaultAnalyticsEventHandler.getAnalyticsLogger(DefaultAnalyticsEventHandler.java:207) at com.aptana.usage.internal.DefaultAnalyticsEventHandler.sendEventSync(DefaultAnalyticsEventHandler.java:241) at com.aptana.usage.internal.DefaultAnalyticsEventHandler$1.run(DefaultAnalyticsEventHandler.java:75) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.core.jobs 2 2 2015-05-23 09:43:09.492 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.appcelerator.titanium.android.core.AndroidSDKLocator$1 !SESSION 2015-05-23 09:43:16.398 ----------------------------------------------- eclipse.buildId=unknown java.version=1.7.0_71 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_MX Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.ui 2 0 2015-05-23 09:43:17.516 !MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point. !SUBENTRY 1 org.eclipse.ui 2 0 2015-05-23 09:43:17.516 !MESSAGE Cannot bind to an undefined command: plug-in='com.appcelerator.titanium.android.ui', id='com.appcelerator.titanium.mobile.command.run_on_device.android' !SUBENTRY 1 org.eclipse.ui 2 0 2015-05-23 09:43:17.516 !MESSAGE Cannot bind to an undefined command: plug-in='com.appcelerator.titanium.android.ui', id='com.appcelerator.titanium.mobile.command.debug_on_device.android' !ENTRY com.aptana.core 4 0 2015-05-23 09:43:32.126 !MESSAGE (Build 3.4.1.201410281727) [ERROR] Read timed out !STACK 0 java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.www.MeteredStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) at com.ibm.icu.text.CharsetDetector.setText(CharsetDetector.java:122) at com.aptana.core.util.IOUtil.read(IOUtil.java:83) at com.aptana.core.util.IOUtil.read(IOUtil.java:57) at com.appcelerator.titanium.ui.dashboard.DashboardUtil.resolveDashboardUrl(DashboardUtil.java:105) at com.appcelerator.titanium.ui.dashboard.DashboardUtil.getDashboardURL(DashboardUtil.java:66) at com.appcelerator.titanium.ui.dashboard.DashboardUtil.openDashboardWithSuffix(DashboardUtil.java:156) at com.appcelerator.titanium.ui.dashboard.DashboardUtil.openDashboard(DashboardUtil.java:149) at com.appcelerator.titanium.rcp.welcomeScreen.TiDevDashboardStartup$1.runInUIThread(TiDevDashboardStartup.java:70) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) 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:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450){color} And After I try to build th eproject: {color:#14892c}!ENTRY com.appcelerator.titanium.core 4 0 2015-05-23 09:38:47.578 !MESSAGE (Build 3.4.1.201410281727) [ERROR] The requested SDK version does not have an assigned commands-handler Error cleaning the project{color} Also, the steps to reproduce the issue are: 1.- Create an alloy project 2.- try to run it
  3. Carlos Daniel 2015-05-23

  4. Carlos Daniel 2015-05-23

    Well, seems like the new App celerator studio kicked in in time, and it can compile and run Alloy projects, mark this as solved Thanx for your help (and also sorry for my bad english)

JSON Source