Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-222 in a recent build.
  1. #1
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default [3.0.0.201] Fails generating checksum for appCache item

    [3.0.0.201] Fails generating checksum for appCache item


    I have a png file added to the app.json appCache object:

    Code:
        "appCache": {
            /**
             * List of items in the CACHE MANIFEST section
             */
            "cache": [
                "index.html",
                "images/my-image.png"
            ],
    This worked in previous sencha cmd versions, but now it throws an error:

    Code:
    [DEBUG]		generating new built index.html
    [INFO ]		Embedded microloader into index.html
    [INFO ]		Generating appcache
    [INFO ]		Generating checksum for appCache item: index.html
    [INFO ]		Generating checksum for appCache item: images/my-image.png
    [ERROR]		BUILD FAILED
    [ERROR]		com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERROR]		/Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    [ERROR]			at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    Removing the image from the app.json file allows the build process to run without errors.

    (I'm using ST 2.1 RC2)

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,018
    Vote Rating
    849
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    First you would need to add images to the resources array so it's copied over but even then it fails.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    26
    Vote Rating
    2
    rando is on a distinguished road

      0  

    Default


    I'm still having this issue with ST2.1 final. Is there a workaround to properly build the app?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,018
    Vote Rating
    849
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by rando View Post
    I'm still having this issue with ST2.1 final. Is there a workaround to properly build the app?
    This bug is still marked as OPEN so it's not surprising it's still an issue.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Mar 2010
    Posts
    26
    Vote Rating
    2
    rando is on a distinguished road

      0  

    Default


    Well this kind of not cool for a GA. Any possible workaround?

  6. #6
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,346
    Vote Rating
    134
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    Can you include the complete debug output you are getting?

    Thanks!
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  7. #7
    Sencha User
    Join Date
    Mar 2010
    Posts
    26
    Vote Rating
    2
    rando is on a distinguished road

      0  

    Default


    Here is the output.

    Code:
    sencha ant production build
    Sencha Cmd v3.0.0.250
    [INF]        production:
    [INF]        -before-init-local:
    [INF]        -init-local:
    [INF]        -after-init-local:
    [INF]        init-local:
    [INF]        find-cmd:
    [INF]        -before-init:
    [INF]        -init:
    [INF]        -after-init:
    [INF]        init:
    [INF]        -before-build:
    [INF]        sass:
    [INF]        -before-sass:
    [INF]        -sass:
    [INF]        [shellscript] identical ../css/app.css 
    [INF]        -after-sass:
    [INF]        page:
    [INF]        -before-page:
    [INF]        -page:
    [INF]        building application
    [INF]        Deploying your application to /Users/rando/Sites/myapp/build/default/production
    [INF]        Copied parse-1.1.5.min.js
    [INF]        Copied moment.min.js
    [INF]        Copied app.js
    [INF]        Copied resources/css/app.css
    [INF]        Copied resources/css/custom.css
    [INF]        Copied /Users/rando/Sites/myapp/config.xml
    [INF]        Copied /Users/rando/Sites/myapp/api
    [INF]        Copied /Users/rando/Sites/myapp/resources/css
    [INF]        Copied /Users/rando/Sites/myapp/resources/images
    [INF]        Copied /Users/rando/Sites/myapp/resources/icons
    [INF]        Copied /Users/rando/Sites/myapp/resources/startup
    [INF]        Resolving your application dependencies (file:////Users/rando/Sites/myapp/index.html)
    [INF]        Compiling app.js and dependencies
    [INF]        Processing classPath entry : /Users/rando/Sites/myapp/sencha-compile-temp-dir
    [INF]        Processing classPath entry : /Users/rando/Sites/myapp/touch/src
    [INF]        Processing classPath entry : /Users/rando/Sites/myapp/app.js
    [INF]        Processing classPath entry : /Users/rando/Sites/myapp/app
    [INF]        Processing class inheritance graph
    [INF]        Processing instantiation refereces to classes and aliases
    [INF]        Processing source dependencies
    [INF]        Concatenating output to file /Users/rando/Sites/myapp/build/default/production/app.js
    [INF]        Completed compilation.
    [INF]        Processed local file parse-1.1.5.min.js
    [INF]        Minified parse-1.1.5.min.js
    [INF]        Processed local file moment.min.js
    [INF]        Minified moment.min.js
    [INF]        Processed remote file touch/sencha-touch.js
    [INF]        Processed local file app.js
    [INF]        Minified app.js
    [INF]        Minified resources/css/app.css
    [INF]        Minified resources/css/custom.css
    [INF]        Generated app.json
    [INF]        Embedded microloader into index.html
    [INF]        Generating appcache
    [INF]        Generating checksum for appCache item: index.html
    [INF]        Generating checksum for appCache item: resources/images/loader.gif
    [ERR]        The following error occurred while executing this line:
    /Users/rando/Sites/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619

  8. #8
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,346
    Vote Rating
    134
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    You can get more details like so:

    Code:
    sencha -debug ant production build
    (or equivalently)

    Code:
    sencha -debug app build production
    Can you include that log? Thanks!
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  9. #9
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    770
    Vote Rating
    28
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Hi,

    I'm also still getting the same error as in my first post, using 3.0.0.250:

    Code:
    ...
    [DBG]		renameLabels
    [DBG]		label renamed: JSCompiler_inline_label_patch_19 => a
    [DBG]		latePeepholeOptimizations
    [DBG]		stripSideEffectProtection
    [DBG]		sanityCheckAst
    [DBG]		sanityCheckVars
    [DBG]		encoding json data
    [DBG]		generating new built index.html
    [INF]		Embedded microloader into index.html
    [INF]		Generating appcache
    [INF]		Generating checksum for appCache item: index.html
    [INF]		Generating checksum for appCache item: images/my-image.png
    [ERR]		BUILD FAILED
    [ERR]		com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERR]		/Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    [ERR]			at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    [ERR]			at com.sencha.cli.Command.dispatch(Command.java:104)
    [ERR]			at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]			at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
    [ERR]			at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    [ERR]			at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    [ERR]			at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ERR]			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERR]			at java.lang.reflect.Method.invoke(Method.java:597)
    [ERR]			at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]			at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]			at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]			at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]			at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]			at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]			at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]			at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]			at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERR]			at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    [ERR]			at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:87)
    [ERR]			at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:91)
    [ERR]			at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:135)
    [ERR]			at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:106)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ERR]			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERR]			at java.lang.reflect.Method.invoke(Method.java:597)
    [ERR]			at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERR]			at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]			at com.sencha.cli.Commands.dispatch(Commands.java:49)
    [ERR]			at com.sencha.command.Sencha.main(Sencha.java:71)
    [ERR]		Caused by: /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:126: The following error occurred while executing this line:
    [ERR]		/Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    [ERR]			at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
    [ERR]			at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)
    [ERR]			at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [ERR]			at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]			at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERR]			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERR]			at java.lang.reflect.Method.invoke(Method.java:597)
    [ERR]			at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]			at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]			at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]			at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]			at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]			at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [ERR]			at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [ERR]			at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]			at com.sencha.ant.AntRunner.run(AntRunner.java:156)
    [ERR]			at com.sencha.ant.AntRunner.run(AntRunner.java:80)
    [ERR]			at com.sencha.command.ant.AntCommand.execute(AntCommand.java:75)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ERR]			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERR]			at java.lang.reflect.Method.invoke(Method.java:597)
    [ERR]			at com.sencha.cli.Command.dispatch(Command.java:78)
    [ERR]			... 31 more
    [ERR]		Caused by: /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    [ERR]			at org.apache.tools.ant.util.ReflectUtil.toBuildException(ReflectUtil.java:183)
    [ERR]			at org.apache.tools.ant.util.ReflectUtil.throwBuildException(ReflectUtil.java:166)
    [ERR]			at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:110)
    [ERR]			at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
    [ERR]			at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
    [ERR]			at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
    [ERR]			at org.apache.tools.ant.taskdefs.optional.script.ScriptDef.executeScript(ScriptDef.java:350)
    [ERR]			at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase.execute(ScriptDefBase.java:50)
    [ERR]			at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [ERR]			at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    [ERR]			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERR]			at java.lang.reflect.Method.invoke(Method.java:597)
    [ERR]			at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [ERR]			at org.apache.tools.ant.Task.perform(Task.java:348)
    [ERR]			at org.apache.tools.ant.Target.execute(Target.java:392)
    [ERR]			at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [ERR]			at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [ERR]			at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [ERR]			at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [ERR]			at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [ERR]			... 52 more
    [ERR]		Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    [ERR]			at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:153)
    [ERR]			at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:167)
    [ERR]			at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [ERR]			at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [ERR]			at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [ERR]			at java.lang.reflect.Method.invoke(Method.java:597)
    [ERR]			at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
    [ERR]			... 69 more
    [ERR]		Total time: 25 seconds
    [ERR]		com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    
    com.sencha.exceptions.BasicException: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    	at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    	at com.sencha.cli.Command.dispatch(Command.java:104)
    	at com.sencha.cli.Commands.dispatch(Commands.java:49)
    	at com.sencha.cli.Commands.dispatch(Commands.java:49)
    	at com.sencha.command.Sencha.main(Sencha.java:71)
    Caused by: /Users/shiller/bin/Sencha/Cmd/3.0.0.250/plugin.xml:112: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
    	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.AntRunner.run(AntRunner.java:156)
    	at com.sencha.ant.AntRunner.run(AntRunner.java:72)
    	at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:87)
    	at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:91)
    	at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:135)
    	at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:106)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at com.sencha.cli.Command.dispatch(Command.java:78)
    	... 3 more
    Caused by: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    	at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
    	at com.sencha.cli.Command.dispatch(Command.java:104)
    	at com.sencha.cli.Commands.dispatch(Commands.java:49)
    	at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182)
    	at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
    	at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
    	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    	... 21 more
    Caused by: /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:126: The following error occurred while executing this line:
    /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    	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 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	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.AntRunner.run(AntRunner.java:156)
    	at com.sencha.ant.AntRunner.run(AntRunner.java:80)
    	at com.sencha.command.ant.AntCommand.execute(AntCommand.java:75)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at com.sencha.cli.Command.dispatch(Command.java:78)
    	... 31 more
    Caused by: /Users/shiller/Work/myapp/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    	at org.apache.tools.ant.util.ReflectUtil.toBuildException(ReflectUtil.java:183)
    	at org.apache.tools.ant.util.ReflectUtil.throwBuildException(ReflectUtil.java:166)
    	at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:110)
    	at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
    	at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
    	at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
    	at org.apache.tools.ant.taskdefs.optional.script.ScriptDef.executeScript(ScriptDef.java:350)
    	at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase.execute(ScriptDefBase.java:50)
    	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	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)
    	... 52 more
    Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: failed calculating SHA-1 hash (<Unknown source>#619) in <Unknown source> at line number 619
    	at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:153)
    	at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:167)
    	at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
    	... 69 more

  10. #10
    Sencha User
    Join Date
    Jan 2012
    Posts
    8
    Vote Rating
    0
    caiken is on a distinguished road

      0  

    Default


    Same issue here. I guess for now we need to edit the manifest manually?

    Edit:
    looks like this is fixed in v 3.0.1, but how do I get it? Download link is still for v3.0.0.