Titanium JIRA Archive
Appcelerator Community (AC)

[AC-827] Alloy compiler failed

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-29T01:47:59.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage
ReporterThabang Mashiloane
AssigneeShak Hossain
Created2015-01-16T15:52:59.000+0000
Updated2016-03-08T07:37:06.000+0000

Description

Steps to Reproduce

Hi, I can't compile my Titanium alloy project. Please help.

Actual Result

Error: Alloy compiler failed Error: Application Installer abnormal process termination. Process exit

Expected Result

I would to successfully compile my project and emulate on my Samsung device. I'm using windows 8.

Attachments

FileDateSize
.log2015-01-16T15:53:40.000+00006559644
diagnostic8070291291232350184.log2015-01-16T15:54:03.000+000030576
Issue 0.png2015-01-21T08:24:31.000+000028441
Issue 1.png2015-01-21T08:24:31.000+000026861
Issue -1.png2015-01-21T08:24:31.000+000027091
Issue 2.png2015-01-21T08:24:31.000+000023387
Issue 3.png2015-01-21T08:24:31.000+000033242

Comments

  1. Shuo Liang 2015-01-20

    Hi, few questions: 1. Does it only happen in alloy project, not classic project? 2. Does it happen to on app or all alloy apps. 3. please provide a fully console from studio, when you do run. Thanks, Shuo
  2. Thabang Mashiloane 2015-01-20

  3. Shuo Liang 2015-01-21

    HI, 1.First of all, please switch the console log mode to trace or debug(located in up right corner of console layout), that may give more detail of error when you run Alloy project. 2.Then, try to clean the app before you run it. 3.Also, please run "ti info" in terminal, and provide the output. Thanks Regards, Shuo
  4. Thabang Mashiloane 2015-01-21

    ti info terminal report
  5. Thabang Mashiloane 2015-01-21

  6. Shuo Liang 2015-01-22

    Hi, Based on your error log, there is permission problem. So 1. First of all, try to confirm your current computer user has permission to read and write the work_space file. 2. Try to run "npm cache clean", then re-start the studio, see if it solve the problem. Regards, Shuo
  7. Thabang Mashiloane 2015-01-22

    Hi Shuo, I tried the above instructions but the problem still persists. Please note that the file compiles on other devices except this one. Many Thanks
  8. Mauro Parra-Miranda 2015-02-02

    Hello, my two cents here. From one of your logs: !ENTRY org.eclipse.core.jobs 4 2 2014-12-12 17:44:00.610 !MESSAGE An internal error occurred during: "Adding Alloy project templates". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getTemplatesManager(AlloyTemplateInstaller.java:277) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$1.run(AlloyTemplateInstaller.java:64) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.core.jobs 4 2 2014-12-12 17:44:01.074 !MESSAGE An internal error occurred during: "Adding Alloy project samples". !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller.getSamplesManager(AlloyTemplateInstaller.java:272) at com.appcelerator.titanium.alloy.internal.ui.AlloyTemplateInstaller$3.run(AlloyTemplateInstaller.java:169) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) you weren't able to actually get the alloy samples. I would go for a full removal of Ti Studio and reinstall, with: -- Access to the network (configure the proxy) -- right permissions to the directories envolved (full admin rights for installation). Best Regards
  9. Harish Mridha 2015-09-04

    Hi , I tested the issue you reported. It looks like the feature " *Compile Alloy Project*" in Appcelerator Studio is working fine for me. I tested this using the studio build: 4.1.1.201507141126 , alloy -v 1.6.2 .I recommend you upgrade studio . If the problem still there, please run "*appc ti setup check*" and provide the output. I will mark this ticket as "resolved" since I can't reproduce it. Thanks

JSON Source