we have the following problem:
(Version: PVSS V3.9)
- Sometimes part of an object based on the stdLib is not visible.
- The problem appears only sporadically. We have found no way to reproduce it. Changing the panel does solve the problem for the moment.
- This happens only on some clients (seems to be always the same clients, but not 100% sure).
- The log states that the variable "shapeForm" (defined in scopeLib in objects\\symbols_enum\\stdlib_enumObject_1.pnl) is not defined.
- The variable is normally written to inside the Initialize script of the "stdlib_enumObject_1.pnl" panel.
- Since the variable "shapeform" has no correct value (because of the error) the function "panelSetVisibility" (also inside scopeLib of stdlib_enumObject_1.pnl but called from somewhere out of the stdLib) does not set the correct shape visible.
- The object stdlib_enumObject_1.pnl has not been modified.
- The variable not defined error also appears for other objects.
Since this does seem to happen only on some clients I suspect the problems with the clients but I can't find any problems.
I also don't see how this could happen at all. The variable inside the scopeLib should always be defined.
Does anyone have an idea what could be the problem or hints how to troubleshoot this problem?
The "Assignment to this expression impossible" error also comes right before the "Variable not defined" error, but I'm not sure this is always the case, but it seems like it looking through the logs.
Code: Select all
PVSS00ui (121), 2017.09.15 07:03:45.193, CTRL, WARNING, 78, Assignment to this expression impossible,
Module: mainModule_2
Panel: aaa.pnl []
Object: 2 named: "symbol_rect" of type: RECTANGLE
In reference: objects\\symbols_enum\\stdlib_enumObject_1.pnl Group: 2 named: "PANEL_REF2"
used in: bbb.pnl Group: 477 named: "PANEL_REF477"
Script: Initialize
Line: 12,
PVSS00ui (121), 2017.09.15 07:03:45.194, CTRL, SEVERE, 176, Uncaught exception in thread startet at main:
PVSS00ui (121), 2017.09.15 07:03:45.193, CTRL, SEVERE, 73, Variable not defined,
Module: mainModule_2
Panel: aaa.pnl []
Object: 2 named: "symbol_rect" of type: RECTANGLE
In reference: objects\\symbols_enum\\stdlib_enumObject_1.pnl Group: 2 named: "PANEL_REF2"
used in: bbb.pnl Group: 477 named: "PANEL_REF477"
Script: Initialize
Line: 12, shapeForm
Stacktrace:
1: main() at [Module: mainModule_2 Panel: aaa.pnl Object: symbol_rect Script: Initialize]:12Best regards
Dennis Bindernagel