On one of my projects, someone connected to the web visu and caused the PLC to crash.
I can see a message in the logs: "Get-Property will crash because it did not evaluate to a valid getter. Is there an inbetween null value in nested properties?." But I haven't been able to reproduce it, so I don't know which visu or element is causing it.
I've seen this error before, when trying to use the visu text editor element while "Activate property handling in all elements properties" is checked in the Project Settings. This is apparently a known issue in the Schneider Machine Expert implementation of Codesys.
So far Schneider tech support hasn't been able to answer questions about it. Where could I find information about this error? Knowing that it might be connected to the text editor element (which I'm not using in my project), are there other elements that use the same underlying code that might cause this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
Is a template from a library with interfaces used somewhere in your visu or do you use something like that yourself? The error occurs because an attempt is made to access a property of an uninitialized interface... it would be nice if the error could be reproduced. Then you could activate "stop execution on handled exception" in Codesys. Maybe the two links here will help you:
On one of my projects, someone connected to the web visu and caused the PLC to crash.
I can see a message in the logs: "Get-Property will crash because it did not evaluate to a valid getter. Is there an inbetween null value in nested properties?." But I haven't been able to reproduce it, so I don't know which visu or element is causing it.
I've seen this error before, when trying to use the visu text editor element while "Activate property handling in all elements properties" is checked in the Project Settings. This is apparently a known issue in the Schneider Machine Expert implementation of Codesys.
So far Schneider tech support hasn't been able to answer questions about it. Where could I find information about this error? Knowing that it might be connected to the text editor element (which I'm not using in my project), are there other elements that use the same underlying code that might cause this?
hi,
Is a template from a library with interfaces used somewhere in your visu or do you use something like that yourself? The error occurs because an attempt is made to access a property of an uninitialized interface... it would be nice if the error could be reproduced. Then you could activate "stop execution on handled exception" in Codesys. Maybe the two links here will help you:
https://faq.codesys.com/display/CDSFAQ/Debugging+a+Visu+Exception
https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_crash_diagnosis.html