Getting Jgit exception in a Job that uses native Git

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting Jgit exception in a Job that uses native Git

Dirk Heinrichs-3

Hi,

 

I'm currently seeing a strange Problem where I get a Jgit exception like:

 

        FATAL: Walk failure.
        org.eclipse.jgit.errors.MissingObjectException: Missing commit <id>
 
in a job that's configured to use native Git. In fact, I'm also getting the usual native Git output above the exception. But why is it using Jgit at all?

 

Any hints?

 

Thanks...

 

                Dirk

 

Dirk Heinrichs

Senior Systems Engineer, Delivery Pipeline

OpenText ™ Discovery | Recommind

Email: [hidden email]

Website: www.recommind.de

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/SN6PR15MB24160B4153FAE23AC5F9396CAAA80%40SN6PR15MB2416.namprd15.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

R: Getting Jgit exception in a Job that uses native Git

Dirk Heinrichs-3
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dirk Heinrichs

> I'm currently seeing a strange problem where I get a Jgit exception like:
>
>         FATAL: Walk failure.
>         org.eclipse.jgit.errors.MissingObjectException: Missing commit <id>
>
> in a job that's configured to use native Git. In fact, I'm also getting the usual native Git output above the exception.
> But why is it using Jgit at all?

Could resolve it by temp. adding a "Wipe out repository & force clone". However, the question remains: Why is it running Jgit at all?

Bye...

        Dirk

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/SN6PR15MB24166A9FA12FA8DD2BD58097AAA80%40SN6PR15MB2416.namprd15.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting Jgit exception in a Job that uses native Git

Brian Ray
Navigate to Manage Jenkins > Global Tool Configuration > Git > Git Installations.

If the only installation configured there is JGit or JGit with Apache HTTP client, that is the answer. The Git installation will probably be what you are looking for.

On Friday, March 23, 2018 at 4:21:32 AM UTC-7, Dirk Heinrichs wrote:
From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="uoXvMdE5CgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="uoXvMdE5CgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com] On Behalf Of Dirk Heinrichs

> I'm currently seeing a strange problem where I get a Jgit exception like:
>
>         FATAL: Walk failure.
>         org.eclipse.jgit.errors.MissingObjectException: Missing commit <id>
>
> in a job that's configured to use native Git. In fact, I'm also getting the usual native Git output above the exception.
> But why is it using Jgit at all?

Could resolve it by temp. adding a "Wipe out repository & force clone". However, the question remains: Why is it running Jgit at all?

Bye...

        Dirk

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d10250e8-4ee2-410f-9d51-5b21c92fadf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting Jgit exception in a Job that uses native Git

Dirk Heinrichs-3

Hi,

 

how could I have selected a native Git installation in the job config if it wasn't in the global config?

 

Bye...

 

                Dirk

 

PS: Sorry for top posting, I'm currently forced to use Outlook.

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Brian Ray
Sent: Freitag, 11. Mai 2018 02:21
To: Jenkins Users <[hidden email]>
Subject: Re: Getting Jgit exception in a Job that uses native Git

 

Navigate to Manage Jenkins > Global Tool Configuration > Git > Git Installations.

If the only installation configured there is JGit or JGit with Apache HTTP client, that is the answer. The Git installation will probably be what you are looking for.

On Friday, March 23, 2018 at 4:21:32 AM UTC-7, Dirk Heinrichs wrote:

From: <a href="javascript:" target="_blank"> jenkins...@... [mailto:<a href="javascript:" target="_blank">jenkins...@...] On Behalf Of Dirk Heinrichs

> I'm currently seeing a strange problem where I get a Jgit exception like:
>
>         FATAL: Walk failure.
>         org.eclipse.jgit.errors.MissingObjectException: Missing commit <id>
>
> in a job that's configured to use native Git. In fact, I'm also getting the usual native Git output above the exception.
> But why is it using Jgit at all?

Could resolve it by temp. adding a "Wipe out repository & force clone". However, the question remains: Why is it running Jgit at all?

Bye...

        Dirk

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d10250e8-4ee2-410f-9d51-5b21c92fadf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/SN6PR15MB24161807EE05BD85D3DC26ACAA9C0%40SN6PR15MB2416.namprd15.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting Jgit exception in a Job that uses native Git

Brian Ray
No problem on top posting. It seems to be the default behavior of the Groups UI here, so I am guilty of it too.

I misunderstood or otherwise skipped right over the "native" modifier in your original post. I wonder if there is some path through the plugin code that utilizes parts of JGit even when the job specifies checkout via the regular Git client. Very strange.

On Monday, May 14, 2018 at 12:18:00 AM UTC-7, Dirk Heinrichs wrote:

