youngmon/atlassian-qna huggingface dataset:
"GenericJDBCException - Cannot open connection" for all active users. Database corruption results in FECRU outage.
Asked by Charlton Port:

A database exception results from normal user login and app-access (People or Reviews access.) FECRU becomes unusable for _all_ users.

Appears to be related to malformed/unavailable LDAP attribute: (real user names changed to 'xuser' and 'yuser')

==SNIP atlassian-fisheye.log

WARN btpool0-758 fisheye LDAPAuth-extract - Could not find the attribute 'mail' in LDAP

...

ERROR ThreadPool5 org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - Batch entry 0 insert into cru_recently_visited (cru_last_viewed, cru_user_name, cru_item_type, cru_entity_id) values ('1361382326880', 'xuser', 'atlassian-user', 'yuser') was aborted. Call getNextException to see the cause.

WARN ThreadPool5 org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - SQL Error: 0, SQLState : 23505

ERROR ThreadPool5 org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - ERROR: duplicate key value violates unique constraint cru_recently_visited_pkey

Detail: Key (cru_user_name, cru_item_type, cru_entity_id)=(xuser, atlassian-user, yuser) already exists

==/SNIP

==SNIP PostgreSQL logs

UTC ERROR: duplicate key value violates unique constraint cru_recently_visited_pkey

UTC DETAIL: Key (cru_user_name, cru_item_type, cru_entity_id)=(xuser, atlassian-user, yuser) already exists.

UTC STATEMENT: insert into cru_recently_visited (cru_last_viewed, cru_user_name, cru_item_type, cru_entity_id) values ($1, $2, $3, $4)

UTC ERROR: current transaction is aborted, commands ignored until end of transaction block

...

==/SNIP

<br />


Answers:
author: Charlton Port
body: From Atlassian:

Unfortunately you seem to be experiencing a known bug, as documented here:

https://jira.atlassian.com/browse/CRUC-6385


Tags: database

error

ldap
Upgraded FishEye, smart commits failing to update JIRA
Asked by josh gold:

Hi,

Once again I've run into an issue after upgrading. The smart commits are failing. It's very weird because when I use the smart commits (Subversion), and hover over a Jira Issue # in FishEye, I get the pop-up window with an overview of the issue, so I know they can communicate. However, FishEye cannot update any issues. Here is the error everyone gets:

FishEye was unable to comment on the issue XX-123 because JIRA responded with the following error: You do not have the permission to comment on this issue.

I have made a Trusted Application Link between the 2, as well as added the admin credentials.

I've just upgraded FishEye to 2.10.x and the Jira plug-ins.


Answers:
author: josh gold
body: I'Ve solved my own issue. After looking at the Jira logs on the server, I noticed a "Certificate too old." exception. Which led me to the Certificate timeout setting on the Application link between Jira and Fisheye. Turns out our servers have a time difference of about 30 seconds and the default is 10 seconds.

Quick and dirty fix of changing that timeout value and it all worked!!


author: Tiago Comasseto
body: Hi Josh,

Judging by your description, it seems to me related the user that made the commit on the repository not having permission to comment in JIRA.

The smart commits use the username of the person that sent the commit to identify a valid user in Fisheye/JIRA. For example, using git you have the following settings (I know SVN has something similar, but don't remember how to check):

```
git config --global user.name "jsmith"git config --global user.email jsmith@company.com
```

So in this example, smart commits will pick the user name jsmith and try to send the comment with this credential. If the user jsmith doesn't exist or don't have permission to send a comment, you we'll see the message you're seeing in your logs.

In this case, you may change the username within the software you are using to send the commit to the repository, or within Fisheye Administration \> User Settings\> User Mappings, you can map the Committer username to an existent FishEye username.

I hope this helps.

Cheers

comments: author: josh gold
body: Thanks, Tiago. Our Subversion account names are different than our Jira/Fisheye account names, but I have the user mappings set up. I will try to recreate them; that's a good suggestion.


author: josh gold
body: I'e solved my own issue. After looking at the Jira logs on the server, I noticed a "Certificate too old." exception. Which led me to the Certificate timeout setting on the Application link between Jira and Fisheye. Turns out our servers have a time difference of about 30 seconds and the default is 10 seconds.

Quick and dirty fix of changing that timeout value and it all worked!!
How to find which user is currently reviewing and who are free from admin login
Asked by Venkat Naga:

Hello,

can you please tell me How to find which user is currently reviewing and who are free from admin login.

I am trying to find that in report but that do not give any results. Is there any way to extract the information from fisheye or crucible?

Regards


Answers:
author: Avdhesh Chauhan
body: You can plug in java melody to your crucible to get current user sessions
Crucible defect definition
Asked by Soo Min Ooi:

Does anyone know where to get the definition for Major and Minor defect ranking in use for crucible?


Answers:
author: Conor
body: The classifications are configurable in the Crucible Admin section including the Major/Minor labels and the classifications themselves. These are versioned so they can be changed without affecting older reviews.

See <https://confluence.atlassian.com/display/CRUCIBLE/Customising+the+defect+classifications> for more information.

comments: author: John Werner
body: In other words, you are free to define your own meaning to the default Major/Minor, and/or setup your own words that have a specific meaning in your environment.

BTW, the same applies to Classifications.


author: arpit doshi
body: Where are these version of Defect Classification are maintained ? Can we rename few values of those old versions ?
Has anyone tried using Crucible to perform documentation review?
Asked by Soo Min Ooi:

Has anyone tried using Crucible to perform documentation review such as word, excel etc?


Answers:
author: Tini Good
body: Yes. It's kludgy, but sort of possible. Atlassian has stated they are not interesting in expanding Crucible for document reviews, and they've removed the integration with Confluence so that work around is killed.

Here's what we do:

- Attach the Word file from Subversion

- Manually attach a PDF file called "Compare" that shows the Word review markups.

- All reviewers may optionally attach their own "redlined" markup copies to the review for clarity, but they must still record defects in the General comments section.

- Author makes changes and updates the outdated file in Crucible.

Anything with a large number of defects or complex changes can't be handled easily through this workaround. We end up scheduling a meeting to disposition the defects, and then JIRA issues to track closure of the more involved items.

I wish Atlassian would reconsider. I'd love to hear from anyone who has found a better way to do this.


author: Chris McFadden
body: You can also try doing the review in Confluence. 1. Use a JIRA ticket for the document to represent the work, and workflow.2. Use the "talk" plugin to do in line comments in Confluence. You can of course comment at the end.
Fisheye does not run as windows service
Asked by Shaun Malick:

Fisheye windows service does not start.


Answers:
author: Shaun Malick
body: Installed 64-bit Java JDK instead of 32-bit and it works.


author: Malik
body: Thank you for your update smalick. But don't you have this behavior then?

<https://confluence.atlassian.com/display/FISHEYE/Running+FishEye+as+a+Windows+service#RunningFishEyeasaWindowsservice-Warningwhenusing64-bitJavaJDK>

comments: author: Shaun Malick
body: No I have not run into that issue yet...


Tags: service
Set up JIRA user directory in Fisheye - Can't see authenticate against a JIRA instance
Asked by metan:

Hi;

While following the instructions for [JIRA integration with Fisheye](https://confluence.atlassian.com/display/FISHEYE/JIRA+Integration+in+FishEye), in step 2.2 i can't see "*a JIRA instance"* option for "*Authenticate against* " field. Only "*a crowd instance*" option can be seen. I don't have crowd and my JIRA's authentication is configured among Microsoft Active Directory. Any helps are highly appreciated. It's a bit urgent tho.

Configuration:

* JIRA 5.2 with AD authentication
* FishEye + Crucible 2.9.2
* Application links are successful and tested
* All applications are located on the same server


Answers:
author: Faisal
body: Hi Mehmet,

Supposedly there should be 2 options when going to *Administration \> Authentication \> Authentication Settings \> Setup JIRA/Crowd authentication* , which are:  
- a JIRA instance  
- a Crowd instance

Since the "a JIRA instance" option is not available in the configuration, then may I know if FishEye had already been integrated with an LDAP directory? And also, can you kindly check if the application link between JIRA and FishEye is working properly?

When setting up the application link between JIRA and FishEye, may I know if the user that you are using to authenticate to FishEye has been granted the administrator role in FishEye?

Cheers

comments: author: metan
body: Hi Ahmad;

Thank you for your time. It seems like it's a browser rendering problem. I've switched to chrome and it can be seen now. Cheers.


author: Faisal
body: Morning Mehmet, thanks for the update here.

Since the issue is now resolved, can you kindly help to mark this post as answered?

Thanks, and have a great day.


Tags: authentication

integration
Can you use Java service wrapper provided by Tanuki Software for FishEye?
Asked by Daisuke Niwa:

Hi there,

Our customer would like to use 64bit Java service wrapper for FishEye service on Windows OS, but the following URL describes "Community Edition versions of the 64-bit Windows Java Service Wrapper

are not currently available."

<https://confluence.atlassian.com/display/FISHEYE/Running+FishEye+as+a+Windows+service>

We see that Tanuki Software provides 64bit Java service wrapper for paid edition. Can we use it for FishEye ?

<http://wrapper.tanukisoftware.com/doc/english/download.jsp>

Please advise.

Regards,

Daisuke Niwa


Answers:
author: Malik
body: Hi Daisuke,

In theory this should work. But this has not been tested by Atlassian so technical support for this configuration can not be guarantied. I can only advise you to try it and prepare a backup plan to use the 32bit version if it fails.

If 64bit a strong requirement, I would then advise not to run FishEye as a service but to use the fisheye bin\\run.bat instead. There are then different option to automatically trigger the execution of this script, for instance: <http://windows.microsoft.com/en-US/windows-vista/Run-a-program-automatically-when-Windows-starts>.


author: Daniel R
body: A user reported that the solution presented here worked:

<https://github.com/darianmiller/devmachine/wiki/Run-FishEye-as-a-Windows-Service-using-64-bit-Java-runtimes>
FishEye mistakenly identifies .cs source as binary
Asked by David FALLAS:

Until very recently, FishEye correctly identified .cs source files correctly, and was able to create extremely useful unified diff presentations between change-sets.

For some unknown reason, this functionality no longer works, and it appears that FishEye is identifying these source code files as binary files.

Oddly, FishEye remains able to generate unified diff presentations for .xml files.

Have I inadvertently set, or unset, a configuration setting?

The platform I am working with is Visual Studio 2010, VisualSVN, FishEye 2.8.0, JIRA 5.0.6


Answers:
author: Conor
body: I presume FishEye is connected to a Subversion repo. Have you set the mime-type property for any of the files in question? What is the charset of the files in question? Do they have any hi bit or multi-byte characters?

comments: author: David FALLAS
body: Hello Conor. Correct, FishEye is connected to a Subversion repository.

I don't believe that I have set any mime-type properties on any source files. How would I determine the mime-type and/or charset of these files? Can I control the mime-type property?


author: Conor
body: You can check the svn properties with svn proplist and svn propget if you are using the svn command line. At this point it may be best to create a support request at [support.atlassian.com](http://support.atlassian.com) so we can look at the details of the files involved.


author: David FALLAS
body: Hello again Conor. Thanks for the assistance.

I think I am getting a better handle on it.

Using the TortoiseSVN client on my development machine, I can view the svn properties on source files from the VS solution I am working on. I find that there is a mixture of some files having no svn:mime-type at all, and others with the property being present and set to application/octet-stream.

I am really puzzled why this should be the case. I have recently (mid-Dec 2012) migrated my development environment from Windows XP to a Windows 7 machine. Might that have anything to do with this phenomenon?

Is there any way that I can remove, or reset all the files which have this property present to text/plain


author: David FALLAS
body: This is not a FishEye issue - the source is actually the TortoiseSVN client assigning an inappropriate svn:mime-type.

For future reference, the cause of this problem is as follows:

i) the TortoiseSVN client was automatically setting the svn:mime-type property on SOME newly added C# source code files (.cs) - but, NOT ALL.

ii) the explanation for this unusual behaviour is that the files to which TortoiseSVN inappropriately assigned this property were 'boiler-plate' classes that had been generated using a suite of stylesheets. Non boiler-plate C# sources added from VS IDE were NOT similarly affected.

iii) the solution is two-part:

