Hi Nick,

I have upgraded the jenkins version to 2.387.1 and am using java8 for
building our applications.
I have been facing the following issue:

*java.lang.NoSuchMethodError:
org.kohsuke.groovy.sandbox.SandboxTransformer.mightBePositionalArgumentConstructor(Lorg/codehaus/groovy/ast/expr/VariableExpression;)Z
        at 
com.cloudbees.groovy.cps.SandboxCpsTransformer.visitAssignmentOrCast(SandboxCpsTransformer.java:93)
        at 
com.cloudbees.groovy.cps.CpsTransformer$42.run(CpsTransformer.java:1171)
        at 
com.cloudbees.groovy.cps.CpsTransformer.makeChildren(CpsTransformer.java:446)*

*Note: I did a few findings about issue *

* 1). Groovy libraries and groovy plugin issue*

*Not sure how to proceed to fix this issue.*

*Thanks in advance for your help.*



On Wed, Mar 29, 2023 at 3:34 PM 'Nikolay Sorokin' via Jenkins Users <
[email protected]> wrote:

> Hi Ashok,
>
> To find the answers to the questions asked by your boss I would like to
> have more details about your Jenkins environment, both for 2.176.1 version
> and the version you are testing. The initial  information I'll be looking
> for include:
> - what operation system is used for both instances: MAC OS for jenkins,
> which is currently facing issues and another one is using RHEL7.9
> - how Jenkins is installed, i.e. what application server is used, how it
> is started, etc.; Java -jar jenkins.war , application server- Tomcat
> - how different versions of Java are installed: Java -1.8
>
> Additional information may be required further.
>
> If you wish to keep this information confidential you may send it to me
> directly to [email protected]
>
> As to upgrade path: your initial Jenkins is really too old and most likely
> there is no upgrade path from your version to the latest one - there were
> too many changes in Jenkins API. However you may try to migrate the
> required jobs from old system to a new one.
>
> With best regards,
> Nick
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/702099d5-5341-4a80-aa68-5d343703ea17n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/702099d5-5341-4a80-aa68-5d343703ea17n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKRLcHi3xN9ebwfQPZyZH_W83%2BTB8vp9ncH%3D3%2BaN1h7VKLZnEw%40mail.gmail.com.

Reply via email to