{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
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?
Issue
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.

Schneider Electric Singapore

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: