Issue overview takes a long time to load and is buggy

When browsing issues in jira, it takes a long time (>10 seconds) to load and some css / javascript seems to be missing.

Additionally, the javascript console (in chrome) reports some warnings and errors.

The URL of my jira instance: http://jira.evefit.org/issues/?filter=-4

The css files that are unable to load according to chrome:

http://dev.internal.evefit.org:8080/s/eno9tzxm-418945332/812/2/5dc06a0eb7c43b0a7a66b6967dc32130/_/download/contextbatch/css/jira.navigator.simple,jira.navigator.advanced,jira.navigator.kickass,atl.general/batch.css

The javascript warnings:

Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored. batch.js:2686

Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored. batch.js:2686

5 answers

1 accepted

Accepted Answer
2 votes

Resolution from the support ticket:

Hi Diego,

Looking at the following stack trace:

javax.imageio.IIOException: Can't create output stream!

Caused by: javax.imageio.IIOException: Can't create cache file!
Caused by: java.io.IOException: Permission denied

Typically this means that the image file cant be written to the temp folder. Can I please ask you to check whether the JIRA user has permissions to write to the temp directory in {atlassian install}/temp. You can check the temp folder by going to Administrator > System Info and looking for -Djava.io.tmpdir = XXXX under the JVM arguments. You can change this folder if you like by altering this argument and setting the startup value.

Please do let us know how it goes for you.

Cheers,
Vicky.

Seeing the same issue. Slow dashboard loading and "Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored." in javascript console. Using JIRA (v5.2#812-sha1:c4fbab6).

If anyone else has this problem: when I had this JS-Issue, after quite some troubleshooting we found out (with Vicky) that reindexing solves the problem.

As a result it turns out that if the index is not being rebuilt after an upgrade, this can lead to the JS-Error (my guess is that data retrieved from the GUI does not correctly relate to data at the backend). I would therefore recommend that upgrading GH either automatically does reindexing or a WARNING should come up telling the user to do so.

Hi Stefan, so, you say re indexing solves the batch.js script file warnings and display problems?

Did you fix it?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

66 views 2 6
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you