java.lang.NoClassDefFoundError exception while testing or running a Groovy script

Description

In some rare cases, testing a Groovy script that refers to a Jira class will throw a java.lang.NoClassDefFoundError exception while accessing any Jira built-in class.

For example:

We are unable to reproduce the issue. It looks like an OSGi issue, and it is resolved by a Jira restart (and maybe disabling/re-enabling JMWE).

Environment

jira version 8.3.1,
Java Version 1.8.0_222

Customer Info

None

Activity

Show:
David Fischer (Appfire
November 12, 2020, 12:25 PM

did you test importing classes from Jira, and using the ComponentAccessor class without importing it? Also, did you check using services from other apps (CF the recent ticket about that)?

David Fischer (Appfire
August 23, 2020, 2:26 AM

Still happens from time to time...

Fixed

Assignee

Unassigned

Reporter

David Fischer (Appfire

Labels

Internal Complexity

Unknown

Internal Value

Unknown

Impact

Level 2