youngmon/atlassian-qna huggingface dataset:
InvocationTargetException on FishEye
Asked by Gerald Schneider:

I just noticed that one of our FishEye instances throws HTTP 500 errors on image related requests.

- <https://host.example.com/fisheye/avatar/username?s=40>

```
javax.servlet.ServletException: java.lang.reflect.InvocationTargetException 
java.lang.reflect.InvocationTargetException    
Could not initialize class javax.imageio.ImageIO
```

- [https://host.example.com/fisheye/fe/commitSparkline.do?w=356\&h=70\&context=user\&username=username\&imageBackgroundColour=FFFFFF\&outputtype=image](https://host.example.com/fisheye/fe/commitSparkline.do?w=356&h=70&context=user&username=username&imageBackgroundColour=FFFFFF&outputtype=image)

- [https://host.example.com/fisheye/fe/commitChartHour.do?w=356\&h=70\&context=user\&username=username\&imageBackgroundColour=FFFFFF\&outputtype=image](https://host.example.com/fisheye/fe/commitChartHour.do?w=356&h=70&context=user&username=username&imageBackgroundColour=FFFFFF&outputtype=image)

```
javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
Could not initialize class org.jfree.chart.encoders.ImageEncoderFactory
```

On Tuesday the 5th I updated both instances from 4.8.1 to 4.8.2, I assume the problem appeared after the update.

The Log Analyzer doesn't find anything, the server log is not more helpful (can't post it here as it exceeds the maximum post length).

Where can I start to debug this further?


Answers:
author: Moses Thomas
body: [@Gerald Schneider](/t5/user/viewprofilepage/user-id/518709) Since you have upgraded, you will need to add the below in the block quote if you dont have in [Environment variables](https://confluence.atlassian.com/fisheye/environment-variables-960155682.html)

`FISHEYE_OPTS`=-Djava.awt.headless=true

Please give feed back.

Kind regards,

Mo

comments: author: Gerald Schneider
body: This solved the problem.

Maybe this option should be set directly in FishEye when it is necessary now?


author: Moses Thomas
body: Well it depends on how you performed the upgrade, i also think that if you do it via the installer, in Windows you would need to un-install first as stated here

[Upgrading Fisheye on Windows](https://confluence.atlassian.com/fisheye/upgrading-fisheye-on-windows-960155740.html) it is supposed to be auto added. In Unix like OS, I always extract new version installation files and see what changed in the required files and then add it to my existing file during upgrade so that i don't miss any thing.


author: Gerald Schneider
body: Well, that's exactly what I do. I extract the new version and make all necessary changes to the new files, I don't copy over files from the previous version.


author: Moses Thomas
body: [@Gerald Schneider](/t5/user/viewprofilepage/user-id/518709) Then it definitely has to do with the java Open JDK version that you are using. Mostly likely the package is missing.


author: Damyan Yordanov
body: Setting the option works for me for java jdk8u242-b08. Doesn't seem to work for jdk8u252-b09, though. It really seems that the package is missing there.
Creating Application Links Refreshes the Page
Asked by Nathan Wright:

I've installed Crucible on Windows 10x64 to evaluate it but I'm having trouble.

It successfully created an application link to my evaluation Jira server using the setup wizard. Now I'm trying to create a link to my evaluation BitBucket server. Every time I click "Create new link", the form briefly appears, and then the page is refreshed.

Peculiar note, the Application Links page always throws up the "What's new with links" splash screen when I load it. Jira and BitBucket only presented that to me once. It's like Crucible can't persist new changes.

I'll check disk access next.

Has anyone seen this before?

I don't want my up stream evaluation to be, "I couldn't get Crucible to work".


Answers:
author: Nathan Wright
body: For future me... probably.

I contacted support and they directed me to:

* Create a Crucible admin account
* Login to that user
* Create application links

And that worked. I now have an application link to BitBucket.
Fisheye Clone Azure Devops Git repo errors
Asked by Alberto Gonzalez:

Hi, I am trying to add and clone in Fisheye a repo from azure devops but both https and ssh fail with errors. anyone can help on instructions how to setup any of them correctly?

https:

how do i put the user name? the copied url from azure devops that contain orgname@ is like

1. https://org@dev.azure.com/org/project/_git/repo  
2. password for user1

I tried to replace and add the user also like https://username@dev.azure.com/org/project/_git/repo but also didnt work.

Error testing connection.  
Error talking to repository:

<br />

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:120)  
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:390)  
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:964)  
at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

