The error messages "event failed: OPL IDE Event Dispatcher" and "event failed java.lang.NullPointerException" can occur due to several issues, including a problem with the OPL IDE, a problem with the Java runtime environment, or a problem with the optimization model.
A possible cause of the issue could be a problem with the memory allocation of the JVM (Java Virtual Machine) used by the OPL IDE. The JVM may not have enough memory to run the optimization model, which can cause the "event failed java.lang.NullPointerException" error.
Another possible cause could be the optimization model itself; it could have some syntax or logical errors causing the OPL IDE to crash.
One way to troubleshoot this issue is to run the optimization model using the command-line OPL interpreter (oplrun) instead of the OPL IDE. This will help determine whether the problem is with the OPL IDE or the model itself.
You can also increase the amount of memory allocated to the JVM by editing the eclipse.ini file. This is a text file located in the Eclipse installation directory and contains the configuration settings for the Eclipse environment.
If the problem persists, checking the log files generated by the OPL IDE or the OPL runtime is also recommended. These log files may contain more detailed information about the error that can help identify the cause of the problem.
In addition, it's also recommended to check the information from the system administrator and see if the computer is running low on memory or if there is a problem with the computer itself.
Sent: Tue January 24, 2023 02:22 AM
From: Archive User
Subject: Computer automatically shutdown while running ODME app in ODM Planner
Originally posted by: JianliR
Right now I'm working on an optimization project using ODME 3.7. I've reviewed the model a couple of times to make sure it's correct. However, when I was trying to run the application from ODME, I got error message saying "event failed: OPL IDE Event Dispatcher" and in the Details "event failed java.lang.NullPointerException". The optimization app is still running in Planner showing me the progress including the combined objective as well as a progress curve - everything looks it's good until the computer suddenly shuts down.
I tried to start the app using Planner with -debug option and redirect the output to a txt file (as too much output scrolling very quickly) but ended up empty file. I wonder anybody here has encountered the same problem before and even better what's the cause?
Thanks in advance!