PDA

View Full Version : Native Build under MacOSx to IOS fails Exception in Thread 52



OSTRICH
16 Mar 2017, 7:47 AM
hi,

i have successfully created a modern 6.2 project under windows with web-app and packaged native with cordova to Android, it runs successful in ADT and on physical device by .apk:-/. Then I have copied the complete project to MacOSx with the same Architect 4.1.1.123 and cmd 6.2.2.36 and the build process crashes with the following error, please help:



[INF] Processing Build Descriptor : web
[INF] Starting server on port : 0
[INF] Mapping http://localhost:0/~cmd to /Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36...
[INF] Mapping http://localhost:0/ to /Users/servicesql/Documents/QuickStart...
[INF] Server started at port : 50517
[INF] Application available at http://localhost:50517
[INF] Loading compiler context
[INF] Loading app json manifest...
[LOG] Building /var/folders/jj/j9ygtkw92wx07z5607dglzkr0000gn/T/SenchaArchitectCompile/0syvk4ej/data.scss
Exiting with code 0
[INF] Appending content to /Users/servicesql/Documents/QuickStart/bootstrap.js
[INF] Writing content to /Users/servicesql/Documents/QuickStart/bootstrap.json
[INF] merging 366 input resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart/resources
[INF] merged 1 resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart/resources
[INF] merging 20 input resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart
[INF] merged 4 resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart
[INF] Writing content to /Users/servicesql/Documents/QuickStart/sass/example/bootstrap.json
[INF] Writing content to /Users/servicesql/Documents/QuickStart/sass/example/bootstrap.js
[INF] writing sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss.tmp
[INF] appending sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss.tmp
[INF] appending sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss.tmp
[INF] writing sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/config.rb
[INF] Writing content to /Users/servicesql/Documents/QuickStart/build/development/QuickStart/app.json
[LOG] Building /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss
Exiting with code 0
[INF] Appending content to /Users/servicesql/Documents/QuickStart/bootstrap.js
[INF] Writing content to /Users/servicesql/Documents/QuickStart/bootstrap.json
[INF] Loading Build Environment
[INF] Waiting for changes...
[INF] Processing Build Descriptor : native
[INF] Detected change to /Users/servicesql/Documents/QuickStart/packages/local/theme-triton-0567b7de-bce7-46b3-a9de-bffb020c5cf6/sass/var/Component.scss
[INF] Detected change to /Users/servicesql/Documents/QuickStart/packages/local/theme-triton-0567b7de-bce7-46b3-a9de-bffb020c5cf6/sass/src/Component.scss
[INF] -----------------------
[INF] Loading compiler context
[INF] Loading app json manifest...
[INF] Appending content to /Users/servicesql/Documents/QuickStart/bootstrap.js
[INF] Writing content to /Users/servicesql/Documents/QuickStart/bootstrap.json
[INF] merging 366 input resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart/resources
[INF] merged 1 resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart/resources
[INF] merging 20 input resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart
[INF] merged 3 resources into /Users/servicesql/Documents/QuickStart/build/development/QuickStart
[INF] Writing content to /Users/servicesql/Documents/QuickStart/sass/example/bootstrap.json
[INF] Writing content to /Users/servicesql/Documents/QuickStart/sass/example/bootstrap.js
[INF] writing sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss.tmp
[INF] appending sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss.tmp
[INF] appending sass content to /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss.tmp
[INF] Writing content to /Users/servicesql/Documents/QuickStart/build/development/QuickStart/app.json
[INF] Appending content to /Users/servicesql/Documents/QuickStart/bootstrap.js
[INF] Writing content to /Users/servicesql/Documents/QuickStart/bootstrap.json
[LOG] Building /Users/servicesql/Documents/QuickStart/build/temp/development/QuickStart/sass/QuickStart-all.scss
Exiting with code 0
[INF] Compressing data with YuiJavascriptCompressor
[INF] Appending content to /Users/servicesql/Documents/QuickStart/bootstrap.js
[INF] Writing content to /Users/servicesql/Documents/QuickStart/bootstrap.json
[INF] Refresh complete in 7 sec. at 03:50:25 PM
[INF] -----------------------
[INF] Waiting for changes...
[INF] Writing concatenated output to file /Users/servicesql/Documents/QuickStart/cordova/www/app.js
[INF] merging 366 input resources into /Users/servicesql/Documents/QuickStart/cordova/www/resources
[INF] merged 1 resources into /Users/servicesql/Documents/QuickStart/cordova/www/resources
[INF] merging 20 input resources into /Users/servicesql/Documents/QuickStart/cordova/www
[INF] merged 4 resources into /Users/servicesql/Documents/QuickStart/cordova/www
[INF] Writing content to /Users/servicesql/Documents/QuickStart/sass/example/bootstrap.json
[INF] Writing content to /Users/servicesql/Documents/QuickStart/sass/example/bootstrap.js
[INF] writing sass content to /Users/servicesql/Documents/QuickStart/build/temp/production/QuickStart/sass/QuickStart-all.scss.tmp
[INF] appending sass content to /Users/servicesql/Documents/QuickStart/build/temp/production/QuickStart/sass/QuickStart-all.scss.tmp
[INF] appending sass content to /Users/servicesql/Documents/QuickStart/build/temp/production/QuickStart/sass/QuickStart-all.scss.tmp
[INF] writing sass content to /Users/servicesql/Documents/QuickStart/build/temp/production/QuickStart/sass/config.rb
[INF] Writing content to /Users/servicesql/Documents/QuickStart/cordova/www/native.json
[LOG] Building /Users/servicesql/Documents/QuickStart/build/temp/production/QuickStart/sass/QuickStart-all.scss
Exiting with code 0
[INF] Appending content to /Users/servicesql/Documents/QuickStart/bootstrap.js
[INF] Writing content to /Users/servicesql/Documents/QuickStart/bootstrap.json
[INF] Copying page resources to /Users/servicesql/Documents/QuickStart/cordova/www
[INF] Building output markup to /Users/servicesql/Documents/QuickStart/cordova/www/index.html
[INF] Writing content to /Users/servicesql/Documents/QuickStart/cordova/www/index.html
[INF] Writing content to /Users/servicesql/Documents/QuickStart/cordova/www/microloader.js
Exception in thread "Thread-52"
com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/build-impl.xml:436: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/packager-impl.xml:17: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/cordova-impl.xml:109: The following error occurred while executing this line:
jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127
at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:55)
at com.sencha.tools.server.service.tasks.BaseServiceTask$1.run(BaseServiceTask.java:42)
at com.sencha.util.ThreadUtil$1.run(ThreadUtil.java:65)
at com.sencha.util.ThreadUtil$2.run(ThreadUtil.java:162)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/build-impl.xml:436: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/packager-impl.xml:17: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/cordova-impl.xml:109: The following error occurred while executing this line:
jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127
at com.sencha.exceptions.BasicException.wrap(BasicException.java:54)
at com.sencha.ant.AntScript.execute(AntScript.java:120)
at com.sencha.command.plugin.PluginManager.execute(PluginManager.java:104)
at com.sencha.command.plugin.PluginManager.executeReverseFirst(PluginManager.java:145)
at com.sencha.command.environment.BuildEnvironment.execute(BuildEnvironment.java:282)
at com.sencha.command.environment.AppOrPackageEnvironment.execute(AppOrPackageEnvironment.java:771)
at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:118)
at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:384)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
at com.sencha.cli.Command.dispatch(Command.java:43)
at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:282)
at com.sencha.cli.Commands.dispatch(Commands.java:64)
at com.sencha.cli.Commands.dispatch(Commands.java:64)
at com.sencha.command.Sencha.dispatch(Sencha.java:79)
at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
at com.sencha.tools.server.service.tasks.DispatchTask.execute(DispatchTask.java:52)
... 4 more
Caused by: /Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/plugin.xml:339: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/build-impl.xml:436: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/packager-impl.xml:17: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/cordova-impl.xml:109: The following error occurred while executing this line:
jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)


at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at com.sencha.ant.AntScript.execute(AntScript.java:116)
... 22 more
Caused by: /Users/servicesql/Documents/QuickStart/.sencha/app/build-impl.xml:436: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/packager-impl.xml:17: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/cordova-impl.xml:109: The following error occurred while executing this line:
jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at com.sencha.ant.CallTask.execute(CallTask.java:137)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)


at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
... 48 more
Caused by: /Users/servicesql/Documents/QuickStart/.sencha/app/packager-impl.xml:17: The following error occurred while executing this line:
/Users/servicesql/Documents/QuickStart/.sencha/app/cordova-impl.xml:109: The following error occurred while executing this line:
jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at com.sencha.ant.CallTask.execute(CallTask.java:137)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)


at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
... 62 more
Caused by: /Users/servicesql/Documents/QuickStart/.sencha/app/cordova-impl.xml:109: The following error occurred while executing this line:
jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127


at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
... 89 more


Caused by: jar:file:/Users/servicesql/bin/Sencha/Architect/Cmd/6.2.2.36/sencha.jar!/com/sencha/ant/antlib.xml:682: shellscript returned: 127
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at net.sf.antcontrib.platform.ShellScriptTask.execute(ShellScriptTask.java:132)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:217)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
... 101 more