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.
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.
發佈於: 施耐德電機Taiwan


需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。