1. #1
    Sencha User
    Join Date
    Sep 2015
    Posts
    1
    Vote Rating
    0
    cyankhan22 is on a distinguished road

      0  

    Default Cannot build the example apps

    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

    Code:
    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
    Code:
    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

  2. #2
    Sencha - Support Team joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    2,974
    Vote Rating
    162
    joel.watson is a splendid one to behold joel.watson is a splendid one to behold joel.watson is a splendid one to behold joel.watson is a splendid one to behold joel.watson is a splendid one to behold joel.watson is a splendid one to behold joel.watson is a splendid one to behold joel.watson is a splendid one to behold

      0  

    Default

    Hi--

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

    Thanks!
    Joel

Similar Threads

  1. Build for multi page apps
    By reanvdm in forum Sencha Cmd
    Replies: 3
    Last Post: 27 Aug 2014, 5:20 AM
  2. How do yo build Apps ?
    By mraptor in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 17 Jan 2008, 5:45 PM
  3. Build Linux Apps with ExtJS?
    By xwisdom in forum Community Discussion
    Replies: 6
    Last Post: 22 Aug 2007, 9:01 AM

Thread Participants: 1