Results 1 to 2 of 2

Thread: [CMD 5.0.0.116] Exception in "sencha app watch" when files are refreshed

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2009
    Posts
    317

    Default [CMD 5.0.0.116] Exception in "sencha app watch" when files are refreshed

    I'm trying to go through the "Getting Started" guide for ExtJS 5 (http://docs.sencha.com/extjs/5.0.0/g...g_started.html), and I get this error whenever I run "sencha app watch" and then change one of the files. The updated file is processed and I can then see the changes in the browser, but no further changes are picked up after that point.


    Code:
    Sencha Cmd v5.0.0.116
    [INF] Loading app json manifest...
    [INF] Writing content to C:\dev\sandbox\wm-menu\app/bootstrap.js
    [INF] Writing content to C:\dev\sandbox\wm-menu\app/bootstrap.json
    [INF] merging resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu\resources
    [INF] merged 0 resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu\resources
    [INF] merging resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu
    [INF] merged 0 resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu
    [INF] writing sass content to C:\dev\sandbox\wm-menu\app/build/temp/testing/WM_Menu/sass/WM_Menu-all.scss.tmp
    [INF] appending sass content to C:\dev\sandbox\wm-menu\app/build/temp/testing/WM_Menu/sass/WM_Menu-all.scss.tmp
    [INF] appending sass content to C:\dev\sandbox\wm-menu\app/build/temp/testing/WM_Menu/sass/WM_Menu-all.scss.tmp
    [INF] executing compass using system installed ruby runtime
    unchanged WM_Menu-all.scss
    [INF] Mapping http://localhost:1841/ to C:\dev\sandbox\wm-menu\app...
    [INF] ------------------------------------------------------------------
    [INF] Starting web server at : http://localhost:1841
    [INF] ------------------------------------------------------------------
    [INF] Waiting for changes...
    [ERR] C:\dev\sandbox\wm-menu\app\app\view\main\Main.js___jb_old___
         at com.sencha.exceptions.BasicException.wrap(BasicException.java:51)
         at com.sencha.exceptions.BasicException.stealthify(BasicException.java:43)
         at com.sencha.exceptions.BasicException.raise(BasicException.java:35)
         at com.sencha.tools.watchers.NotificationFileWatcherService.registerLeafPath(NotificationFileWatcherService.java:262)
         at com.sencha.tools.watchers.NotificationFileWatcherService.processWatchKey(NotificationFileWatcherService.java:116)
         at com.sencha.tools.watchers.NotificationFileWatcherService.run(NotificationFileWatcherService.java:95)
         at com.sencha.command.compile.watch.CompileWatcher.run(CompileWatcher.java:274)
         at com.sencha.ant.WatchTask.doExecute(WatchTask.java:59)
         at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:32)
         .....
       Caused by: C:\dev\sandbox\wm-menu\app\app\view\main\Main.js___jb_old___
         at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
         at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
         at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
         at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown Source)
         at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(Unknown Source)
         at sun.nio.fs.WindowsFileSystemProvider.readAttributes(Unknown Source)
         at java.nio.file.Files.readAttributes(Unknown Source)
         at java.nio.file.FileTreeWalker.walk(Unknown Source)
         at java.nio.file.FileTreeWalker.walk(Unknown Source)
         at java.nio.file.Files.walkFileTree(Unknown Source)
         at java.nio.file.Files.walkFileTree(Unknown Source)
         at com.sencha.tools.watchers.NotificationFileWatcherService.registerLeafPath(NotificationFileWatcherService.java:252)
         at com.sencha.tools.watchers.NotificationFileWatcherService.processWatchKey(NotificationFileWatcherService.java:116)
         at com.sencha.tools.watchers.NotificationFileWatcherService.run(NotificationFileWatcherService.java:95)
         at com.sencha.command.compile.watch.CompileWatcher.run(CompileWatcher.java:274)
         at com.sencha.ant.WatchTask.doExecute(WatchTask.java:59)
         at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:32)
         .....
    
    
    [INF] Triggering refresh...
    [INF] -----------------------
    [INF] Writing content to C:\dev\sandbox\wm-menu\app/bootstrap.js
    [INF] Writing content to C:\dev\sandbox\wm-menu\app/bootstrap.json
    [INF] merging resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu\resources
    [INF] merged 0 resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu\resources
    [INF] merging resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu
    [INF] merged 0 resources into C:\dev\sandbox\wm-menu\app\build\testing\WM_Menu
    [INF] writing sass content to C:\dev\sandbox\wm-menu\app/build/temp/testing/WM_Menu/sass/WM_Menu-all.scss.tmp
    [INF] appending sass content to C:\dev\sandbox\wm-menu\app/build/temp/testing/WM_Menu/sass/WM_Menu-all.scss.tmp
    [INF] appending sass content to C:\dev\sandbox\wm-menu\app/build/temp/testing/WM_Menu/sass/WM_Menu-all.scss.tmp
    [INF] executing compass using system installed ruby runtime
    unchanged WM_Menu-all.scss
    [INF] Refresh complete in 3 sec. at 02:13:40 PM
    [INF] -----------------------
    [INF] Waiting for changes...
    Ruby version is 1.9.3p545
    Ant version is 1.9.3
    JDK version is 1.7.0_55

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    What IDE are you using? Looks like it's creating a temp file.
    Mitchell Simoens @LikelyMitch

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

    Posts are my own, not any current, past or future employer's.

Posting Permissions

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