first: remove the svn:mime-type property from offending file(s) using the TortoiseSVN via Properties context menu;

second: update the TortoiseSVN configuration via the Settings context menu - enable-auto-props == yes; \*.cs = svn_mime-type = text/plain

Many thanks to Conor for the vital clue.
Fisheye / perforce branch not visible
Asked by Abyakta kumar lenka:

fisheye version 2.7.14

created a new branch in perforce without any issue but the problem is i am not able to view it under fisheye .

let me expalin a bit how the branching is showing.

root ----\> parent child ---\> **child X** --- \> xyz ---\> abc

parent child --- \> child Y --- \> fgh --- \> lmno

So if you can see **parent child** has two branches here one is child x and another is child y.

so the problem is with **child X** its not visible in fisheye.

I checked the permission its fine.

I dont know how to prcoceed with this now.

Kindly help

Regards

Abyakta


Answers:
author: Felipe Kraemer
body: Hi Abyakta,

This problem may be happening due to problems while indexing the Perforce repository, or because the repository indexes got messed up someway.

If possible, could you please:

1. Shutdown the FishEye instance
2. Move the *FISHEYE_INST/var/cache/\<repo_name\>* to somewhere else
3. Start the FishEye instance again

This will force FishEye to re-index the repository from scratch, and may fix the problem. If by chance the problem is not solved, please contact us at <https://support.atlassian.com> and attach a [Support Zip](https://confluence.atlassian.com/display/FISHEYE/Contacting+Support).

