1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    31
    Vote Rating
    1
    vipul.suthar is on a distinguished road

      0  

    Exclamation getting build failure in build system.

    getting build failure in build system.


    Not able to figure out where is the problem. I am able to build locally same application.

    BUILD FAILED
    /home/vipul/workspace/rel55_birch/src/ui/build.xml:241: The following error occurred while executing this line:
    /home/vipul/workspace/rel55_birch/src/ui/html5/simplifiedui/.sencha/app/build-impl.xml:603: The following error occurred while executing this line:
    /home/vipul/workspace/rel55_birch/src/ui/html5/simplifiedui/.sencha/app/build-impl.xml:562: com.sencha.exceptions.ExBuild: Failed to compress input
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.runYuiCompressor(YuiJavascriptCompressor.java:149)
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.compress(YuiJavascriptCompressor.java:160)
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.compress(YuiJavascriptCompressor.java:170)
    at com.sencha.command.compile.ConcatenateCommand.execute(ConcatenateCommand.java:194)
    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.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:174)
    at com.sencha.cli.Command.dispatch(Command.java:42)
    at com.sencha.cli.Commands.dispatch(Commands.java:62)
    at com.sencha.cli.Commands.dispatch(Commands.java:62)
    at com.sencha.command.Sencha.dispatch(Sencha.java:78)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:131)
    at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:65)
    at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:29)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.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:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.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:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.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:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.Main.runBuild(Main.java:851)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Caused by: com.sencha.exceptions.ExReflect: java.lang.reflect.InvocationTargetException
    at com.sencha.util.ReflectionUtil.newInstance(ReflectionUtil.java:120)
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.runYuiCompressor(YuiJavascriptCompressor.java:114)
    ... 56 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.sencha.util.ReflectionUtil.newInstance(ReflectionUtil.java:116)
    ... 57 more
    Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:331)
    at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.sencha.util.ReflectionUtil.newInstance(ReflectionUtil.java:116)
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.runYuiCompressor(YuiJavascriptCompressor.java:114)
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.compress(YuiJavascriptCompressor.java:160)
    at com.sencha.tools.compressors.yui.YuiJavascriptCompressor.compress(YuiJavascriptCompressor.java:170)
    at com.sencha.command.compile.ConcatenateCommand.execute(ConcatenateCommand.java:194)
    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.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:174)
    at com.sencha.cli.Command.dispatch(Command.java:42)
    at com.sencha.cli.Commands.dispatch(Commands.java:62)
    at com.sencha.cli.Commands.dispatch(Commands.java:62)
    at com.sencha.command.Sencha.dispatch(Sencha.java:78)
    at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:131)
    at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:65)
    at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:29)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.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:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)


    Total time: 3 minutes 16 seconds
    make: *** [/home/vipul/workspace/rel55_birch/obj/simba/src/ui] Error 1
    vipul@ubuntu:~/workspace/rel55_birch/src/ui$

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Location
    Dallas/Fort Worth
    Posts
    25
    Vote Rating
    13
    jvalentino will become famous soon enough

      2  

    Default Minification is running out of memory

    Minification is running out of memory


    The following error message states that something ran out of memory in the Java virtual machine:

    Code:
    Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
    The stacktrace further up also states that is has to do with YUI, which I know is responsible for minification. This means that the build process ran out of memory trying to do the minification.

    You have three options:
    1. Turn off minification (see http://www.sencha.com/forum/showthre...disable-minify)
    2. Find the file that is causing the issue through process of elimination, and possibly break it into smaller files
    3. Allocate more memory globally to the JVM using -Xmx1024m (means 1024 MB) through this http://docs.oracle.com/cd/E19476-01/...-settings.html

  3. #3
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    410
    Vote Rating
    55
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Quote Originally Posted by jvalentino View Post
    Allocate more memory globally to the JVM using -Xmx1024m (means 1024 MB) through this http://docs.oracle.com/cd/E19476-01/...-settings.html
    The comment by jvalentino is perfectly right. I'd just like to add (for the benefit of others reading this) that for Sencha Cmd, the default JVM arguments can be configured in the sencha.cfg file found in the Sencha Cmd installation directory - look for the property named cmd.jvm.args.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Location
    Dallas/Fort Worth
    Posts
    25
    Vote Rating
    13
    jvalentino will become famous soon enough

      0  

    Default Use the sencha configuration

    Use the sencha configuration


    burnnat's solution is preferable since it only modifies the JVM for the app's build, instead of for everything else on your machine.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar