java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport

Jenkins JIRA | Juergen Hoffmann | 1 year ago
  1. 0

    Gestartet durch Benutzer Jenkins Administrator Baue in Arbeitsbereich /var/lib/jenkins/jobs/openshift-djangi-dev/workspace > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git@bitbucket.org:spagop/djangi-p2p.git # timeout=10 Fetching upstream changes from git@bitbucket.org:spagop/djangi-p2p.git > /usr/bin/git --version # timeout=10 > /usr/bin/git -c core.askpass=true fetch --tags --progress git@bitbucket.org:spagop/djangi-p2p.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision ea219b98271d19988145707b0bd2f86e78df8680 (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f ea219b98271d19988145707b0bd2f86e78df8680 > /usr/bin/git rev-list ea219b98271d19988145707b0bd2f86e78df8680 # timeout=10 Parsing POMs Established TCP socket on 52817 [workspace] $ /usr/java/jdk1.7.0_45/bin/java -Xmx512m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.7.jar:/usr/maven/maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/maven/maven-3.0.4 /var/cache/jenkins/war/WEB-INF/lib/remoting-2.52.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.7.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 52817 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/pom.xml -P djangi-production clean package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] djangi-p2p [INFO] DJANGI Web - Web and user interface [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building djangi-p2p 1.0.0-BETA6 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ djangi-p2p --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building DJANGI Web - Web and user interface 1.0.0-BETA6 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ djangi-web --- [INFO] Deleting /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ djangi-web --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] Copying 10 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ djangi-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 238 source files to /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/classes [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/security/JpaIdentityStore.java: /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/security/JpaIdentityStore.java uses or overrides a deprecated API. [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/security/JpaIdentityStore.java: Recompile with -Xlint:deprecation for details. [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/datamodel/user/UserAccount.java: Some input files use unchecked or unsafe operations. [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/datamodel/user/UserAccount.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ djangi-web --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ djangi-web --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ djangi-web --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:2.4:war (default-war) @ djangi-web --- [INFO] Packaging webapp [INFO] Assembling webapp [djangi-web] in [/var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/webapp] [INFO] Processing overlay [ id com.djangi.web:djangi-theme] [INFO] Webapp assembled in [438 msecs] [INFO] Building war: /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6.war [INFO] Packaging classes [INFO] Building jar: /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6-classes.jar [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] djangi-p2p ........................................ SUCCESS [0.796s] [INFO] DJANGI Web - Web and user interface ............... SUCCESS [19.645s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.150s [INFO] Finished at: Mon Oct 19 01:54:22 CEST 2015 [INFO] Final Memory: 23M/226M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "djangi-production" could not be activated because it does not exist. Warte bis Jenkins die Datensammlung abgeschlossen hat [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/pom.xml to com.djangi/djangi-p2p/1.0.0-BETA6/djangi-p2p-1.0.0-BETA6.pom [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/pom.xml to com.djangi.web/djangi-web/1.0.0-BETA6/djangi-web-1.0.0-BETA6.pom [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6.war to com.djangi.web/djangi-web/1.0.0-BETA6/djangi-web-1.0.0-BETA6.war [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6-classes.jar to com.djangi.web/djangi-web/1.0.0-BETA6/djangi-web-1.0.0-BETA6-classes.jar channel stopped [OPENSHIFT] Application 'app' [http://app-djangidev.rhcloud.com/] is deleted. [OPENSHIFT] Deployments found: [/var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6.war] [OPENSHIFT] Deploying to OpenShift at http://openshift.redhat.com. Be patient! It might take a minute... [OPENSHIFT] Cloning 'app' [ssh://5624315589f5cfe7e40000f9@app-djangidev.rhcloud.com/~/git/app.git/] to /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/openshift-deployer-workdir/git FATAL: Could not initialize class org.eclipse.jgit.transport.Transport java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.jenkinsci.plugins.openshift.GitClient.deploy(GitClient.java:103) at org.jenkinsci.plugins.openshift.DeployApplication.doGitDeploy(DeployApplication.java:233) at org.jenkinsci.plugins.openshift.DeployApplication.deploy(DeployApplication.java:172) at org.jenkinsci.plugins.openshift.DeployApplication.perform(DeployApplication.java:137) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:919) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:870) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Finished: FAILURE

    Jenkins JIRA | 1 year ago | Juergen Hoffmann
    java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport
  2. 0

    Gestartet durch Benutzer Jenkins Administrator Baue in Arbeitsbereich /var/lib/jenkins/jobs/openshift-djangi-dev/workspace > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git@bitbucket.org:spagop/djangi-p2p.git # timeout=10 Fetching upstream changes from git@bitbucket.org:spagop/djangi-p2p.git > /usr/bin/git --version # timeout=10 > /usr/bin/git -c core.askpass=true fetch --tags --progress git@bitbucket.org:spagop/djangi-p2p.git +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision ea219b98271d19988145707b0bd2f86e78df8680 (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f ea219b98271d19988145707b0bd2f86e78df8680 > /usr/bin/git rev-list ea219b98271d19988145707b0bd2f86e78df8680 # timeout=10 Parsing POMs Established TCP socket on 52817 [workspace] $ /usr/java/jdk1.7.0_45/bin/java -Xmx512m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.7.jar:/usr/maven/maven-3.0.4/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/maven/maven-3.0.4 /var/cache/jenkins/war/WEB-INF/lib/remoting-2.52.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.7.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.7.jar 52817 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/pom.xml -P djangi-production clean package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] djangi-p2p [INFO] DJANGI Web - Web and user interface [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building djangi-p2p 1.0.0-BETA6 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ djangi-p2p --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building DJANGI Web - Web and user interface 1.0.0-BETA6 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ djangi-web --- [INFO] Deleting /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ djangi-web --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] Copying 10 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ djangi-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 238 source files to /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/classes [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/security/JpaIdentityStore.java: /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/security/JpaIdentityStore.java uses or overrides a deprecated API. [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/security/JpaIdentityStore.java: Recompile with -Xlint:deprecation for details. [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/datamodel/user/UserAccount.java: Some input files use unchecked or unsafe operations. [WARNING] /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/java/com/djangi/datamodel/user/UserAccount.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ djangi-web --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ djangi-web --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ djangi-web --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:2.4:war (default-war) @ djangi-web --- [INFO] Packaging webapp [INFO] Assembling webapp [djangi-web] in [/var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/src/main/webapp] [INFO] Processing overlay [ id com.djangi.web:djangi-theme] [INFO] Webapp assembled in [438 msecs] [INFO] Building war: /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6.war [INFO] Packaging classes [INFO] Building jar: /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6-classes.jar [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] djangi-p2p ........................................ SUCCESS [0.796s] [INFO] DJANGI Web - Web and user interface ............... SUCCESS [19.645s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.150s [INFO] Finished at: Mon Oct 19 01:54:22 CEST 2015 [INFO] Final Memory: 23M/226M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "djangi-production" could not be activated because it does not exist. Warte bis Jenkins die Datensammlung abgeschlossen hat [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/pom.xml to com.djangi/djangi-p2p/1.0.0-BETA6/djangi-p2p-1.0.0-BETA6.pom [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/pom.xml to com.djangi.web/djangi-web/1.0.0-BETA6/djangi-web-1.0.0-BETA6.pom [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6.war to com.djangi.web/djangi-web/1.0.0-BETA6/djangi-web-1.0.0-BETA6.war [JENKINS] Archiving /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6-classes.jar to com.djangi.web/djangi-web/1.0.0-BETA6/djangi-web-1.0.0-BETA6-classes.jar channel stopped [OPENSHIFT] Application 'app' [http://app-djangidev.rhcloud.com/] is deleted. [OPENSHIFT] Deployments found: [/var/lib/jenkins/jobs/openshift-djangi-dev/workspace/djangi-web/target/djangi-web-1.0.0-BETA6.war] [OPENSHIFT] Deploying to OpenShift at http://openshift.redhat.com. Be patient! It might take a minute... [OPENSHIFT] Cloning 'app' [ssh://5624315589f5cfe7e40000f9@app-djangidev.rhcloud.com/~/git/app.git/] to /var/lib/jenkins/jobs/openshift-djangi-dev/workspace/openshift-deployer-workdir/git FATAL: Could not initialize class org.eclipse.jgit.transport.Transport java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120) at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) at org.jenkinsci.plugins.openshift.GitClient.deploy(GitClient.java:103) at org.jenkinsci.plugins.openshift.DeployApplication.doGitDeploy(DeployApplication.java:233) at org.jenkinsci.plugins.openshift.DeployApplication.deploy(DeployApplication.java:172) at org.jenkinsci.plugins.openshift.DeployApplication.perform(DeployApplication.java:137) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:919) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:870) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Finished: FAILURE

    Jenkins JIRA | 1 year ago | Juergen Hoffmann
    java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.transport.Transport
  3. 0

    JSchException while using Jgit api

    Stack Overflow | 3 years ago | pink panther
    java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException at org.eclipse.jgit.transport.Transport.&lt;clinit&gt;(Transport.java:112)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to build TensorFlow using installers 0.1.1-3

    GitHub | 11 months ago | zer0n
    java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
  6. 0

    GitHub comment 772#173368131

    GitHub | 11 months ago | zer0n
    java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.eclipse.jgit.transport.Transport

      at org.eclipse.jgit.api.FetchCommand.call()
    2. JGit - Core
      CloneCommand.call
      1. org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:120)
      2. org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
      3. org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
      3 frames
    3. org.jenkinsci.plugins
      DeployApplication.perform
      1. org.jenkinsci.plugins.openshift.GitClient.deploy(GitClient.java:103)
      2. org.jenkinsci.plugins.openshift.DeployApplication.doGitDeploy(DeployApplication.java:233)
      3. org.jenkinsci.plugins.openshift.DeployApplication.deploy(DeployApplication.java:172)
      4. org.jenkinsci.plugins.openshift.DeployApplication.perform(DeployApplication.java:137)
      4 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.perform
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      2 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:919)
      2. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:870)
      2 frames
    6. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      2. hudson.model.Run.execute(Run.java:1741)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:408)
      2 frames