When I try to generate new classic app using downloaded ExtJS SDK with the following command:
sencha generate app -ext -classic AdminApp ./AdminApp
I got the following NPE:
Code:
java.lang.NullPointerException
     at com.sencha.command.generator.GeneratorCommands$AppCommand.execute(GeneratorCommands.java:498)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
     at com.sencha.cli.Command.dispatch(Command.java:43)
     at com.sencha.command.BasePluginCommands$BasePluginCommand.dispatch(BasePluginCommands.java:289)
     at com.sencha.cli.Commands.dispatch(Commands.java:64)
     at com.sencha.cli.Commands.dispatch(Commands.java:64)
     at com.sencha.command.Sencha.dispatch(Sencha.java:80)
     at com.sencha.command.Sencha.main(Sencha.java:151)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
     at com.exe4j.runtime.WinLauncher.main(Unknown Source)
     at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
I've downloaded latest version of ExtJS (7.0.0.156), Cmd (7.0.0.40). Also I've added the following two lines in sencha.cfg (in Cmd installation folder) in order to use downloaded files when generating my app:
Code:
framework.dir=C:/Web/Sencha/ext-7.0.0
framework.key=ext
Diagnostic info from error.log:
Code:
Sencha Cmd 7.0.0.40 - Crash report
================================================
An error occurred while executing the following command: generate app -ext -classic AdminApp ./AdminApp


Diagnostic information:
=======================
                    buildenvironment.dir : C:\Projects\hg\admin                              
               buildenvironment.load.dir : C:\Projects\hg\admin                              
                          cmd.config.dir : C:\Web\Sencha\Cmd\7.0.0.40                        
                                 cmd.dir : C:\Web\Sencha\Cmd\7.0.0.40                        
              cmd.merge.tool.args.araxis : -wait -merge -3 -a1 {base} {user} {generated} {out}
              cmd.merge.tool.args.kdiff3 : {base} {user} {generated} -o {out}                
             cmd.merge.tool.args.p4merge : {base} {user} {generated} {out}                   
           cmd.merge.tool.args.smartsync : {user} {generated} {base}                         
          cmd.merge.tool.args.sourcegear : --merge --result={out} {user} {base} {generated}  
            cmd.merge.tool.args.tortoise : -base:{base} -theirs:{generated} -mine:{user} -merged:{out}
                              cmd.minver : 3.0.0.0                                           
                            cmd.platform : windows                                           
                     cmd.unicode.escapes : C:\Web\Sencha\Cmd\7.0.0.40/unicode-escapes.json   
                             cmd.version : 7.0.0.40                                          
                            cmd.web.port : 1841                                              
                           framework.dir : C:/Web/Sencha/ext-7.0.0                           
                           framework.key : ext                                               
                          framework.path : ../ext                                            
                       inspector.address : http://localhost:1839/                            
                          repo.local.dir : C:\Web\Sencha\Cmd\repo                            
                       shared.sencha.dir : true                                              
        system.java.net.useSystemProxies : true                                              
                     workspace.build.dir : C:\Projects\hg\admin/build                        
                    workspace.config.dir : C:\Web\Sencha\Cmd\7.0.0.40\ant\build\workspace    
                           workspace.dir : C:\Projects\hg\admin                              
           workspace.frameworks.ext.path : C:\Projects\hg\admin\ext                          
        workspace.frameworks.ext.version : 7.0.0.156                                         
                     workspace.json.path : C:\Projects\hg\admin                              
                  workspace.packages.dir : C:\Projects\hg\admin/packages/local,C:\Projects\hg\admin/packages
              workspace.packages.extract : C:\Projects\hg\admin/packages/remote
I'll be glad to hear any ideas...