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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,151 views 2 7
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