Connection failed.

ssh:

1. git@ssh.dev.azure.com:v3/org/project/repo  
2. Generate key pair for ssh and add public key to azure managed keys

Test connection:

Error testing connection.  
Error talking to repository:

<br />

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:120)  
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:390)  
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:964)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

Connection failed.


Answers:
author: Peter-Dave Sheehan
body: First, are you sure your fecru host is able to talk to your azure host from the server-side?

You can try to run a simple curl command from the server to test it.

Your https location string seems correct.

But the ssh one, I'd expect the port where you have ':v3'

LIke git@host.domain.com:7999/project/reponame.git (7999 is default ssh port for bitbucket server)

I've never worked with azure... so that might be incorrect advice
I recently downloaded trial copy of fisheye 4.7. I set up an admin user but forgot the password.
Asked by Aaron_Veerasammy:

How can I get into Fisheye without an admin password?


Answers:
author: Steve Rhodes
body: Your best best is to reset the admin password:

<https://confluence.atlassian.com/fisheye047/how-to-reset-the-administration-page-password-in-fisheye-or-crucible-981149928.html>

This relates to setting the password to "admin" in the config.xml via the hash, where `21232F297A57A5A743894A0E4A801FC3` is the hash for "admin"

    <?xml version="1.0" encoding="UTF-8"?><config control-bind="127.0.0.1:8059" version="1.0" admin-hash="21232F297A57A5A743894A0E4A801FC3">
Crucible API Get history of review
Asked by kpbic:

Hello. I'm trying to get the history of review with the help of the Crucible API, as if when clicking View Review History, the history of adding files, comments, changes in status appears, but I can not find anywhere in the documentation how to get this. Is there way to get this? I can get dates for comments and a file from the createDate, but where can I get the status change dates from?  
Thanks!


Answers:
author: Peter-Dave Sheehan
body: I'm not able to find any reference to this either. Looks like there is no API for that.

As a last resort, you could try to call {fecruhost}/cru/{ID}/reviewHistory and parse the html table

comments: author: kpbic
body: Thanks. I did it like that.
WHY IS THIS ON MY PHONE? SOMEONE PLZ ANSWER CAUSE IM ABOUT TO GET CRANKY..
Asked by UNIVER_NATION:

*i open up termux and I see some background access that I don't know . I turn powrr off and start running some Linux commands and Bang. This is on my phone.. I did not put it there so who did and why? Now this seems like a RAT . Looks like my data is comprised and manipulated ..*


Answers:
author: Nic Brough -Adaptavist-
body: PLEASE STOP SHOUTING - it's rude and hard to read

I think you have landed in the wrong place. Unless you can explain what the problem is with Fisheye or Crucible (or any other Atlassian product), there's not a lot we can help you with.
Unable to Configure Application Links (java.net.SocketException: Connection reset)
Asked by neo4a:

Running Bitbucket, Confluence, Jira with a reverse proxy configuration (IIS10) without any problems.

Now I added FishEye and Crucible in the same manner. Fisheye Service is reachable and working via https.

But now I'm unable to Configure Application Links (java.net.SocketException: Connection reset) to bitbucket or jira. It seemed that fisheye cannot resolve https addresses.

What do I need to configure to get it work?


Answers:
author: neo4a
body: After deleting and reinstalling Fisheye/Crucible it's now working. The only thing I changed wass providing a valid crucible lic while setup ...


author: line hammer
body: This SocketException occurs on the server side when the client closed the socket connection before the response could be returned over the socket. For example, by quitting the browser before the repsonse was retrieved. Connection reset simply means that a TCP RST was received. This happens when your peer receives data that it can't process, and there can be various reasons for that. The simplest is when you close the [socket](http://net-informations.com/java/net/multithreaded.htm), and then write more data on the output stream. By closing the socket, you told your peer that you are done talking, and it can forget about your connection. When you send more data on that stream anyway, the peer rejects it with an RST to let you know it isn't listening.

