Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12301

OpenShift server adapter fails to publish recreated project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 3.3.2.Final, 4.0.0.Alpha2
    • 3.3.0.Final
    • openshift
    • None
    • Hide
      • ASSERT: You have OpenShift account
      • EXEC: Create an application in workspace, or import from JBoss Central (I used springmvc)
      • EXEC: Deploy the application to openshift (as springmvc)
        • Open OpenShift wizard, create new app, use existing project - springmvc
      • EXEC: Publish to OpenShift via server adapter (springmvc OpenShift Server Adapter)
      • EXEC: Delete all resources except the server adapter (application on openshift + project in workspace with 'delete project contents on disk' checked)
      • EXEC: Re-create the application (import springmvc from JBoss Central again)
      • EXEC: Deploy to openshift again (as springmvc)
      • EXEC: Publish with the newly created adapter (springmvc OpenShift Server (1)) -> Failure
      • RESULT:
        An internal Exception occurred during push: ssh://c7a8ce9bdf024b76ae7b6f78ac7aa0e2@springmvc-rhdomain.rhcloud.com/~/git/springmvc.git/: Missing tree de7df63a451e9d9c83ca2d2d926e9879063dc1ac
      Show
      ASSERT: You have OpenShift account EXEC: Create an application in workspace, or import from JBoss Central (I used springmvc) EXEC: Deploy the application to openshift (as springmvc) Open OpenShift wizard, create new app, use existing project - springmvc EXEC: Publish to OpenShift via server adapter ( springmvc OpenShift Server Adapter ) EXEC: Delete all resources except the server adapter (application on openshift + project in workspace with 'delete project contents on disk' checked) EXEC: Re-create the application (import springmvc from JBoss Central again) EXEC: Deploy to openshift again (as springmvc) EXEC: Publish with the newly created adapter ( springmvc OpenShift Server (1) ) -> Failure RESULT: An internal Exception occurred during push: ssh: //c7a8ce9bdf024b76ae7b6f78ac7aa0e2@springmvc-rhdomain.rhcloud.com/~/git/springmvc.git/: Missing tree de7df63a451e9d9c83ca2d2d926e9879063dc1ac

    Description

      Error log:

      An exception occurred during push on URI ssh://c7a8ce9bdf024b76ae7b6f78ac7aa0e2@springmvc-rhdomain.rhcloud.com/~/git/springmvc.git/: An internal Exception occurred during push: ssh://c7a8ce9bdf024b76ae7b6f78ac7aa0e2@springmvc-rhdomain.rhcloud.com/~/git/springmvc.git/: Missing tree de7df63a451e9d9c83ca2d2d926e9879063dc1ac
      

      Stack trace:

      org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of push command
      	at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:156)
      	at org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:194)
      	at org.jboss.tools.openshift.egit.core.EGitUtils.push(EGitUtils.java:429)
      	at org.jboss.tools.openshift.egit.core.EGitUtils.push(EGitUtils.java:412)
      	at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressPublishMethod.commitAndPushProject(ExpressPublishMethod.java:220)
      	at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressPublishMethod.publishFinish(ExpressPublishMethod.java:80)
      	at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishFinish(DeployableServerBehavior.java:94)
      	at org.jboss.ide.eclipse.as.core.server.internal.DelegatingServerBehavior.publishFinish(DelegatingServerBehavior.java:147)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:974)
      	at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressBehaviour.publish(ExpressBehaviour.java:27)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      	at org.jboss.tools.openshift.express.internal.core.behaviour.ExpressBehaviour.publish(ExpressBehaviour.java:34)
      	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3087)
      	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: org.eclipse.jgit.errors.TransportException: ssh://c7a8ce9bdf024b76ae7b6f78ac7aa0e2@springmvc-rhdomain.rhcloud.com/~/git/springmvc.git/: Missing tree de7df63a451e9d9c83ca2d2d926e9879063dc1ac
      	at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:186)
      	at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:126)
      	at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:141)
      	at org.eclipse.jgit.transport.Transport.push(Transport.java:1120)
      	at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:152)
      	... 14 more
      Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing tree de7df63a451e9d9c83ca2d2d926e9879063dc1ac
      	at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:126)
      	at org.eclipse.jgit.revwalk.ObjectWalk.newTreeVisit(ObjectWalk.java:726)
      	at org.eclipse.jgit.revwalk.ObjectWalk.nextObject(ObjectWalk.java:378)
      	at org.eclipse.jgit.storage.pack.PackWriter.findObjectsToPack(PackWriter.java:1706)
      	at org.eclipse.jgit.storage.pack.PackWriter.preparePack(PackWriter.java:707)
      	at org.eclipse.jgit.storage.pack.PackWriter.preparePack(PackWriter.java:670)
      	at org.eclipse.jgit.transport.BasePackPushConnection.writePack(BasePackPushConnection.java:265)
      	at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:168)
      	... 18 more
      

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: