Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ease-dev] ReferenceError: “loadModule” is not defined

     Hello Christian.

     First of all, thanks for the answer. You are absolutely right, application is giving an NPE inside Rhino

new Packages.org.eclipse.ease.modules.EnvironmentModule().bootstrap();
   java.lang.NullPointerException
// use help("<topic>") to get more information
   <undefined>

     When I try to run the command manually, I get the following error

new Packages.org.eclipse.ease.modules.EnvironmentModule().bootstrap();
   ReferenceError: "Packages" is not defined.

      What could it be? 

      Regarding Java, we use Java 11 and Eclipse 2021-03. Here is the target file of the project:

      https://github.com/debrief/debrief/blob/develop/org.mwc.debrief.targetplatforms/eclipse-latest.target

      Thanks again.
      Greetings.
       Saul.

El mar, 17 ago 2021 a las 11:40, <Christian.Pontesegger@xxxxxxxxxxxx> escribió:

Hi,

 

loading of the base environment (including loadModule() methods and some more) happens through execution of following line of code in Rhino:

 

new Packages.org.eclipse.ease.modules.EnvironmentModule().bootstrap();

 

I guess you will get some error when trying to execute it.

 

Without more info I am bound to guessing:

·         Are you using eclipse 2021-03 as basis? EASE does not support that target platform due to a major bug in classloading

·         EASE requires Java 11 since some time. You will still see some UI components loaded with Java <11, but most things stopped working

 

The stacktraces posted on stackoverflow are not related to the core scripting functionality. They indicate that some popup help could not be displayed in the Modules Explorer view.

 

HTH

Christian

 

From: ease-dev <ease-dev-bounces@xxxxxxxxxxx> On Behalf Of Saul Hidalgo
Sent: Dienstag, 17. August 2021 11:30
To: ease-dev@xxxxxxxxxxx
Cc: Ian Mayo <ian@xxxxxxxxxxxxx>; Ian Mayo <ian@xxxxxxxxxxxxxx>
Subject: [ease-dev] ReferenceError: “loadModule” is not defined

 

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe.

 

     Good morning team.

 

     We are using Eclipse ease in a Eclipse Plugin application, and it was working well. However after updating from 0.6 to 0.8 We are having a LoadModule is not defined error.

 

 

     Has anyone had a similar error? What do you think could be wrong?

 

     Any help would be appreciated.

     Thanks.

     Regards

     Saul

_______________________________________________
ease-dev mailing list
ease-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ease-dev

Back to the top