While third party applications are not supported by Atlassian, as a best effort here's an example of a case where it was identified that the issue was caused by a 3rd party JQL function PreviousSprint:ġ. Sometimes, It may also be possible to identify the offending component by thoroughly examining the actual stack trace (the application vendor can help with that). The add-on vendor may need to be contacted regarding this Fix the problem in the code which has caused StackOverflowError. There are some JVM-level fixes that should allow Jira to handle these exceptions more gracefully:.The ReentrantLock class uses an instance of AbstractSynchronizerQueue to implement its critical section.Īfter an StackOverflowError error, the Jira application will likely be in an unstable state and hence it is essential to restart your Jira applications immediately. A stack overflow could occur in the middle of a sequence of modifications which, if not complete, could leave a data structure in an inconsistent state.įor instance, when a StackOverflowError is thrown in a critical section of the .ReentrantLock class, the lock status can be left in an inconsistent state, leading to potential deadlocks. This mechanism is a clean way to report that a stack overflow has occurred while preserving the JVM's integrity, but it doesn't provide a safe way for the application to recover from this situation. The Java Language Specification permits a StackOverflowError to be thrown synchronously by method invocation. StackOverflowError is an asynchronous exception that can be thrown by the Java Virtual Machine whenever the computation in a thread requires a larger stack than is permitted. The JVM running Jira applications has hit an StackOverflowError triggered by the code. Integer overflow and underflow occur when an integer arithmetic operation results in a value that lies outside the range of the values that can be stored in. Grep -ic 'StackOverflowError' atlassian-jira.log*
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |