- We have 4 Panels with init scripts. In this scripts we have to modify (at the very last step) a global variable
- When the users changes faster than normal between the Panels, WinCC OA logs an error message, that the thread is stopped while executing an init script
- In this situation the System gets instable (e.g. garbaged screen layouts, Panel references are not displayed anymore, etc …)
- After further navigation between the screens, the ui process crashed without any further log message
The panels are all loaded into a module (using the swipe gesture).
The log message is
Code: Select all
WCCOAui (1), 2018.11.07 11:57:02.325, CTRL, SEVERE, 176, Uncaught exception in thread started at main:
WCCOAui (1), 2018.11.07 11:57:02.324, CTRL, WARNING, 26/ctrl,
Module: Vision_21
Panel: ...
Script: Initialize
In panel scope library: ...\\index.xml []
Line: 240, Der Thread wurde gestoppt, bevor die aufgerufene Funktion fertig war
Question:
- Is there any possiblity to to prevent this situation, i.e. we can handle it by code? E.g. using a try / catch block
- Is it possible to configure the system not to stop execution?
With best regards
Frank Lindecke