I have an app that uses multiple LotusScript libraries that contain class (object-oriented) definitions. When I make a change to one of libraries and replicate it to the server it completely hangs the server.
There are no bugs in the code and when the server is restarted, everything functions normally.
My best theory is it may be how I have the libraries “cross-referenced” through the use of “Use” statements. I can consolidate these libraries into fewer script libraries, but I’m not sure if this will help.
Here is the basic structure of the script libraries:
LibMainClass
-
Use “LibWord”
-
Use “LibConfig”
-
Use “LibUsers”
-
Use “LibDocTypes”
LibDocTypes
-Use “LibWord”
LibFiles
-
Use “LibConfig”
-
Use “LibUsers”
LibWord
- Use “LibFiles”
As you can see libraries are sometimes included “twice” in a hierarchy (for instance “LibConfig”, “LibUsers”, “LibWord”). Is this inherently bad? Is this documented anywhere? It the server choking because of this?