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

Cannot compile if Alloy Model View binding is in place

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: Release 4.4.0
    • Fix Version/s: None
    • Component/s: Alloy, Android, Build, SDK
    • Labels:
      None
    • Environment:

      Description

      Hi,
      I'm experiencing a problem during compilation, the strange thing is that it works for some time, then stops for no reason.

      In my system is completely reproducible by doing these steps:

      • create model order.js (and the migration, not shown here)
      • create new controller (I named it ship.js), it brings also a ship.xml and ship.tss (not shown here)

      Controller (orders.js):

       
      		var ship = Alloy.Collections.order;
       
      		function cleanup() {
      			$.destroy();
      		}
       
      		ship.fetch();
      
      

      View:

      		<Alloy>
      			<Collection src="order" />
      			<Window class="container" onClose="cleanup">
      				<TableView dataCollection="order">
      					<TableViewRow>
      						<View height="50" layout="vertical">
      							<Label text="{name}" height="25" />
      							<Label text="{description}" height="25" />
      						</View>
      					</TableViewRow>
      				</TableView>
      			</Window>
      		</Alloy>
      
      

      Model:

      		exports.definition = {
      			config: {
      				columns: {
      					"id": "integer",
      				    "name": "string",
      				    "description": "text",
      				    "code": "string",
      				    "created_at": "datetime",
      				    "updated_at": "datetime",
      				    "issued_on": "date",
      				    "closed": "integer"
      				},
      				adapter: {
      					type: "sql",
      					collection_name: "orders"
      				},
      				defaults : {
      					"closed" : 0
      				}
      			},
      			extendModel: function(Model) {
      				_.extend(Model.prototype, {
      					// extended functions and properties go here
      				});
       
      				return Model;
      			},
      			extendCollection: function(Collection) {
      				_.extend(Collection.prototype, {
      					// extended functions and properties go here
       
      					// For Backbone v1.1.2, uncomment the following to override the
      					// fetch method to account for a breaking change in Backbone.
      					fetch: function(options) {
      						options = options ? _.clone(options) : {};
      						options.reset = true;
      						return Backbone.Collection.prototype.fetch.call(this, options);
      					}
      				});
       
      				return Collection;
      			}
      		};
      
      

      The first time I compile the solution it works sometimes even the second compile, but after that it always fail with an error like this:

      Appcelerator Command-Line Interface, version 5.1.0
      Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.
      2015-12-19T11:16:53.400Z | TRACE | _command_ search paths:
      [
      "/Users/gabrieletassoni/.appcelerator/install/5.1.0/package",
      "/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
      "/Applications/Appcelerator Studio/node_modules",
      "/Applications/node_modules",
      "/node_modules",
      "/Users/gabrieletassoni/.appcelerator/.npm/lib/node_modules"
      ]
      2015-12-19T11:16:53.403Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/appc.js
      2015-12-19T11:16:54.250Z | DEBUG | [PLUGIN-LOAD] 845ms /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/appc.js
      2015-12-19T11:16:54.255Z | DEBUG | [PLUGIN-LOAD] 2ms /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/arrow/appc.js
      log level set to "trace"
      executing command "run"
      set environment to

      {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"}

      checking credentials for existing session
      Attempting to load session info from config file
      check if session is invalidated
      session expiry 1450695682901 false
      Arrow Cloud config file: /Users/gabrieletassoni/.acs
      found Arrow Cloud login { mid: 'a5859f38e3fefb562813773427038069b75f19d7',
      publishPort: 443,
      publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
      username: 'gabriele.tassoni@gmail.com',
      cookie: [ 'connect.sid=s%3AfdyVw9tdfVj63GenSoV%2Fk3nH.0pRnrDiSxYW6JmM36rf3l1Ert2y7aIe7b82mvyF%2BEVg; Path=/; Expires=Mon, 28 Dec 2015 11:01:27 GMT; HttpOnly' ],
      defaultEP:

      { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 }

      } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
      Arrow Cloud cookie expiry [ 1451300487000 ]
      session already loaded in opts.session
      getCredentials() session:
      {
      "ipaddress": "192.168.121.108",
      "username": "gabriele.tassoni@gmail.com",
      "password": "<OMITTED>",
      "session": "<OMITTED>",
      "nonce": "<OMITTED>",
      "environment":

      { "name": "production", "isProduction": true, "acsBaseUrl": "https://api.cloud.appcelerator.com", "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com" }

      ,
      "token": "<OMITTED>",
      "fingerprint": "a5859f38e3fefb562813773427038069b75f19d7",
      "fingerprint_description": "Mac OSX Serial Number: 9541013A-F5E4-503F-ADCF-966B3E017C98",
      "org_id": 100007901,
      "expiry": 1450695682901
      }
      loading plugins for command "run"
      run search paths:
      [
      "/Users/gabrieletassoni/.appcelerator/install/5.1.0/package",
      "/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
      "/Applications/Appcelerator Studio/node_modules",
      "/Applications/node_modules",
      "/node_modules",
      "/Users/gabrieletassoni/.appcelerator/.npm/lib/node_modules"
      ]
      [PLUGIN-LOAD] 0ms /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/appc.js
      [PLUGIN-LOAD] 692ms /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/appc.js
      run plugin: /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium
      [PLUGIN-LOAD] 1ms /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/arrow/appc.js
      run plugin: /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/arrow
      plugin "arrow" failed its "when" function check, skipping...
      loading plugin "titanium" for command "run" CLI options via function
      loading plugin "titanium" for command "run" CLI options via array
      Duplicate option "colors" for command "run", removing...
      executing command "run" with the following plugins:
      ["titanium"]
      2015-12-19T11:16:58.069Z | TRACE | Attempting to load session info from config file
      2015-12-19T11:16:58.070Z | TRACE | check if session is invalidated
      2015-12-19T11:16:59.217Z | TRACE | session expiry 1450695682901 false
      2015-12-19T11:16:59.219Z | TRACE | session already loaded in opts.session
      2015-12-19T11:16:59.221Z | DEBUG | Titanium Downloads Last Checked: 1450453344261
      2015-12-19T11:16:59.222Z | TRACE | "/usr/local/bin/node" "/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" config -o json-object
      2015-12-19T11:17:00.158Z | TRACE | "/usr/local/bin/node" "/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" sdk -o json
      2015-12-19T11:17:01.259Z | TRACE | checking for titanium, result:
      { activeSDK: '5.1.1.GA',
      defaultInstallLocation: '/Users/gabrieletassoni/Library/Application Support/Titanium',
      installLocations:
      [ '/Users/gabrieletassoni/Library/Application Support/Titanium',
      '/Library/Application Support/Titanium' ],
      installed:

      { '5.1.1.GA': '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA', '5.0.2.GA': '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA', '5.0.1.GA': '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.0.1.GA', '5.0.0.GA': '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.GA', '4.1.0.GA': '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA' }

      ,
      sdks:
      { '5.1.1.GA':

      { name: '5.1.1.GA', manifest: [Object], path: '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA' }

      ,
      '5.0.2.GA':

      { name: '5.0.2.GA', manifest: [Object], path: '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' }

      ,
      '5.0.1.GA':

      { name: '5.0.1.GA', manifest: [Object], path: '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.0.1.GA' }

      ,
      '5.0.0.GA':

      { name: '5.0.0.GA', manifest: [Object], path: '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.GA' }

      ,
      '4.1.0.GA':

      { name: '4.1.0.GA', manifest: [Object], path: '/Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA' }

      } }
      2015-12-19T11:17:01.267Z | TRACE | /usr/local/bin/node [ '/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',
      'build',
      '--platform',
      'android',
      '--log-level',
      'trace',
      '--sdk',
      '5.1.1.GA',
      '--project-dir',
      '/Users/gabrieletassoni/Git/tarisoft/titanium/hiworkflowsclient',
      '--target',
      'device',
      '--android-sdk',
      '/usr/local/opt/android-sdk',
      '--device-id',
      '15223521650300',
      '--skip-js-minify',
      '--no-colors',
      '--no-progress-bars',
      '--no-prompt',
      '--prompt-type',
      'socket-bundle',
      '--prompt-port',
      '54237',
      '--plugin-paths',
      '/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules',
      '--config-file',
      '/var/folders/fq/dbg278nd58b8d46rfbh6vcpc0000gn/T/build-1450523819221.json',
      '--no-banner' ] { env:
      { PATH: '/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/bin:/Users/gabrieletassoni/.rvm/gems/ruby-2.2.2/bin:/Users/gabrieletassoni/.rvm/gems/ruby-2.2.2@global/bin:/Users/gabrieletassoni/.rvm/rubies/ruby-2.2.2/bin:/Users/gabrieletassoni/bin:/Applications/oracle/product/instantclient_64/11.2.0.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/gabrieletassoni/.rvm/bin',
      IRBRC: '/Users/gabrieletassoni/.rvm/rubies/ruby-2.2.2/.irbrc',
      DYLD_LIBRARY_PATH: '/Applications/oracle/product/instantclient_64/11.2.0.4.0/lib:',
      ANALYTICS_SOURCE: 'studio',
      _system_arch: 'x86_64',
      rvm_bin_path: '/Users/gabrieletassoni/.rvm/bin',
      JAVA_HOME: '/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home',
      STUDIO_NAME: 'Appcelerator Studio',
      rvm_prefix: '/Users/gabrieletassoni',
      TNS_ADMIN: '/Applications/oracle/admin/network',
      LANG: 'en_US.UTF-8',
      STUDIO_VERSION: '4.4.0.201511241829',
      ANDROID_HOME: '/usr/local/opt/android-sdk',
      LOGNAME: 'gabrieletassoni',
      rvm_version: '1.26.11 (master)',
      XPC_SERVICE_NAME: 'com.appcelerator.appcelerator-studio.20512',
      PWD: '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS',
      ORACLE_HOME: '/Applications/oracle/product/instantclient_64/11.2.0.4.0',
      SQLPATH: '/Applications/oracle/product/instantclient_64/11.2.0.4.0/sqlplus/admin',
      ANDROID_SDK: '/usr/local/opt/android-sdk',
      SHELL: '/bin/bash',
      APTANA_VERSION: '4.4.0.1445622407',
      _system_type: 'Darwin',
      ORACLE_BASE: '/Applications/oracle',
      MY_RUBY_HOME: '/Users/gabrieletassoni/.rvm/rubies/ruby-2.2.2',
      _system_version: '10.11',
      USER: 'gabrieletassoni',
      GEM_HOME: '/Users/gabrieletassoni/.rvm/gems/ruby-2.2.2',
      ANDROID_NDK: '/usr/local/Cellar/android-ndk/r10e',
      TMPDIR: '/var/folders/fq/dbg278nd58b8d46rfbh6vcpc0000gn/T/',
      rvm_path: '/Users/gabrieletassoni/.rvm',
      SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.1f9yFj3yc1/Listeners',
      OCI_DIR: '/Applications/oracle/product/instantclient_64/11.2.0.4.0/lib',
      JAVA_STARTED_ON_FIRST_THREAD_42014: '1',
      XPC_FLAGS: '0x0',
      GEM_PATH: '/Users/gabrieletassoni/.rvm/gems/ruby-2.2.2:/Users/gabrieletassoni/.rvm/gems/ruby-2.2.2@global',
      RUBY_VERSION: 'ruby-2.2.2',
      _system_name: 'OSX',
      __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x4',
      Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.ZdAWGFk6q4/Render',
      STUDIO_PRODUCT_ID: 'com.appcelerator.titanium.rcp.product',
      HOME: '/Users/gabrieletassoni',
      SHLVL: '1',
      APP_ICON_42014: '../Resources/titanium.icns',
      DYLD_FALLBACK_LIBRARY_PATH: '/Applications/oracle/product/instantclient_64/11.2.0.4.0/lib:',
      APPC_NPM_VERSION: '4.2.2',
      npm_config_cache: '/Users/gabrieletassoni/.appcelerator/.npm',
      npm_config_prefix: '/Users/gabrieletassoni/.appcelerator/.npm',
      APPC_INSTALL_DIR: '/Users/gabrieletassoni/.appcelerator/install',
      APPC_INSTALL_BIN_DIR: '/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/bin/appc',
      NODE_PATH: '/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules:/Users/gabrieletassoni/.appcelerator/cache/node_modules:',
      APPC_SUPPRESS_PROGRESS: 'true',
      APPC_REGISTRY_SERVER: 'https://software.appcelerator.com',
      APPC_SECURITY_SERVER: 'https://security.appcelerator.com',
      APPC_DASHBOARD_URL: 'https://platform.appcelerator.com',
      APPC_ENV: 'production',
      APPC_SESSION_TOKEN: '7156cb7d7785aef55c8b5a851ec8e3ffa3c8c4fd%20bYUnETqMKKdRT5%2FEl2XOd8hNEOgi1KRB9G0PvpLfIuilwbVGIwg3QjSnEsvl6v4OFu0W%2BAQuTUIxeySQVj0CcnfNjB4ZpIZ1egtMYro2a2r1NsvmmlcbE7RYiHxSW0JJVd6gNn24gaZrCgLE%2FkaaHqB9FTMQBLlfZLAkIE%2BzMGXswjxDxCSLJwouSRd%2FLWtN%2B4dJG7%2BZ34QAO6w3KfL3eTj5mCSw%2Bsifqb6NausrQYuv40WiBihGhbir8bH0wHpSjhvZP%2BA39f2ZGY%2BgGStHnIf9U7u305gVRMIhT5FabMQce6g4YxnS0wB2INjRGM1%2FUlPQu84EIgk%2Fu6vBcTV0vrwJpLwAf2q4xS89cLB1DvhVgzDtxZIF71wWX%2FFecUKI%2B9A3lg2FOzjTUAjRpZIhoQFsr20vA9gizEroAAFLQp9rNEPuIJh0LunFjRhvZGg6pjGjjoXPXKWCs2VQHxbVzEUyyi%2F18OiKVZCHfTZXLTBbxn0gYy2Ba23RAMLK%2Bila2FUYKG1g6zEOsNeRwtklEmBFfe1EPNETu%2FNyFEifKJp05Tgn7WJ8BjQtMTykrLso87pxJnGhLRGCyH99HDfwf7mn4M%2Fl%2FP%2FslU1YL1bri4b8d%2FW5vb6zNGymBp1mU8OmJVfY6bSK6Tg6mBawETeVJqLg7J23R99SyhWR15ZSP0oQUZKgE2h%2FwUo06mCC65MTX5H58bMmasShh%2FT7dLR9H%2FOJxzX%2BA7yQz%2FC7r6Ht5AsEMjFTR1xptiM33v9BLGz6PYQVmailQbVE%2Fw2tCLbCeFrXEmwnQvTtvpF3AVnUrBU%3D',
      APPC_SESSION_SID: 's%3AgTvIUbng7v6hKQQKPs7rS8fQiQO5FvJE.ZtYSWcwGfx%2Fam7e4wNXqZ2xE4ro%2By4HSjD7LmQJidcQ',
      APPC_SESSION_USERNAME: 'gabriele.tassoni@gmail.com',
      APPC_SESSION_ORGID: '100007901',
      APPC_SESSION_ENV: '

      {"name":"production","isProduction":true,"acsBaseUrl":"https://api.cloud.appcelerator.com","acsAuthBaseUrl":"https://secure-identity.cloud.appcelerator.com","nodeACSEndpoint":"https://admin.cloudapp-enterprise.appcelerator.com"}

      ',
      APPC_SESSION_ENTITLEMENTS: '{"id":"54d8e493ce78815d81104cb2","name":"Individual","partners":["acs","analytics"],"trialNotification":false,"supportLink":"https://community.appcelerator.com","paidSupport":false,"allowMultipleUsers":false,"testingDevices":

      {"min":0,"max":0}

      ,"allowProduction":true,"arrowPublish":false,"nativeSDK":false,"insights":false,"apiRateMonthPerSeat":1000000,"apiRateMonth":1000000,"apiRateMinute":20,"pushRateMinute":20,"pushRateMonth":864000,"storageGBRateMonth":5,"storageFilesGB":5,"storageDatabaseGB":5,"eventRateMonthPerSeat":500000,"eventRateMonth":500000,"daysDataRetained":30,"dateRangeLimit":30,"maxOrganizations":1,"allowChildOrgs":false,"exportMetrics":false,"exportAcs":false,"paid":true,"containerPoints":0,"containerPointsPerSeat":0,"collaboration":false,"appPreview":false,"premiumModules":false,"oneClickPublishing":false,"appDesigner":false,"enterpriseEula":false,"_version":1}',
      ALLOY_PATH: '/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy' },
      stdio:
      [

      { _connecting: false, _hadError: false, _handle: [Object], _parent: null, _host: null, _readableState: [Object], readable: true, domain: null, _events: [Object], _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: false, bytesRead: 0, _bytesDispatched: 0, _writev: null, _pendingData: null, _pendingEncoding: '', fd: 0 }

      ,

      { _connecting: false, _hadError: false, _handle: [Object], _parent: null, _host: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: undefined, _writableState: [Object], writable: true, allowHalfOpen: false, destroyed: false, bytesRead: 0, _bytesDispatched: 5702, _writev: null, _pendingData: null, _pendingEncoding: '', read: null, _type: 'pipe', fd: 1, _isStdio: true, destroySoon: [Function], destroy: [Function] }

      ,
      'pipe' ] }
      12/19/2015, 12:17:09 PM
      Operating System
      Name = Mac OS X
      Version = 10.11.2
      Architecture = 64bit

      1. CPUs = 2
        Memory = 8589934592
        Node.js
        Node.js Version = 0.12.7
        npm Version = 3.3.12
        Titanium CLI
        CLI Version = 5.0.5
        Titanium SDK
        SDK Version = 5.1.1.GA
        SDK Path = /Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA
        Target Platform = android
        Command
        /usr/local/bin/node /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform android --log-level trace --sdk 5.1.1.GA --project-dir /Users/gabrieletassoni/Git/tarisoft/titanium/hiworkflowsclient --target device --android-sdk /usr/local/opt/android-sdk --device-id 15223521650300 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 54237 --plugin-paths /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules --config-file /var/folders/fq/dbg278nd58b8d46rfbh6vcpc0000gn/T/build-1450523819221.json --no-banner
        [INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=test path=/Users/gabrieletassoni/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9
        [INFO] : Found Titanium module id=bencoding.securely version=1.52.B platform=android deploy-type=test path=/Users/gabrieletassoni/Library/Application Support/Titanium/modules/android/bencoding.securely/1.52.B
        [INFO] : Found Titanium plugin id=ti.alloy version=1.0
        [INFO] : Deploy type: test
        [INFO] : Building for target: device
        [INFO] : Building for device: 15223521650300
        [INFO] : Targeting Android SDK API: 23
        [INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86
        [INFO] : Signing with keystore: /Users/gabrieletassoni/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/dev_keystore (tidev)
        [INFO] : Debugging disabled
        [INFO] : Profiler disabled
        [INFO] : Forcing rebuild: /Users/gabrieletassoni/Git/tarisoft/titanium/hiworkflowsclient/build/android/build-manifest.json does not exist
        [INFO] : Found Alloy app in /Users/gabrieletassoni/Git/tarisoft/titanium/hiworkflowsclient/app
        [INFO] : Executing Alloy compile: /usr/local/bin/node /Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy compile /Users/gabrieletassoni/Git/tarisoft/titanium/hiworkflowsclient/app --config platform=android,version=0,simtype=none,devicefamily=none,deploytype=test,target=device --no-colors
        [INFO] : [config.json] config.json unchanged, using cached config.json...
        [INFO] : ----- MVC GENERATION -----
        [INFO] : [global style] loading from cache...
        [INFO] : [models/bundle.js] model processing...
        [INFO] : Found 1 migrations for model: bundle
        [INFO] : [models/chosen_deck.js] model processing...
        [INFO] : Found 1 migrations for model: chosen_deck
        [INFO] : [models/chosen_furniture.js] model processing...
        [INFO] : Found 1 migrations for model: chosen_furniture
        [INFO] : [models/chosen_item.js] model processing...
        [INFO] : Found 1 migrations for model: chosen_item
        [INFO] : [models/chosen_room.js] model processing...
        [INFO] : Found 1 migrations for model: chosen_room
        [INFO] : [models/deck.js] model processing...
        [INFO] : Found 2 migrations for model: deck
        [INFO] : [models/furniture.js] model processing...
        [INFO] : Found 2 migrations for model: furniture
        [INFO] : [models/furniture_item.js] model processing...
        [INFO] : Found 1 migrations for model: furniture_item
        [INFO] : [models/item.js] model processing...
        [INFO] : Found 3 migrations for model: item
        [INFO] : [models/room.js] model processing...
        [INFO] : Found 2 migrations for model: room
        [INFO] : [models/setting.js] model processing...
        [INFO] : Found 1 migrations for model: setting
        [INFO] : [models/ship.js] model processing...
        [INFO] : Found 1 migrations for model: ship
        [INFO] : [models/timetable.js] model processing...
        [INFO] : Found 1 migrations for model: timetable
        [INFO] : [models/user.js] model processing...
        [INFO] : Found 1 migrations for model: user
        [INFO] : [models/workflow.js] model processing...
        [INFO] : Found 1 migrations for model: workflow
        [INFO] : [button.xml] view processing...
        [INFO] : style: "button.tss"
        [INFO] : view: "button.xml"
        [INFO] : controller: "button.js"
        [INFO] : created: "Resources/android/alloy/controllers/button.js"
        [INFO] : created: "Resources/android/alloy/styles/button.js"
        [INFO] : [index.xml] view processing...
        [INFO] : style: "index.tss"
        [INFO] : view: "index.xml"
        [INFO] : controller: "index.js"
        [INFO] : created: "Resources/android/alloy/controllers/index.js"
        [INFO] : created: "Resources/android/alloy/styles/index.js"
        [INFO] : [login.xml] view processing...
        [INFO] : style: "login.tss"
        [INFO] : view: "login.xml"
        [INFO] : controller: "login.js"
        [INFO] : created: "Resources/android/alloy/controllers/login.js"
        [INFO] : created: "Resources/android/alloy/styles/login.js"
        [INFO] : [main.xml] view processing...
        [INFO] : style: "main.tss"
        [INFO] : view: "main.xml"
        [INFO] : controller: "main.js"
        [INFO] : created: "Resources/android/alloy/controllers/main.js"
        [INFO] : created: "Resources/android/alloy/styles/main.js"
        [INFO] : [progress.xml] view processing...
        [INFO] : style: "progress.tss"
        [INFO] : view: "progress.xml"
        [INFO] : controller: "progress.js"
        [INFO] : created: "Resources/android/alloy/controllers/progress.js"
        [INFO] : created: "Resources/android/alloy/styles/progress.js"
        [INFO] : [ships.xml] view processing...
        [INFO] : style: "ships.tss"
        [INFO] : view: "ships.xml"
        [INFO] : controller: "ships.js"
        [ERROR] :
        [ERROR] : (/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/alloy/node_modules/uglify-js/lib/parse.js:189:18)
        [ERROR] : (/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/alloy/node_modules/uglify-js/lib/parse.js:197:11)
        [ERROR] : (/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/alloy/node_modules/uglify-js/lib/parse.js:664:9)
        [ERROR] : Alloy compiler failed
        2015-12-19T11:17:11.881Z | TRACE | titanium exited with exit code 1
        2015-12-19T11:17:11.882Z | ERROR | Error: ti run exited with error code 1
        at ChildProcess.<anonymous> (/Users/gabrieletassoni/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:66)
        at ChildProcess.emit (events.js:110:17)
        at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
        2015-12-19T11:17:11.884Z | TRACE | Sending exit signal to titanium process: 62058
        [ERROR] Application Installer abnormal process termination. Process exit value was 1

      I already tried different SDKs, 5.1.0GA, 5.0.0GA, and tried compiling renaming the files and references, but the error still persists, only if I manually delete controller, view and style, and add a new, differently named control (view, style), copying inside the same content, it works for the first compilation, then throws the same compile error.

      As you can see, I cannot understand which error it could be, the output is very generic: [ERROR] : Alloy compiler failed and it's not referencing offending lines in my code, but in appecelerator's parse.js

      I always Project -> Clean before each compilation.

      Is this a bug, please can someone tell me how to workaround or resolve?

      Thank you.

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              gabrieletassoni Gabriele Tassoni
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: