<p dir="ltr">If I read your email correctly you&#39;re saying cloning a non-bare repository works ok provided it has a unique name?</p>
<p dir="ltr">However we should better (a) document a repository cannot be bare if it is to be cloned into the workbench and (b) validate names of new or cloned repositories. </p>
<p dir="ltr">If I understand correctly then yes please raise a JIRA for Guvnor.</p>
<p dir="ltr">Thanks,</p>
<p dir="ltr">Mike</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 11 Jun 2014 21:28, &quot;Parham, Clinton&quot; &lt;<a href="mailto:cparham@biosignia.com">cparham@biosignia.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Michael,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Ok, some progress.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Here’s what I’ve found:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">If I first try cloning a bare repo (say I call it “test”), it fails with “Can&#39;t clone repository. java.util.NoSuchElementException”. So I assume nothing happened…
 but at the file system level I see the “test” repo in the drools/brms git folder. It doesn’t show in the BusinessCentral/Guvnor repo list.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">If I then try again to clone, using “test” (because I don’t know of the conflict) but pull from a populated repo, it still fails with “Can&#39;t clone repository.
 java.util.NoSuchElementException”. But this is because “test” actually exists at the file system level. If I change my Repo Name to something that doesn’t exist in the git folder, it clones just fine.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Sounds like a bug that should be reported, yes?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<b>On Behalf Of </b>Michael Anstis<br>
<b>Sent:</b> Wednesday, June 11, 2014 2:07 PM<br>
<b>To:</b> Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Can&#39;t clone repository NoSuchElementException<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p>Have you tried a non-bare repo? (I don&#39;t know if this will solve the issue but IIRC we normally use non-bare when testing).<u></u><u></u></p>
<p>Sent on the move<u></u><u></u></p>
<div>
<p class="MsoNormal">On 11 Jun 2014 03:46, &quot;Parham, Clinton&quot; &lt;<a href="mailto:cparham@biosignia.com" target="_blank">cparham@biosignia.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I have Drools 6.0.1 installed on RedHat Linux 5 and running under JBoss EAP 6.1.1.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I would like to clone from a local git server running on the same server. But when I do so, I get a “Can&#39;t clone repository. java.util.NoSuchElementException” message in the browser.
 There are no errors in the server.log<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Why doesn’t this work?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Here’s how I’m running the git daemon:<u></u><u></u></p>
<p class="MsoNormal">$ git daemon --verbose --export-all --port=9419 --base-path=/home/brms/git/<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">URL I enter into the Clone Repository dialog:<u></u><u></u></p>
<p class="MsoNormal">git://localhost:9419/test.git<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">This is how I setup my repo:<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">$ cd /home/brms/git/<u></u><u></u></p>
<p class="MsoNormal">$ mkdir test.git<u></u><u></u></p>
<p class="MsoNormal">$ cd test.git/<u></u><u></u></p>
<p class="MsoNormal">$ git init --bare<u></u><u></u></p>
<p class="MsoNormal">Initialized empty Git repository in /home/brms/git/test.git/<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Clint<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<table border="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p><span style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray">The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing
 or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message.<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><u></u><u></u></p>
</div>
</div>
<hr>
<table style="width:100%">
<tbody>
<tr>
<td>
<p style="font-family:Arial,Helvetica,sans-serif;font-size:xx-small;color:#808080">
The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received
 this email in error, please notify the sender immediately and delete this message.</p>
</td>
</tr>
</tbody>
</table>
</div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div>