Error from JIRA Script runner v3.0.12

Trying to create a sub task.
Left Condition as blank
Set the target issue type
Entered text as Subtask summry
Let subtask action blank

java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(
at java.lang.Class.getDeclaredFields(
at org.codehaus.groovy.reflection.CachedClass$1$
at Method)
at org.codehaus.groovy.reflection.CachedClass$1.initValue(
at org.codehaus.groovy.reflection.CachedClass$1.initValue(
at org.codehaus.groovy.util.LazyReference.getLocked(
at org.codehaus.groovy.util.LazyReference.get(
at org.codehaus.groovy.reflection.CachedClass.getFields(
at groovy.lang.MetaClassImpl.addFields(
at groovy.lang.MetaClassImpl.inheritStaticInterfaceFields(
at groovy.lang.MetaClassImpl.setupProperties(
at groovy.lang.MetaClassImpl.addProperties(
at groovy.lang.MetaClassImpl.initialize(
at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(
at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(
at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createPojoMetaClassGetPropertySite(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(
at org.codehaus.groovy.control.CompilationUnit.compile(
at groovy.lang.GroovyClassLoader.doParseClass(
at groovy.lang.GroovyClassLoader.parseClass(
at groovy.util.GroovyScriptEngine$ScriptClassLoader.doParseClass(

1 answer

Quick update

I am trying to replace the Metro plugin.  I had 16 post steps, such as

Type: class

Class: com.telenor.jira.plugin.workflow.createsubissue.CreateSubIssueFunction
field.subIssueDescription =
field.subIssueAssignTo = 3
field.subIssueOverview = Functional Requirement Analysis for %.Key%
field.subIssueTypeId = 21
field.subIssuePriorityId = 0

Immediately after I got this error JIRA became unusable (out of memory).  I stopped and started and removed the 16 post steps and managed to re-add now

Roy - check your permgen settings. If your machine has enough memory I recommend 512m.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,231 views 14 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot