PDA

View Full Version : Cannot build the example apps



cyankhan22
4 Oct 2015, 6:56 AM
Hi All ,

I am trying to build the examples from Sencha touch 2.4.2 but all of them fail. This is what I have tried

cd to the example directory then type

sencha app upgrade - path to touch framework

sencha app build : I get the following error with debug



ocongress$ sencha --debug build appSencha Cmd v6.0.0.202
[DBG] Loading CommandProviders
[DBG] Scanning extensions directory /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/cmd-packager for extensions
[DBG] Scanning extensions directory /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-licenses for extensions
[DBG] Scanning extensions directory /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-fashion for extensions
[DBG] Located /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-fashion/sencha-fashion.jar
[DBG] loading manifest for jar /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-fashion/sencha-fashion.jar
[DBG] Add extension classpath entry 'sencha-fashion' : jar:file:/home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-fashion/sencha-fashion.jar!/
[DBG] Scanning extensions directory /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-service for extensions
[DBG] Located /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-service/sencha-service.jar
[DBG] loading manifest for jar /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-service/sencha-service.jar
[DBG] Add extension classpath entry 'sencha-service' : jar:file:/home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-service/sencha-service.jar!/
[DBG] Scanning extensions directory /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-compass for extensions
[DBG] Located /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-compass/sencha-compass.jar
[DBG] loading manifest for jar /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-compass/sencha-compass.jar
[DBG] Add extension classpath entry 'sencha-compass' : jar:file:/home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-compass/sencha-compass.jar!/
[DBG] adding service server extension commands for sencha
[DBG] extending 'sencha' with command 'com.sencha.command.rpc.SerivceCommands'
[DBG] Scanning for plugins in folder: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/cmd-packager
[DBG] Loading plugin: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/cmd-packager/cmd-packager.plugin.xml
[DBG] Scanning for plugins in folder: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-licenses
[DBG] Loading plugin: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-licenses/sencha-licenses.plugin.xml
[DBG] Scanning for plugins in folder: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-fashion
[DBG] Loading plugin: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-fashion/fashion.plugin.xml
[DBG] Scanning for plugins in folder: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-service
[DBG] Scanning for plugins in folder: /home/siyanat/bin/Sencha/Cmd/6.0.0.202/extensions/sencha-compass
[ERR] java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at com.sencha.util.FileUtil.readFile(FileUtil.java:157)
at com.sencha.tools.compiler.jsb.projects.JsbBuilder.processBuild(JsbBuilder.java:29)
at com.sencha.command.build.JsbCommand.execute(JsbCommand.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
at com.sencha.cli.Command.dispatch(Command.java:43)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.UnixLauncher.main(Unknown Source)




I am running this on ubuntu 14.04 64 bit
my java version is as follows


java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)




I have built a sample app myself which worked , but these example apps are causing problems.
Please suggest.

Thanks

joel.watson
5 Oct 2015, 1:58 PM
Hi--

Do you have the compass extensions installed with Sencha Cmd 6.0.0.202?

Thanks!
Joel