PDA

View Full Version : [INFOREQ] [ST2.1 RC2/Sencha Cmd 3.0.0.201] Problem building production build



rkraus
24 Oct 2012, 3:48 AM
Hi,

when using the new WebSQL Proxy I ran into this Sencha CMD problems building an production (or testing) build.


[ERROR] def was null[ERROR] failed to find meta class definition for name proxy.null
[ERROR] BUILD FAILED
[ERROR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
[ERROR] /Users/ralf/Sites/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException (<Unknown source>#461) in <Unknown source> at line number 461
[ERROR] at com.sencha.exceptions.BasicException.wrap(BasicException.java:43)
[ERROR] at com.sencha.cli.Command.dispatch(Command.java:104)
[ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERROR] at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
[ERROR] at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58)
[ERROR] at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22)
[ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[ERROR] at org.apache.tools.ant.Task.perform(Task.java:348)
[ERROR] at org.apache.tools.ant.Target.execute(Target.java:392)
[ERROR] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[ERROR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[ERROR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[ERROR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:156)
[ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:72)
[ERROR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:80)
[ERROR] at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:120)
[ERROR] at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:96)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at com.sencha.cli.Command.dispatch(Command.java:78)
[ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49)
[ERROR] at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184)
[ERROR] at com.sencha.command.Sencha.main(Sencha.java:58)
[ERROR] Caused by: /Users/ralf/Sites/.sencha/app/build-impl.xml:126: The following error occurred while executing this line:
[ERROR] /Users/ralf/Sites/.sencha/app/build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.BasicException (<Unknown source>#461) in <Unknown source> at line number 461

mitchellsimoens
24 Oct 2012, 5:54 AM
Do you have the proxy in your requires somewhere?

rkraus
24 Oct 2012, 5:55 AM
Do you have the proxy in your requires somewhere?

In every Store that uses the SQL proxy...

rkraus
27 Oct 2012, 1:45 AM
Same problem with the new version of "Sencha Cmd 3"

rkraus
7 Nov 2012, 9:07 AM
fixed in the Release Build!

alexesc
8 Nov 2012, 9:21 PM
I have the same problem when "native build" on mac. Working in windows is ok.