1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Location
    Amsterdam, the Netherlands
    Posts
    6
    Vote Rating
    0
    gallier is on a distinguished road

      0  

    Default cmd v3.1.2.342 BUILD FAILED java.lang.NullPointerException

    cmd v3.1.2.342 BUILD FAILED java.lang.NullPointerException


    I'm trying to do the theme-tutorial in the documentation, but
    after updating extjs to 4.2.1 and the cmd to 3.1.2.342 it got an BUILD FAILD err.
    Befor I had no problem too create and build projects form the cmd.

    Code:
    airrob:extjs galien$ ../../bin/Sencha/Cmd/3.1.2.342/sencha -sdk ext generate app ThemeApp ../extjs_tryouts/theme-demo-app
    Sencha Cmd v3.1.2.342
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] cmd-root-plugin.init-properties:
    [INF] 
    [INF] init-properties:
    [INF] 
    [INF] init-sencha-command:
    [INF] 
    [INF] init:
    [INF] 
    [INF] before-upgrade:
    [INF] 
    [INF] generate-app-impl:
    [INF] 
    [INF] generate-starter-app:
    [INF]     [mkdir] Created dir: /Users/galien/Sites/extjs_tryouts/theme-demo-app/resources
    [INF]     [mkdir] Created dir: /Users/galien/Sites/extjs_tryouts/theme-demo-app/overrides
    [INF]     [mkdir] Created dir: /Users/galien/Sites/extjs_tryouts/theme-demo-app/sass/src
    [INF]     [mkdir] Created dir: /Users/galien/Sites/extjs_tryouts/theme-demo-app/sass/var
    [INF]     [mkdir] Created dir: /Users/galien/Sites/extjs_tryouts/theme-demo-app/sass/etc
    [INF] [x-property-file] Updating property file: /Users/galien/Sites/extjs_tryouts/theme-demo-app/.sencha/app/sencha.cfg
    [INF] 
    [INF] after-upgrade:
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] java.lang.NullPointerException
    [ERR] 
    [ERR] Total time: 2 seconds
    [ERR] com.sencha.exceptions.BasicException
    then I try to build and to create a theme with err NULL:

    Code:
    airrob:extjs galien$ cd ../extjs_tryouts/theme-demo-app
    
    
    airrob:theme-demo-app galien$ ls
    Readme.md	app.js		bootstrap.css	build.xml	overrides	resources
    app		app.json	bootstrap.js	index.html	packages	sass
    airrob:theme-demo-app galien$ ../../../bin/Sencha/Cmd/3.1.2.342/sencha app build
    [ERR] null
         at com.sencha.command.environment.WorkspaceEnvironment.extractPackage(WorkspaceEnvironment.java:176)
         at com.sencha.command.environment.WorkspaceEnvironment.getPackageEnvironment(WorkspaceEnvironment.java:196)
         at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageEnvironment(AppOrPackageEnvironment.java:245)
         at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageEnvironments(AppOrPackageEnvironment.java:255)
         at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageNames(AppOrPackageEnvironment.java:266)
         at com.sencha.command.environment.AppEnvironment.<init>(AppEnvironment.java:54)
         at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:193)
         at com.sencha.command.Sencha.loadBuildEnvironment(Sencha.java:374)
         at com.sencha.command.Sencha.main(Sencha.java:127)
    
    
    airrob:theme-demo-app galien$ ../../../bin/Sencha/Cmd/3.1.2.342/sencha generate theme my-custom-theme
    [ERR] null
         at com.sencha.command.environment.WorkspaceEnvironment.extractPackage(WorkspaceEnvironment.java:176)
         at com.sencha.command.environment.WorkspaceEnvironment.getPackageEnvironment(WorkspaceEnvironment.java:196)
         at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageEnvironment(AppOrPackageEnvironment.java:245)
         at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageEnvironments(AppOrPackageEnvironment.java:255)
         at com.sencha.command.environment.AppOrPackageEnvironment.getThemePackageNames(AppOrPackageEnvironment.java:266)
         at com.sencha.command.environment.AppEnvironment.<init>(AppEnvironment.java:54)
         at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:193)
         at com.sencha.command.Sencha.loadBuildEnvironment(Sencha.java:374)
         at com.sencha.command.Sencha.main(Sencha.java:127)
    someone have a suggestion?

    greetings Rob

  2. #2
    Sencha User
    Join Date
    May 2013
    Posts
    1
    Vote Rating
    0
    nicebeat is on a distinguished road

      0  

    Default


    I have the same problem... :\

  3. #3
    Sencha User
    Join Date
    Jul 2013
    Posts
    1
    Vote Rating
    0
    jannolii is on a distinguished road

      0  

    Default same problem on OS X 10.8

    same problem on OS X 10.8


    I'm on OS X 10.8.4 and have a same problem when generating new ExtJS app with command:

    Code:
    # sencha -sdk /path/to/SDK/ generate app MyApp /path/to/MyApp
    I get the same error as described above.

    OS X 10.8.4
    Sencha Cmd v3.1.2.342
    ExtJS v4.2.0.663

    Could someone help with that? As I haven't been able to successfully use Sencha Cmd to generate app I don't have a reference point what in app structure has been generated and what not .... but it seems that resources folder is completely empty and this prevents running the generated app.

  4. #4
    Sencha User
    Join Date
    Jul 2013
    Posts
    1
    Vote Rating
    0
    jtwing is on a distinguished road

      0  

    Default having same issue, same versions -- please fix

    having same issue, same versions -- please fix


    Attempting to use custom theme in theme example is producing same issues as described above. Any ETA on when a fix / patch will become available?

  5. #5
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    58
    Vote Rating
    1
    zzhouag is on a distinguished road

      0  

    Default


    I have the same problem, but now solved through the way in the post:

    http://www.sencha.com/forum/showthre...l=1#post988789

    hope it is helpful for u.

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