Hi Dirk, Is importPackages something in the script you are updating or you
believe comes from Groovy?

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Mar 4, 2022 at 9:16 PM Dirk Heinrichs <dhein...@opentext.com> wrote:

> Hi,
>
> while trying to update a set of Groovy scripts from 3.0.9 to 4.0.0, I get
> the following error when I run one of them:
>
> Caught: BUG! exception in phase 'semantic analysis' in source unit
> 'myscript.groovy' No such property: importPackages for class:
> org.codehaus.groovy.ast.ModuleNode
> BUG! exception in phase 'semantic analysis' in source unit
> 'myscript.groovy' No such property: importPackages for class:
> org.codehaus.groovy.ast.ModuleNode
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Caused by: groovy.lang.MissingPropertyException: No such property:
> importPackages for class: org.codehaus.groovy.ast.ModuleNode
> Caused by: groovy.lang.MissingPropertyException: No such property:
> importPackages for class: org.codehaus.groovy.ast.ModuleNode
>
> Any idea how to solve this?
>
> Thanks...
>
> Dirk
>
> --
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18
> *Email*: dhein...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan,
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
> Weitergabe dieser Mail sind nicht gestattet.
>

Reply via email to