Results 1 to 2 of 2

Thread: BUILD FAILED com.sencha.exceptions.ExBuild: java.lang.NullPointerException

  1. #1
    Ext JS Premium Member
    Join Date
    Aug 2010

    Exclamation BUILD FAILED com.sencha.exceptions.ExBuild: java.lang.NullPointerException

    Hi there,

    it has been a very frustrating day with getting Sencha CMD to function....

    I am using:

    OS X 10.8.1
    Sencha CMD
    Ext Js 4.1.1a

    What I did is creating an app skeleton with sencha generate app and then migrated that into my exisiting application... I ran thru it many many times and can not find a missmatch

    Is it also true that the app.json file is not even used by ext js? why is it then generated and how can you decide wheter you want to generate a ST or ext app with the sencha geenrate app command? I dont see a flag in the docs or in the console help instructions.

    I get the following error:

    PHP Code:
    [ERROR]        Error executing page compilation null[ERROR]        BUILD FAILEDcom.sencha.exceptions.ExBuildjava.lang.NullPointerException    at com.sencha.command.compile.CompileCommands$PageCommand.execute(    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(    at sun.reflect.DelegatingMethodAccessorImpl.invoke(    at java.lang.reflect.Method.invoke(    at com.sencha.cli.Command.dispatch(    at com.sencha.cli.Commands.dispatch(    at com.sencha.cli.Commands.dispatch(    at com.sencha.cli.AbstractCommand.dispatch(    at com.sencha.ant.SenchaCommandTask.doExecute(    at com.sencha.ant.BaseAntTask.execute(    at    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(    at java.lang.reflect.Method.invoke(    at    at    at    at    at    at    at    at    at    at    at com.sencha.command.BasePluginCommands$    at com.sencha.command.BasePluginCommands$    at$BuildCommand.execute(    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(    at sun.reflect.DelegatingMethodAccessorImpl.invoke(    at java.lang.reflect.Method.invoke(    at com.sencha.cli.Command.dispatch(    at com.sencha.cli.Commands.dispatch(    at com.sencha.cli.Commands.dispatch(    at com.sencha.cli.AbstractCommand.dispatch(    at com.sencha.command.Sencha.main( byjava.lang.NullPointerException    at    at    at    at    at    at    at    at com.sencha.command.compile.CompileCommands.getCache(    at com.sencha.command.compile.CompileCommands.getCache(    at com.sencha.command.compile.CompileCommands$PageCommand.execute(    ... 36 moreTotal time15 seconds[ERROR]        com.sencha.exceptions.BasicExceptioncom.sencha.exceptions.ExBuildjava.lang.NullPointerException 
    Thanks a lot for any help


    Last edited by mikih; 25 Sep 2012 at 6:12 AM. Reason: added env specs

  2. #2
    Ext JS Premium Member
    Join Date
    Aug 2010


    It was a loading issue... I had Models in my App from testing sencha generate model

Posting Permissions

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