comments: author: Jorge Quintanilla
body: [@line hammer](/t5/user/viewprofilepage/user-id/3256350) - Would this mean that there is a pending setup on my end?
How to merge two instances of Crucible?
Asked by Tony Ly:

Hi,

I need to merge an instance of Crucible on a test machine to a new instance of Crucible on a new machine on a separate network. I have admin access and terminal access to both of these machines. What would be the best way to move or copy all of the data from the old machine to the new one? Would it be to make a backup on the old machine, copy that backup to the new one, then use the restore function?

Thanks!


Answers:
author: Peter-Dave Sheehan
body: By merge, do you mean: add the review data from one crucible instance to another without impacting the target instance?

That's not possible.

You can export from one instance and import into another. But the import will overwrite all old data.

You might be able to use the REST APIs with some coding to pull all the data from one instance and add it to the other instance, but you will lose some of the history and that would be quite a complex coding adventure.
Best storage type for fisheye/crucible in AWS
Asked by Thisara Sooriyarachchi:

Im setting up a fisheye/crucible environment in AWS using the <https://hub.docker.com/r/alvistack/fisheye> docker image. Im planning to mount a host directory for FISHEYE_HOME directory. I would like to get recommendations for which storage type would suite best for this implementation.  
Example:  
EBS volume: General Purpose SSD/Provisioned IOPS  
Amazon EFS

Thanks.


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: I would use the fastest storage available. The indexing process is diskio intensive, so the faster your disk speed capability, the faster your indexing happens.
What is the effect of more user than licensed?
Asked by Thilo Brause:

We have a Fisheye-License for 50 User for extended Beta-Testing.

And we have a Mechanismen where User can add themself (using LDAP-Groups) as User to Fisheye.

So we wanted to know - What happens, if in that way we exceed our License of 50 User? We found nothing in the documentation so we tried - added test-user-accounts until we exceeded the limit.

But there seems to be now effect.

Everything is still working, login in Fisheye is possible with each user.

But there have to be an effect? What are we overlooking?


Answers:
author: Mike
body: I thought when the license tier is exceeded the indexing will stop

comments: author: Thilo Brause
body: No, indexing only stops on Starter License. We have a normal license, exceed the user limit and indexing is still running perfectly.


Tags: licence
Error updating
Asked by nacredata:

I keep getting "Update Error! An error occurred while extracting the archive. Please try again later" when trying to update to 4.2.5 on my Mac (Apple Silicon, Ventura 13.6 OS)


Answers:
author: Brian Damage
body: Same here. To make matters worse, I can't update manually, as the version at sourcetreeapp.com is still 4.2.4!

I'm getting this in Console.app:

```
error 15:35:00.091787+0100 Sourcetree DSA signature verification failed: Error Domain=Internal CSSM error Code=-2147415733 "Internal error #8001094b at VerifyTransform_block_invoke /AppleInternal/Library/BuildRoots/8ca92091-1d5a-11ee-a938-46d450270006/Library/Caches/com.apple.xbs/Sources/Security/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:594" UserInfo={NSDescription=Internal error #8001094b at VerifyTransform_block_invoke /AppleInternal/Library/BuildRoots/8ca92091-1d5a-11ee-a938-46d450270006/Library/Caches/com.apple.xbs/Sources/Security/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:594}
error 15:35:01.179757+0100 Sourcetree DSA signature verification failed: Error Domain=Internal CSSM error Code=-2147415733 "Internal error #8001094b at VerifyTransform_block_invoke /AppleInternal/Library/BuildRoots/8ca92091-1d5a-11ee-a938-46d450270006/Library/Caches/com.apple.xbs/Sources/Security/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:594" UserInfo={NSDescription=Internal error #8001094b at VerifyTransform_block_invoke /AppleInternal/Library/BuildRoots/8ca92091-1d5a-11ee-a938-46d450270006/Library/Caches/com.apple.xbs/Sources/Security/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:594}
error 15:35:01.179776+0100 Sourcetree The update has a public (Ed)DSA key, but the public key shipped with the update doesn't match the signature. To prevent future problems, the update will be rejected.
```


Tags: server
Name of the repository is not shown on the tab
Asked by Annelotte:

