1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    0
    JohnM_ is on a distinguished road

      0  

    Default Migration to 2.2.0 is driving me crazy. Why? This --> [Err] Null

    Migration to 2.2.0 is driving me crazy. Why? This --> [Err] Null


    I am trying to upgrade from Sench touch 2.0.11 with SDKTools 2.0.0b3 to Touch 2.2.0 and Sencha command 3.1.1.270 on OSX 10.8.2

    It is not going well.

    Setup: I uninstalled the old SDK tools, installed the new command tools, restarted, opened a command window, navigated to the app directory, unzipped the touch-2.2.0 tools to a folder within the app directory, and issued the command

    Code:
    sencha app upgrade /touch-2.2.0
    As per this thread it should work, but what I actually get is:
    Code:
    Sencha Cmd v3.1.1.270
    [INF] Loading configuration for framework directory: /touch-2.2.0
    [ERR] null
    Tried fiddling with the command. Tried 3.1.0.256 instead. Tried SUDO. Checked the console log - nothing instructive in there. Generally flailed around for a while, no progress.

    Any ideas?

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    Pune, India
    Posts
    22
    Vote Rating
    0
    krislogy is on a distinguished road

      0  

    Default Same issue

    Same issue


    I'm having the same issue, and I know I'm missing something very basic here... Any help would be appreciated

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Pune, India
    Posts
    22
    Vote Rating
    0
    krislogy is on a distinguished road

      0  

    Default Debug info

    Debug info


    If it helps...

    Code:
    D:\MyApp>sencha app upgrade D:\touch-2.2.0
    
    Sencha Cmd v3.1.1.270
    [DBG] Loading CommandProviders
    [DBG] Scanning for extensions in C:\Sencha\Cmd\3.1.1.270\extensions
    [DBG] loading extension from C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass
    [DBG] Loaded extension sencha-compass
    [DBG] loading extension from C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io
    [DBG] Loaded extension sencha-io
    [DBG] Scanning extensions directory C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass for extensions
    [DBG] Located C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass\sencha-compass.jar
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass\sencha-compass.jar
    [DBG] get value lib/slf4j-api-1.6.6.jar lib/ant-1.8.4.jar lib/ant-launcher-1.8.4.jar for manifest class path
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass\lib\slf4j-api-1.6.6.jar
    [DBG] Add extension classpath entry 'sencha-compass' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-compass/lib/slf4j-api-1.6.6.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass\lib\ant-1.8.4.jar
    [DBG] Add extension classpath entry 'sencha-compass' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-compass/lib/ant-1.8.4.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-compass\lib\ant-launcher-1.8.4.jar
    [DBG] Add extension classpath entry 'sencha-compass' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-compass/lib/ant-launcher-1.8.4.jar!/
    [DBG] Add extension classpath entry 'sencha-compass' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-compass/sencha-compass.jar!/
    [DBG] Scanning extensions directory C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io for extensions
    [DBG] Located C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\sencha-io.jar
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\sencha-io.jar
    [DBG] get value lib/httpclient-4.2.1.jar lib/commons-logging-1.1.1.jar lib/commons-codec-1.6.jar lib/httpclient-cache-4.2.1.jar lib/httpcore-4.2.1.jar lib/httpmime-4.2.1.jar lib/slf4j-api-1.6.6.jar lib/gson-2.2.1.jar for manifest class path
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\httpclient-4.2.1.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/httpclient-4.2.1.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\commons-logging-1.1.1.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/commons-logging-1.1.1.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\commons-codec-1.6.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/commons-codec-1.6.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\httpclient-cache-4.2.1.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/httpclient-cache-4.2.1.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\httpcore-4.2.1.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/httpcore-4.2.1.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\httpmime-4.2.1.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/httpmime-4.2.1.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\slf4j-api-1.6.6.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/slf4j-api-1.6.6.jar!/
    [DBG] loading manifest for jar C:\Sencha\Cmd\3.1.1.270\extensions\sencha-io\lib\gson-2.2.1.jar
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/lib/gson-2.2.1.jar!/
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/C:/Program Files/Sencha/Cmd/3.1.1.270/extensions/sencha-io/sencha-io.jar!/
    [INF] Loading configuration for framework directory: D:\touch-2.2.0
    [ERR] null
         at com.sencha.exceptions.BasicException.wrap(BasicException.java:44)
         at com.sencha.cli.Command.dispatch(Command.java:64)
         at com.sencha.cli.Commands.dispatch(Commands.java:62)
         at com.sencha.cli.Commands.dispatch(Commands.java:62)
         at com.sencha.command.Sencha.dispatch(Sencha.java:75)
         at com.sencha.command.Sencha.main(Sencha.java:126)
       Caused by: null
         at com.sencha.command.app.AppCommands$UpgradeCommand.execute(AppCommands.ja
    va:235)
         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:174)
         at com.sencha.cli.Command.dispatch(Command.java:42)
         at com.sencha.cli.Commands.dispatch(Commands.java:62)
         at com.sencha.cli.Commands.dispatch(Commands.java:62)
         at com.sencha.command.Sencha.dispatch(Sencha.java:75)
         at com.sencha.command.Sencha.main(Sencha.java:126)
    System info:
    Windows XP SP3
    (uninstalled Sencha SDK Tools 2.2, then installed)
    Sencha Cmd 3.1.1.270
    Compass (NOT installed)

    Additional Info:
    Tried with Sencha 2.2 Beta version also. Same result.

  4. #4
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    10
    Vote Rating
    1
    youdonotexist is on a distinguished road

      0  

    Default


    I had this same exact problem and, for me, it was because I was missing the .sencha folder that is generated the first time you generate an application with Sencha CMD.

    At some point I had moved my Sencha project files to a new directory and, because .sencha is a hidden folder, it didn't get copied over.

    Hope this helps!

    Edit: I'm on OS X, so this may not be your issue. I don't know what Windows does with .filename types (unix hides them).

  5. #5
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    498
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      1  

    Default


    I've found sencha app upgrade is awful. It hasn't worked once for me.

    I always now just generate a new app and then move my files across into the new structure.
    I blog about Sencha Touch at www.senchatouchdev.com

  6. #6
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      1  

    Default


    Quote Originally Posted by shepsii View Post
    I've found sencha app upgrade is awful. It hasn't worked once for me.
    I always now just generate a new app and then move my files across into the new structure.
    Yes, that's only too true! Make sure you have a backup of your project before you do an upgrade...

  7. #7
    Sencha User
    Join Date
    Oct 2011
    Location
    Pune, India
    Posts
    22
    Vote Rating
    0
    krislogy is on a distinguished road

      0  

    Default Yup. Doesn't work!

    Yup. Doesn't work!


    youdonotexist: Thanks for your tip. But I realized that my Sencha 2.0 project was created using Sencha SDK Tools 2.0 Beta 3. So that's why .sencha folder was never even created in it... (because I suppose this folder is created only when projects are created using Sencha Cmd (which apparently is different from Sencha Command or SDK Tools, I read somewhere). Please correct me if I'm wrong).
    And I guess, hence, the upgrade will not work at all from Sencha 2.0.1 to Sencha 2.2.

    So I think I'll have to go with shepsii's solution right now (which actually would've saved a day for me. I wonder why I didn't think of that in the first place. )

    Anyway, but hopefully because I'll be using Sencha Cmd from now on (until forever), further "sencha app upgrade" commands will work smoothly.

    Thanks for the help!

  8. #8
    Sencha User
    Join Date
    Oct 2012
    Posts
    18
    Vote Rating
    0
    JohnM_ is on a distinguished road

      0  

    Default


    Thanks for the input, everyone. In the end, we wound up creating a new project & migrating everything manually.

    As a bonus, we also took the opportunity to build in phonegap 2.5 so that we no longer have to work with the sencha native packaging and get access to better system-level calls. I highly suggest that you do this...

  9. #9
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    42
    Vote Rating
    3
    mbingham is on a distinguished road

      0  

    Default


    I encountered the same failure mode [ERR] null. The output with debug switch falls over at
    Code:
    [DBG] Add extension classpath entry 'sencha-io' : jar:file:/Users/mbingham/Workspace/lib16/cmd-3.1.2.342/extensions/sencha-io/lib/gson-2.2.1.jar!/
    It was due to the presence of .svn metadata folders. I upgraded the Subversion client and checked out using 1.7 which doesn't litter everywhere, then Sencha Cmd worked a treat.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."