Results 1 to 2 of 2

Thread: Cmd 6.5 Build error ~ Coordinate out of bounds!

  1. #1
    Sencha Premium User
    Join Date
    May 2014
    Posts
    21

    Default Cmd 6.5 Build error ~ Coordinate out of bounds!

    Build error after adding stylesheet to app.json.
    is there any solution?


    Sencha Cmd version tested:

    • Ext 6.5.0.180


    Ext version tested:

    • Ext 6.5.0.775


    Description:

    1. sencha -sdk path/to/ext6 generate app --classic test test
    2. cd test
    3. sencha app build (>> success!!)
    4. created resources/test.css
    5. edited app.json
    6. sencha app build (>> failure!!)


    Sumple:

    • resources/test.css

    Code:
    html, body {
      margin:0;
      padding:0;
      border:0 none;
      overflow:hidden;
      width:100%;
      height:100%;
      zoom:1;
      hasLayout:true;
    }

    • app.json

    Code:
    ...
    "css": [
      {
        // this entry uses an ant variable that is the calculated
        // value of the generated output css file for the app,
        // defined in .sencha/app/defaults.properties
        "path": "${build.out.css.path}",
        "bundle": true,
        "exclude": ["fashion"]
      }, {
        "path": "resources/test.css",
        "bundle": true
      }
    ],
    ...
    Error:
    Code:
    
    
    Code:
    D:\test>sencha app build
    Code:
    Sencha Cmd v6.5.0.180
    [INF] Processing Build Descriptor : default (production environment)
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Processing data with CmdJavascriptCompressor
    [INF] Writing concatenated output to file D:\test\build\production\test\app.js
    [INF] merging 235 input resources into D:\test\build\production\test\resources
    [INF] merged 1 resources into D:\test\build\production\test\resources
    [INF] merging 22 input resources into D:\test\build\production\test
    [INF] merged 0 resources into D:\test\build\production\test
    [INF] Writing content to D:\test\build\temp\production\test\slicer-temp\bootstrap.json
    [INF] Writing content to D:\test\build\temp\production\test\slicer-temp\bootstrap.js
    [INF] writing sass content to D:\test\build\temp\production\test\slicer-temp\test-example.scss.tmp
    [LOG] Fashion build starting for D:\test\build\temp\production\test\slicer-temp\test-example.scss
    [LOG] Fashion build complete for D:\test\build\temp\production\test\slicer-temp\test-example.scss
    [LOG] Fashion build completed in 2.851 sec.
    [INF] Capturing theme image
    [INF] Capture complete
    [INF] Slicing images...
    [ERR]
    [ERR] BUILD FAILED
    [ERR] java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
    [ERR]   at com.sencha
    [ERR] .command.plugin.PluginManager.execute(PluginManager.java:104)
    [ERR]
    [ERR] Total time: 25 seconds
    [ERR] The following error occurred while executing this line:
    D:\Sencha\Cmd\6.5.0.180\ant\build\app\build-impl.xml:341: The following error occurred while executing this line:
    D:\Sencha\Cmd\6.5.0.180\ant\build\app\slice-impl.xml:366: The following error occurred while executing this line:
    D:\Sencha\Cmd\6.5.0.180\ant\build\app\slice-impl.xml:367: The following error occurred while executing this line:
    D:\Sencha\Cmd\6.5.0.180\ant\build\app\slice-impl.xml:237: java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!



  2. #2
    Sencha Premium Member
    Join Date
    Sep 2012
    Location
    Singapore
    Posts
    54

    Default

    Have you found out the issue? I'm having the same issue but could not find the problem.
    I turn slicer off (app.json) and it could compile successfully but the output is not working as expected. Some missing files.
    I've tried increasing the JVM memory allocation also does not help.

    Any help?

Similar Threads

  1. Replies: 2
    Last Post: 24 Mar 2015, 2:09 AM
  2. Replies: 2
    Last Post: 2 Oct 2014, 6:43 AM
  3. Replies: 1
    Last Post: 14 Aug 2014, 9:21 AM
  4. Syntax error in production build, no error in testing build
    By antun in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 19 Nov 2012, 12:44 PM
  5. Replies: 0
    Last Post: 27 Dec 2011, 2:33 PM

Posting Permissions

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