Regards,  
Felipe Kraemer  
Atlassian Support


Tags: perforce

visibility
Crucible/Fisheye Re-Indexing Delima
Asked by Cameron Ferguson:

Our situation:

We are currently having to re-index our entire perforce repository (81k changelists w/ over 5.3million files) -- Needless to say this is taking quite some time to perform.

Currently a lot of our product releases are held up because the newest of changelists can't be scanned due to the re-index processing other stages of it's operation. This is affecting many of our products.

Proposal:

Could I temporarily set up other repositories in FishEye to scan very specific directories so we can produce Crucible reviews then remove them after the main repository we have set up is caught up? By deleting the temporary repositories, would this affect any crucible reviews made off of them? Would this affect seeing the source code on the associated JIRA activities? Or would the fact that the main repository would then also hold that information and be caught up replace the identical changelists scanned?

I would like Atlassian's input on this one specifically, and definitely any user who has had experience with this in the past.

Alternative:

If this isn't a viable option... is there any way that I can get the newer changelists scanned while the re-indexing is processing?


Answers:
author: lpater
body: Hi Cameron,

The solution you proposed seems viable. You can either limit the new repo to a specific directory, or just set the Start Revision to a recent one - that should allow you to get it indexed quickly and start the reviews. (see <https://confluence.atlassian.com/display/FISHEYE/Perforce> for more details on this)

If the Crucible project the reviews are in has the 'Store the contents of files in reviews' option enabled (it's enabled by default) the source code in the reviews will be stored locally in Crucible as it is displayed for the first time from the repository, and you'll still be able to see it even after deleting/disabling the repository. (<https://confluence.atlassian.com/display/CRUCIBLE/Setting+Crucible+to+Store+all+Revisions>)

Once the temporary repository is finished indexing, you should see the changelists that are indexed there in the JIRA Source tab. After the main one finishes you might see them duplicated until you delete or disable the temporary one.

comments: author: Cameron Ferguson
body: Though with the temporary repository I would have to link it up to the same projects in JIRA correct? Will that not cause an issue with 2 Fisheye repositories pointing to the same JIRA projects?


author: Cameron Ferguson
body: Any update on my last question?


author: Gurleen Anand _Atlassian_
body: Hi Cameron,

Yes, you can link multiple Fisheye repositories to the same JIRA project by adding entity links to map JIRA project to the required Fisheye repsoitories:

<https://confluence.atlassian.com/display/APPLINKS/Adding+an+Entity+Link>

Thanks,

Gurleen


author: Sergey Svishchev
body: You could also define a clone of this repository and index that clone, then replace the original index -- <https://confluence.atlassian.com/pages/viewpage.action?pageId=298977103>

Doing this automatically in background would be a very nice feature indeed.


Tags: perforce
Suddenly cannot push or access repo from Remote button
Asked by Andrew Hardy:

I am logged into bitbucket with Google and up until now sourcetree has used bitbucket on that basis.

If I do a push from sourcetree or from the commandline it simply works, no login required and the remote button takes you to the remote repo.

However just recently the remote button has an exclamation mark and if you click it you just get a continuous spinny in the bitbucket page. Although the exact same url can be visited directly in bitbucket on the basis of my google account login. Also if I try to push at commandline or in sourcetree it asks me for basic bitbucket username and password, which I do not have, I login to bitbucket with google.

I made no changes to bitbucket or sourcetree configuration in any way before this happened. I simple had not touched them. It happened out of the blue.

Other repos also fail on the remote button click in the same way.

I have tried:

1. Restart source tree.

2. logout of and back in to bitbucket

3. restart pc

4. refresh token on account in sourcetree.

All to no avail. If you can help in anyway I would greatly apprecitae it.


Answers:
author: Marvalee Foster
body: I have this same issue. It started for me last week. Following to monitor solution.
Sourcetree Git Flow not Supported
Asked by Jana Kemmer:

Hello,

We have been using Git-flow for a while. On some projects it seems to work fine, But on most projects I can't use Git-flow.

Every time I press the Git-flow Button I get the following Error Message:  

Git-flow not supported.  
You'll need to upgrade to Git 2.6.4 or later.   
We recommend upgrading to Git 2.24.1.2

When I use Git-flow via command line everything works as expected.

I am using Embedded Git with Version 2.24.1

My Sourcetree Version is 3.3.8.3848

<br />

I tried everything that I've found in here so far, but nothing worked.


Answers:
author: ProMac
body: Using source tree 3.4.8 and 3.4.9 (Windows 11 ) i'm getting this error, tried uncheck/embedded/check all possible fixes but nothing , i have git version 2.35.1 and embedded git 2.36.0 and i can't use Git-Flow!


author: eugen-krizo
body: After selecting checkbox "Tools/Options/Git/Git Version/Disable LibGit2 integration" the error message does not appear any more for "Git-flow/Start New Hotfix" action in my case.

(Win/System Git version 2.16.1/Sourcetree 3.3.9.3870)
Sourcetree ???????Git???????????
Asked by M_T:

?AAA.git?????BBB.git????Git?????????

?BBB.git????(??????)????AAA.git????????????????

(??????????????????????????????)

????????

.../AAA/master/AAA1.\*

.../BBB/master/BBB1.\*

????????

.../AAA/master/AAA/AAA1.\*

.../AAA/master/BBB/BBB1.\*

???.../BBB/master/BBB1.\*???.../AAA/master/BBB/BBB1.\*?(????)????????SourceTree??????????????

??????????????????????

??????????????

??????AAA?????

??.../AAA/AAA1.\*?

?AAA????????????????????????

??.../AAA/AAA/AAA1.\*?

????????????.../AAA(???????AAA????)  
?mkdir BBB  
?git remote add BBB BBB??????URL  
?git fetch BBB  
?git merge -X subtree=BBB BBB/master --allow-unrelated-histories

?????

?BBB???????????.../AAA/BBB/?

?DL???????????

?BBB?????????++***???***++ ??.../++***AAA/***++?

?DL??????

SourceTree version 2.4.8.0


Answers:
author: J_ Sakurai
body: ????????????????????????

?????Sourcetree???????????????

??????????????????????????????

<https://blog.developer.atlassian.com/grafting-earlier-history-with-git>


Tags: language-ja
Where can we download SourceTree 3.3.9 for Windows from?
Asked by dandragut:

Does anyone know where can we download SourceTree 3.3.9 for Windows from?

Release notes for 3.3.9 for Windows available here:  
[https://product-downloads.atlassian.com/software/sourcetree/windows/ga/ReleaseNotes_3.3.9.html](https://product-downloads.atlassian.com/software/sourcetree/windows/ga/ReleaseNotes_3.3.9.html "https://product-downloads.atlassian.com/software/sourcetree/windows/ga/ReleaseNotes_3.3.9.html")

Version 3.3.8 is the latest available from the blue "Download free" button on <https://www.sourcetreeapp.com/>

Version 3.3.6 is the latest available from SourceTree Download Archives:  
<https://www.sourcetreeapp.com/download-archives>

Thank you,  
Dan


Answers:
author: Nuno Relvao
body: Seems its reachable as below link, but download page is buggy with links sometimes to 3.1.2 even for windows release and other times to 3.3.8

[https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.3.9.exe](http://?https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.3.9.exe "SourceTree 3.3.9")

comments: author: dandragut
body: Thank you [@Nuno Relvao](/t5/user/viewprofilepage/user-id/3950892), your direct link works. The download on main page still points to 3.3.8
"git push origin master": Forbidden fatal: Could not read from remote repository.
Asked by Hammad Rasool:

While I was pushing to remote, it generated the following problem:

Forbidden  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.

Although, "git pull origin master" working fine.


Answers:
author: mercy.kinoti
body: Were you able to sort this? I'm having the same problem


Tags: access

bitbucket

error

forbidden

git

pull-request