Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've been trying to solve this problem for a few weeks now and it just occured to me, I might be asking the wrong question.

I am learning and developing building Sencha Touch 2 applications on my Ubuntu web server. You need an utility called Sencha CMD, which utilizes Java, to execute specific commands in the build process.

The problem is after creating a few applications, I got the following error:

> Sencha Cmd v4.0.1.4
>         [INF] Workspace does not have framework touch at /var/www ... copying
>     [ERR] java.lang.NullPointerException
>          at com.sencha.util.Version.<init>(Version.java:36)
>          at com.sencha.command.generator.GeneratorCommands$WorkspaceCommand.getParameters(GeneratorCommands.java:130)
>          at com.sencha.command.BasePluginCommands$BasePluginCommand.doExecute(BasePluginCommands.java:23)
>          at com.sencha.command.generator.GeneratorCommands$WorkspaceCommand.execute(GeneratorCommands.java:89)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:622)
>          at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
>          at com.sencha.cli.Command.dispatch(Command.java:42)
>          at com.sencha.cli.Commands.dispatch(Commands.java:64)
>          at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:124)
>          at com.sencha.command.generator.GeneratorCommands$AppCommand.generateWorkspace(GeneratorCommands.java:397)
>          at com.sencha.command.generator.GeneratorCommands$AppCommand.execute(GeneratorCommands.java:240)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:622)
>          at com.sencha.util.MethodInvoker$Arguments.invoke(MethodInvoker.java:175)
>          at com.sencha.cli.Command.dispatch(Command.java:42)
>          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:148)

My java version is as follows:

java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.10.4)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

And I'm working with Sencha Touch 2 and Sencha Cmd 4.0.2.67

I've been thinking it's a Sencha issue but is it possible this have little or nothing to do with Sencha and more to do with Java? If that's the case, can anyone suggect solutions, please?

share|improve this question
    
to have a relevant answer please edit your question to add relevant information, like full error message java version installed, sencha version used ... –  Kiwy Feb 3 at 14:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.