Hi,

 

how could I have selected a native Git installation in the job config if it wasn't in the global config?

 

Bye...

 

                Dirk

 

PS: Sorry for top posting, I'm currently forced to use Outlook.

 

 

From: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="VzoE2a8mCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com [mailto:<a href="javascript:" target="_blank" gdf-obfuscated-mailto="VzoE2a8mCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com] On Behalf Of Brian Ray
Sent: Freitag, 11. Mai 2018 02:21
To: Jenkins Users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="VzoE2a8mCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com>
Subject: Re: Getting Jgit exception in a Job that uses native Git

 

Navigate to Manage Jenkins > Global Tool Configuration > Git > Git Installations.

If the only installation configured there is JGit or JGit with Apache HTTP client, that is the answer. The Git installation will probably be what you are looking for.

On Friday, March 23, 2018 at 4:21:32 AM UTC-7, Dirk Heinrichs wrote:

From: [hidden email] [mailto:jenkins...@googlegroups.com] On Behalf Of Dirk Heinrichs

> I'm currently seeing a strange problem where I get a Jgit exception like:
>
>         FATAL: Walk failure.
>         org.eclipse.jgit.errors.MissingObjectException: Missing commit <id>
>
> in a job that's configured to use native Git. In fact, I'm also getting the usual native Git output above the exception.
> But why is it using Jgit at all?

Could resolve it by temp. adding a "Wipe out repository & force clone". However, the question remains: Why is it running Jgit at all?

Bye...

        Dirk

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="VzoE2a8mCAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_d10250e8-2D4ee2-2D410f-2D9d51-2D5b21c92fadf4-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&amp;d=DwMFaQ&amp;c=ZgVRmm3mf2P1-XDAyDsu4A&amp;r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&amp;m=FY-iG0RGKgIoqab_HHYa_loUvzejlGQumW_W_As5UC0&amp;s=2HRIDV50HGIiufhD3Go786-hA9qgDmWN6DFBYUQw74o&amp;e=" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_d10250e8-2D4ee2-2D410f-2D9d51-2D5b21c92fadf4-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter%26d%3DDwMFaQ%26c%3DZgVRmm3mf2P1-XDAyDsu4A%26r%3DTsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI%26m%3DFY-iG0RGKgIoqab_HHYa_loUvzejlGQumW_W_As5UC0%26s%3D2HRIDV50HGIiufhD3Go786-hA9qgDmWN6DFBYUQw74o%26e%3D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHyamPngClNxvmiuY8IXLca44VM8Q&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_d10250e8-2D4ee2-2D410f-2D9d51-2D5b21c92fadf4-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter%26d%3DDwMFaQ%26c%3DZgVRmm3mf2P1-XDAyDsu4A%26r%3DTsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI%26m%3DFY-iG0RGKgIoqab_HHYa_loUvzejlGQumW_W_As5UC0%26s%3D2HRIDV50HGIiufhD3Go786-hA9qgDmWN6DFBYUQw74o%26e%3D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHyamPngClNxvmiuY8IXLca44VM8Q&#39;;return true;"> https://groups.google.com/d/msgid/jenkinsci-users/d10250e8-4ee2-410f-9d51-5b21c92fadf4%40googlegroups.com.
For more options, visit <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&amp;d=DwMFaQ&amp;c=ZgVRmm3mf2P1-XDAyDsu4A&amp;r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&amp;m=FY-iG0RGKgIoqab_HHYa_loUvzejlGQumW_W_As5UC0&amp;s=9_XmUr1S5XQzCRQvYSlp5m9Me0hnbnjbQxQ8_HJe9No&amp;e=" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__groups.google.com_d_optout%26d%3DDwMFaQ%26c%3DZgVRmm3mf2P1-XDAyDsu4A%26r%3DTsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI%26m%3DFY-iG0RGKgIoqab_HHYa_loUvzejlGQumW_W_As5UC0%26s%3D9_XmUr1S5XQzCRQvYSlp5m9Me0hnbnjbQxQ8_HJe9No%26e%3D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHUjWdoaUncgp2lGnjRC90Q-VE2iw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__groups.google.com_d_optout%26d%3DDwMFaQ%26c%3DZgVRmm3mf2P1-XDAyDsu4A%26r%3DTsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI%26m%3DFY-iG0RGKgIoqab_HHYa_loUvzejlGQumW_W_As5UC0%26s%3D9_XmUr1S5XQzCRQvYSlp5m9Me0hnbnjbQxQ8_HJe9No%26e%3D\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHUjWdoaUncgp2lGnjRC90Q-VE2iw&#39;;return true;"> https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c9ff6d70-62d6-4bcc-93be-cdcfdf456a3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.