PDA

View Full Version : Upgrade from Ext 6 beta to Ext 6 commercial crashes



delusion
5 Aug 2015, 10:18 AM
In my application directory I run sencha app upgrade <path to Ext 6.0.0 commercial sdk>

this is the output i get

Sencha Cmd v6.0.0.202[INF] Loading configuration for framework directory: /home/sps/html/javascript/ext-6.0.0c


[ERR] null
[ERR] A crash log is available in the file "sencha-error-20150805-4.log" please contact Sencha Support and share this file with us.




in the crash log file I see a java Exception


Exception information:=======================
java.lang.NullPointerException
at com.sencha.util.Version.<init>(Version.java:46)
at com.sencha.tools.pkg.Model$Package.<init>(Model.java:868)
at com.sencha.tools.pkg.Model$Package.load(Model.java:854)
at com.sencha.tools.pkg.Model$Package.load(Model.java:847)
at com.sencha.command.environment.PackageEnvironment.loadModel(PackageEnvironment.java:276)
at com.sencha.command.environment.PackageEnvironment.getPackageModel(PackageEnvironment.java:268)
at com.sencha.command.environment.PackageEnvironment.getModel(PackageEnvironment.java:303)
at com.sencha.command.environment.PackageEnvironment.<init>(PackageEnvironment.java:40)
at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:108)
at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:128)
at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:74)
at com.sencha.command.environment.BuildEnvironment.load(BuildEnvironment.java:80)
at com.sencha.command.app.AppCommands$UpgradeCommand.execute(AppCommands.java:632)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
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:201)
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:73)
at com.sencha.command.Sencha.main(Sencha.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.UnixLauncher.main(Unknown Source)





Is this a known problem? I haven't had any other problems with cmd 6. the app builds without any issues. I would just like to upgrade it to the commercial sdk

delusion
5 Aug 2015, 12:50 PM
I think I discovered the problem. Apparently when i extracted the sdk from the zip file, it didn't extract all files properly. Very curious indeed. Anyways I re-extracted and ran the sencha app upgrade again and everything is working as expected now.