Results 1 to 8 of 8

Thread: Build Error Sencha Touch 2.1

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    72
    Answers
    1

    Default Build Error Sencha Touch 2.1

    Hi everyone,

    I get the following error while trying to build my app for production :

    Code:
    [ERR]        BUILD FAILED
    [ERR]        com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERR]        /Users/titouanvanbelle/Documents/workspace/application/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [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/titouanvanbelle/Documents/workspace/application/sencha/.sencha/app/build-impl.xml:126: The following error occurred while executing this line:
    [ERR]        /Users/titouanvanbelle/Documents/workspace/application/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [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/titouanvanbelle/Documents/workspace/application/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [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: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [ERR]            at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:156)
    [ERR]            at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:170)
    [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: 11 seconds
    [ERR]        com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Users/titouanvanbelle/Documents/workspace/application/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    I really don't know how to debug this.
    If there's anything else you'd need to get to the bottom of this, just ask.

    Edit

    I managed to compile the app by enabling V2 compatibility mode like explained here :

    http://docs.sencha.com/touch/2-1/#!/..._app-section-3

    So what could be the reason why it does not compile without this mode enabled ?

    I just went through all my views and double checked the requires statements, they're all there. Also, I don't override any component in my app.

    Thanks

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    82
    Answers
    4

    Default Try disabling jsonpcache temporarily for stores and models

    Hi,

    Are you using 'jsonpcache' in any of your stores or models? I was and I had to revert to using 'jsonp' instead.

    Having jsonpcache was causing build errors for me too. Removing it fixed the build errors but I still don't have caching. I need to see if this has been deprecated.

    It looks like this a bug in the build script.

    Hope this helps,

    Matt

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    72
    Answers
    1

    Default

    Nope, I only have two stores and they have pretty much the same config :

    Code:
    Ext.define('App.store.Friends', {
      extend: 'Ext.data.Store',
    
    
      config: {
        model: 'App.model.Friend',
        sorters: 'name',
        grouper: {
          groupFn: function(record) {
            return record.get('name')[0];
          }
        },
        proxy: {
          type: 'ajax',
          url: url,
          reader: {
            type: 'json',
            rootProperty: 'data'
          },
          extraParams: {
            limit: 20
          }
        }
      }
    });

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450
    Answers
    3997

    Default

    It would help to know what steps were being taken right before the error. Also you can use the -d flag to get even more information... sencha -d app build testing
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5
    Sencha User
    Join Date
    Oct 2011
    Posts
    72
    Answers
    1

    Default

    You're right, here's the whole command output (with option -d)

    Code:
    Sencha Cmd v3.0.0.250
    [DBG]		checking /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app for plugin.xml
    [DBG]		checking /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/workspace for plugin.xml
    [DBG]		checking /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250/plugins/touch/current for plugin.xml
    [DBG]		checking /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250 for plugin.xml
    [DBG]		located plugin /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app/plugin.xml
    [INF]		init-properties:
    [INF]		init-sencha-command:
    [INF]		init:
    [INF]		-before-app-build:
    [INF]		app-build-impl:
    [DBG]		found sencha.cfg at /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250
    [DBG]		found workspace at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/workspace
    [DBG]		found app at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app
    [DBG]		loading framework config from /Users/titouanvanbelle/Documents/workspace/app/sencha/touch
    [DBG]		found cmd at /Users/titouanvanbelle/Documents/workspace/app/sencha/touch/cmd
    [DBG]		Checking for framework config overrides
    [DBG]		resolving framework config overrides for 'touch'
    [DBG]		Detected framework version 2.1.0.447
    [DBG]		using framework config override '/Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250/plugins/touch/current'
    [INF]		production:
    [INF]		-before-init-local:
    [INF]		-init-local:
    [INF]		-after-init-local:
    [INF]		init-local:
    [INF]		find-cmd:
    [INF]		-before-init:
    [INF]		-init:
    [DBG]		Initialize Sencha Cmd with prefix = ''
    [DBG]		found sencha.cfg at /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250
    [DBG]		found workspace at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/workspace
    [DBG]		found app at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app
    [DBG]		loading framework config from /Users/titouanvanbelle/Documents/workspace/app/sencha/touch
    [DBG]		found cmd at /Users/titouanvanbelle/Documents/workspace/app/sencha/touch/cmd
    [DBG]		Checking for framework config overrides
    [DBG]		resolving framework config overrides for 'touch'
    [DBG]		Detected framework version 2.1.0.447
    [DBG]		using framework config override '/Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250/plugins/touch/current'
    [DBG]		adding /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250/sencha.jar to classpath
    [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/titouanvanbelle/Documents/workspace/app/sencha/build/sencha/production
    [DBG]		copying all assets
    [DBG]		copying file /Users/titouanvanbelle/Documents/workspace/app/sencha/app.js
    [INF]		Copied app.js
    [DBG]		copying file /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/css/app.css
    [INF]		Copied resources/css/app.css
    [DBG]		copying all extras
    [DBG]		copying from /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/images to /Users/titouanvanbelle/Documents/workspace/app/sencha/build/sencha/production/resources/images
    [INF]		Copied /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/images
    [DBG]		copying from /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/icons to /Users/titouanvanbelle/Documents/workspace/app/sencha/build/sencha/production/resources/icons
    [INF]		Copied /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/icons
    [DBG]		copying from /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/startup to /Users/titouanvanbelle/Documents/workspace/app/sencha/build/sencha/production/resources/startup
    [INF]		Copied /Users/titouanvanbelle/Documents/workspace/app/sencha/resources/startup
    [INF]		Resolving your application dependencies (file:////Users/titouanvanbelle/Documents/workspace/app/sencha/index.html)
    [DBG]		found sencha.cfg at /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250
    [DBG]		found workspace at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/workspace
    [DBG]		found app at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app
    [DBG]		loading framework config from /Users/titouanvanbelle/Documents/workspace/app/sencha/touch
    [DBG]		found cmd at /Users/titouanvanbelle/Documents/workspace/app/sencha/touch/cmd
    [DBG]		Checking for framework config overrides
    [DBG]		resolving framework config overrides for 'touch'
    [DBG]		Detected framework version 2.1.0.447
    [DBG]		using framework config override '/Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250/plugins/touch/current'
    [INF]		Compiling app.js and dependencies
    [DBG]		running compiler with options : 'compile --ignore=src/locale,src/platform,auth2/Auth.js,scroller/Infinite.js --options=debug:false,logger:no,minVersion:3,product:touch union --recursive --file=app.js and concatenate -out=/Users/titouanvanbelle/Documents/workspace/app/sencha/build/sencha/production/app.js'
    [DBG]		found sencha.cfg at /Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250
    [DBG]		found workspace at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/workspace
    [DBG]		found app at /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app
    [DBG]		loading framework config from /Users/titouanvanbelle/Documents/workspace/app/sencha/touch
    [DBG]		found cmd at /Users/titouanvanbelle/Documents/workspace/app/sencha/touch/cmd
    [DBG]		Checking for framework config overrides
    [DBG]		resolving framework config overrides for 'touch'
    [DBG]		Detected framework version 2.1.0.447
    [DBG]		using framework config override '/Users/titouanvanbelle/bin/Sencha/Cmd/3.0.0.250/plugins/touch/current'
    [DBG]		java.lang.NoSuchMethodError
    [ERR]		BUILD FAILED
    [ERR]		com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERR]		/Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [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/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app/build-impl.xml:126: The following error occurred while executing this line:
    [ERR]		/Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [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/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [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: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461
    [ERR]			at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:156)
    [ERR]			at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:170)
    [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: 21 seconds
    [ERR]		com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Users/titouanvanbelle/Documents/workspace/app/sencha/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException: java.lang.NoSuchMethodError: org.mozilla.javascript.CompilerEnvirons.setRecordingComments(Z)V (<Unknown source>#461) in <Unknown source> at line number 461

  6. #6
    Sencha User
    Join Date
    Oct 2011
    Posts
    72
    Answers
    1

    Default Rhino

    I finally fixed it (thanks to Mitchell Simoens) by installing the latest version of Rhino

  7. #7

    Default

    Quote Originally Posted by TDeBailleul View Post
    I finally fixed it (thanks to Mitchell Simoens) by installing the latest version of Rhino
    Hi,

    i am also facing same problem and am confused. Do we download rhino from http://www.rhino3d.com/download here? I am confused because it's 450.9MB.

  8. #8

    Default is It?

    Hi,

    i am also facing same problem and am confused Do we download rhino fromhttp://www.rhino3d.com/download here? I am confused because it's 450.9MB.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •