Why do I get the dialog message Application has halted due to: Unhandled, java/lang/NullPointerException IVM: except.c: line 322 on a Magelis HMI?
Why do I get the dialog message "Application has halted due to: Unhandled, java/lang/NullPointerException IVM: except.c: line 322" on a Magelis HMI?
How do I avoid the message?
Product Line
Vijeo Designer, Magelis HMI
Environment
Physical HMI, Vijeo Designer configuration software on Windows
Cause
The NullPointerException errors are usually associated with the SRAM data being corrupted. If there are changes in a project with Alarms, Logging, Retentive variables configuration, Recipes, Security Settings, or Target System settings, and then the new project is downloaded to the HMI without clearing the SRAM, old data (that will now be orphaned) in the SRAM (when the HMI attempts to read from it during operation) can cause this error.
Also, if the system has frequent unscheduled power outages and it cannot use the System Operation "Exit Runtime" before shutdown of the HMI, it is recommended that a UPS battery backup be used for the HMI as the SRAM may be mid-write when the power-failure occurs and have incomplete/orphaned data accumulate over time.
Resolution
After changing an existing project in Vijeo Designer and on a subsequent download to a Magelis HMI, ensure you choose "Delete All Run-Time Data" when prompted.
You can also find this setting when you click "Preserve Run-Time Data" in the Target General settings when editing the project.
Publikováno pro: Schneider Electric Česká republika


Potřebujete pomoc?
Nástroj pro výběr produktů
Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.
Získejte nabídku
Poptejte se nás online a náš lokální specialista se s vámi spojí!
Kde nakoupit?
Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.
Centrum nápovědy
Zdroje podpory pro všechny své potřeby najdete na jednom místě.