I just downloaded the latest version and it seems that the labels on the tabs with the different repositories no longer display the name I have chosen for the repos in Sourcetree.


Answers:
author: Annelotte
body: If you are also affected, please indicate so on <https://jira.atlassian.com/browse/SRCTREEWIN-14298>
Tab Name not displaying properly
Asked by Bruce Coveny:

With release 3.4.14 for Windows you could rename a repo under the Local Repositories to show the value in the tab name. Updating to 3.4.15 the tab always displays the folder name and not the bookmark name which you can rename.

Before rename  
![before.png](/t5/image/serverpage/image-id/283606i2F349F4487B8E329/image-size/large?v=v2&px=999 "before.png")

After rename:

![after.png](/t5/image/serverpage/image-id/283607i1E16A011AEAB2398/image-size/large?v=v2&px=999 "after.png")

After you rename prior to 3.4.15 it would rename the tab to show "SourceTree Tab Name Project" and not keep what the folder name was called.


Answers:
author: kazaoki
body: me too. The screen now looks like this.  
It's like I'm having a nightmare...

![2023-09-29_06h03_55.png](https://community.atlassian.com/t5/image/serverpage/image-id/283610i8F4DDD0A2107C66B/image-size/large?v=v2&px=999 "2023-09-29_06h03_55.png")

I hope this bug will be fixed as soon as possible.

comments: author: jboada
body: This issue is causing too many problems. I hope it gets fixed soon.


author: jboada
body: Does anyone know if the issue is reported?

In case the answer is negative, does anyone know how to open a ticket to report the issue?


author: jboada
body: I found these tickets for this issue:

<https://jira.atlassian.com/browse/SRCTREEWIN-11709>

<https://jira.atlassian.com/browse/SRCTREEWIN-12001>


author: Tibor Csecsei
body: "Voted"... Nothing else we can do :(


author: jboada
body: I think the issue is going to be fixed soon.

This ticket was reopened <https://jira.atlassian.com/browse/SRCTREEWIN-11709>


author: jboada
body: The issue is fixed. It is going to be available in the next version according to this ticket.

<https://jira.atlassian.com/browse/SRCTREEWIN-12001>


author: Joel Rivases
body: This is still an issue on 3.4.16, when you close and reopen Sourcetree the tab names revert to the directory names.

comments: author: jboada
body: Hi Joel,

I think the issue was solved since version 3.4.17, I have version 3.4.18 and it is working fine.

Do you still have the issue?

JB


author: Joel Rivases
body: Hey, the issue is no longer occurring since I updated it to 3.4.17.


Tags: server
Update to Sourcetree 4.2.4 -> 4.2.5 fails on Mac - public key shipped with the update doesn't match
Asked by Tommo:

I opened Sourcetree and it notified me that there was a new update.

I'm on version 4.2.4 and the update is for 4.2.5. However nothing appears in the Sourcetree logs folder.

Reading the forums I opened Console and saw some relevant lines that would indicate why the update would fail: "public key shipped with the update doesn't match".

```
DSA signature verification failed: Error Domain=Internal CSSM error Code=-2147415733 "Internal error #8001094b at VerifyTransform_block_invoke /AppleInternal/Library/BuildRoots/8ca92091-1d5a-11ee-a938-46d450270006/Library/Caches/com.apple.xbs/Sources/Security/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:594" UserInfo={NSDescription=Internal error #8001094b at VerifyTransform_block_invoke /AppleInternal/Library/BuildRoots/8ca92091-1d5a-11ee-a938-46d450270006/Library/Caches/com.apple.xbs/Sources/Security/OSX/libsecurity_transform/lib/SecSignVerifyTransform.c:594}
The update has a public (Ed)DSA key, but the public key shipped with the update doesn't match the signature. To prevent future problems, the update will be rejected.
Error: An error occurred while extracting the archive. Please try again later. The update is improperly signed. (URL (null))
```

![Console.png](/t5/image/serverpage/image-id/283402i1CB791D5942959B6/image-size/large?v=v2&px=999 "Console.png")![error.png](/t5/image/serverpage/image-id/283403i2E0BFB961582C647/image-size/large?v=v2&px=999 "error.png")![update.png](/t5/image/serverpage/image-id/283404iCAA11189D0F7D2AE/image-size/large?v=v2&px=999 "update.png") Interestingly the release says 3 Oct 2023, but that's 5 days away. Anything to do?


Answers:
author: Pikachu EXE
body: <https://product-downloads.atlassian.com/software/sourcetree/ga/Sourcetree_4.2.5_259.zip>

If you can't wait like me you can use above URL

I figured it out observing URL pattern in <https://www.sourcetreeapp.com/download-archives>

comments: author: Mike Figueroa
body: Works for me. Thanks!


author: Tommo
body: I was able to update finally. It just worked on Oct. 5. After trying the update every morning, finally this morning I didn't see the error and it installed fine. (I just used the Sourcetree update process, not the re-install method).


author: Ken Wong
body: Same here. I remember this issue happened in last 1 or 2 updates as well, Atlassian is just unbelievable.


author: chris_columbian
body: Working for me on MacOS 12.6.3 - what version are you running?


author: Levan Kekelidze
body: Same issue when trying to update my current version of SourceTree 4.2.4 to the latest reported version **4.2.5** using in-app update mechanism.


author: adamfehnel
body: Same issue here, watching for updates.


Tags: mac

update
SourceTree not display "Remote repositories"
Asked by samuel.zhang:

My sourceTree everything works, I can "push/pull" to remote repositories".

I try to Clone a new Repo from remote Repo, but it doesn't display all Repo in menu "Remote"==\>"Refresh". I recall it can display all Repo before, and I clone a number of Repo.

What cause the issue?


Answers:
author: Peter_DevSamurai
body: There are a few possible reasons why Sourcetree may not be displaying all of your remote repositories in the "Remote" menu:  
- You are not connected to the remote repository hosting service. Make sure that you are logged in to Sourcetree and that you can access the remote repository hosting service (e.g., GitHub, Bitbucket, etc.).  
- The remote repository is private. Sourcetree will not automatically display private remote repositories in the "Remote" menu.  
- To view private remote repositories, you need to manually add them to Sourcetree.  
- There is a problem with the Sourcetree configuration. Try refreshing the Sourcetree configuration by going to Tools \> Options \> General and clicking the Refresh button.  

If you are still having trouble getting Sourcetree to display all of your remote repositories, you can try the following: **Close** and **reopen Sourcetree** . **Restart** your computer. **Uninstall** and reinstall Sourcetree.  

If you are still having trouble, you can contact Sourcetree support for assistance. Here are some additional things to check:  
- Make sure that you are using the latest version of Sourcetree.  
- Make sure that you have the necessary permissions to access the remote repositories. Try clearing the Sourcetree cache. To do this, go to Tools \> Options \> General and click the Clear Cache button.  

If you have tried all of the above and you are still having trouble, please provide more information about your setup, such as the version of Sourcetree you are using, the remote repository hosting service you are using, and any error messages you are receiving.

comments: author: samuel.zhang
body: Hi Nghia,

-There are some local Repo, it should display at least those Repo in Remote menu, but it display "Nothing" after press "Refresh" button.

-The SourceTree is Version 3.4.12, it is not old. It can display remote Repo before.

-You mention "Tools \> Options \> General **Clear Cache button** " and **Refresh button**,

but there is no such button in my SourceTree "Tools \> Options \> General" menu, are you sure those two buttons are at the right location?


author: Michi B
body: Yes, I am also missing this "Refresh" button.

Could it be that only a limited amount of repos is shown? To my experience only the first 30 are shown. Is that a setting in the user.config?

Also, in some projects I can see a "Load More" button after the last shown repo. It takes ages to load new ones, but works.

![2023-11-28 11_49_09-Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/294143i2F7931E8C0D93B2A/image-size/large?v=v2&px=999 "2023-11-28 11_49_09-Sourcetree.png")


Tags: bitbucket

bitbucket-cloud

cloud
sourcetree
Asked by qinc:

Hope to support Linux system version Sourcetree


Answers:
author: Harald Seyr
body: [Tutorial: Learn Bitbucket with Sourcetree \| Bitbucket Cloud \| Atlassian Support](https://support.atlassian.com/bitbucket-cloud/docs/tutorial-learn-bitbucket-with-sourcetree/)


Tags: bitbucket

cloud