Problem with the script Runner - built-in scripts not accessible

Stéphane Genin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2011

Hi,

I installed the script runner a couple of month ago on a site and it worked well. I'm back today for a simple visit, and the engineer in charge of the maintenance showed me that, when clicking on built-in scripts, the following stack trace appears :

type Status Report

message Could not execute action [CannedScriptRunner]:(class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool<p><small><small><pre>java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;)

Nothing changed on this platform since the time it worked.

Does anyone know where the problem could be?

Thanks

Stéphane

2 answers

0 votes
NewthonJ September 4, 2013

Hi Jamie,

It worked for me, I just added XX:ReservedCodeCacheSize to my setenv.sh and until now everything is ok.

Thanks

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2011

Possibly the same issue as https://studio.plugins.atlassian.com/browse/GRV-56 but without seeing the logs it's difficult to say.

Unfortunately the reporter of GRV-56 never got back to me so I don't know if the suggestion to up the XX:ReservedCodeCacheSize worked.

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2011

Have you changed the version of java? That could be a cause of VerifyError... but I don't think the error above is the root cause error.

Stéphane Genin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2011

I check that with the IT guys.

I'll keep you informed.

Thanks

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2011

OK - the main advice though is to look in the logs for the string "out of space in CodeCache for adapters"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events