GithubHelp home page GithubHelp logo

Comments (7)

paulvi avatar paulvi commented on July 26, 2024

cli-tcf-error

from cli.

benoitf avatar benoitf commented on July 26, 2024

Hi,
Could you enable stack trace in your console please ?

codenvy> stack-traces-print
Printing of stacktraces set to true

and then reproduce your step please ?

from cli.

paulvi avatar paulvi commented on July 26, 2024

similar to #102

stack-traces-print also gives NullPointerException

E:\Codenvy\cli>codenvy-cli
                                  _
                                 | |
         _           ___ ___   __| | ___ _ ____   ___   _
 {    ('   )    }   / __/ _ \ / _` |/ _ \ '_ \ \ / / | | |
{{  ('       )  }} | (_| (_) | (_| |  __/ | | \ V /| |_| |
 { (__,__,__,_) }   \___\___/ \__,_|\___|_| |_|\_/  \__, |
                                                     __/ |
                                                    |___/

  Codenvy CLI (2.2.0-SNAPSHOT)
  http://www.codenvy.com

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'exit' to exit Codenvy CLI

codenvy> ERROR: Bundle com.codenvy.cli.command [63] Error starting mvn:com.codenvy.cli/cli-command/2.2.0-SNAPSHOT (org.osg
ommand [63]: Unable to resolve 63.0: missing requirement [63.0] osgi.wiring.package; (&(osgi.wiring.package=com.codenvy.cl
ve 64.0: missing requirement [64.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))])
org.osgi.framework.BundleException: Unresolved constraint in bundle com.codenvy.cli.command [63]: Unable to resolve 63.0:
envy.cli.preferences)(version>=2.2.0)(!(version>=3.0.0))) [caused by: Unable to resolve 64.0: missing requirement [64.0] o
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)
ERROR: Bundle com.codenvy.cli.preferences-impl [64] Error starting mvn:com.codenvy.cli/cli-preferences-impl/2.2.0-SNAPSHOT
nvy.cli.preferences-impl [64]: Unable to resolve 64.0: missing requirement [64.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7)
org.osgi.framework.BundleException: Unresolved constraint in bundle com.codenvy.cli.preferences-impl [64]: Unable to resol
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)

codenvy>
codenvy> stack-traces-print
Error executing command: java.lang.NullPointerException
codenvy> help
Error executing command: java.lang.NullPointerException
codenvy>


from cli.

benoitf avatar benoitf commented on July 26, 2024

Could you print the Java version that you're using ?

from cli.

paulvi avatar paulvi commented on July 26, 2024
E:\Codenvy\cli>java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

from cli.

benoitf avatar benoitf commented on July 26, 2024

Thanks Paul

FYI the master branch is now including Karaf version 3.0.2 which is now compliant to JDK 8

Could you try to use cli on the master branch please ?
If you don't want to recompile you may use binaries from Nexus repository:
http://maven.codenvycorp.com/content/repositories/public/com/codenvy/cli/cli-assembly/2.2.0-SNAPSHOT/

from cli.

paulvi avatar paulvi commented on July 26, 2024

similar to #103 was Java 8 issue

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.