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!