Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

BitBucket install fails


Has anyone seen this?  When I run the setup for 7.14.1 or 7.15 (in fact it even does it on 7.13 which I previously installed successfully) I get a very strange looking window with elongated buttons which I can't close.  I have to force the task to end.


There's a log file which says this:


java.lang.RuntimeException: java.lang.ArithmeticException: / by zero
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(
at com.install4j.runtime.installer.frontend.GUIHelper.showOptionDialog(
at com.install4j.runtime.installer.frontend.GUIHelper.confirmCancel(
at com.install4j.runtime.installer.frontend.WizardScreenExecutor.cancel(
at com.install4j.runtime.wizard.WizardBase$2.windowClosing(
at java.awt.Window.processWindowEvent(
at javax.swing.JFrame.processWindowEvent(
at java.awt.Window.processEvent(
at java.awt.Component.dispatchEventImpl(
at java.awt.Container.dispatchEventImpl(
at java.awt.Window.dispatchEventImpl(
at java.awt.Component.dispatchEvent(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$500(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(
Caused by: java.lang.ArithmeticException: / by zero
at com.install4j.runtime.alert.WindowsSwingAlertDialog.init(
at com.install4j.runtime.alert.WindowsSwingAlert.showInternal(
at com.install4j.runtime.installer.frontend.GUIHelper.showOptionDialogInternal(
at com.install4j.runtime.installer.frontend.GUIHelper.access$000(
at com.install4j.runtime.installer.frontend.GUIHelper$
at com.install4j.runtime.installer.frontend.GUIHelper$
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(
... 29 more



1 answer

1 accepted

0 votes
Answer accepted

The command line option "start /wait atlassian-bitbucket-7.17.2-x64.exe -c" seems to work.  I would prefer the GUI, I loathe command lines (I'm not a wannabe 80s Wargames hacker, I have work to do) but if that's the best I can have until I can get rid of this software it will have to do.

Even with the command line version working I still have to do this to get it to work properly, I expect more from modern software.

stop the existing BitBucket service
run the installer for the new one, don't launch
"sc delete BITBUCKET"
if you don't have one, move the jre folder from the old install to the new one
get the jks file from the old app folder and put it in the new one
delete the old install folder
run CMD as administrator
set java_home & jre_home=C:\Atlassian\Bitbucket\<version>\jre (do this in sysdm.cpl for better effect)
close CMD, re-open
cd C:\Atlassian\Bitbucket\<ver>\bin
service.bat install
start the service

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,158 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you