Hi,
I'm trying to run a simple LotusScript agent with debug LotusScript activated and a soon as i select it from the "Action" menu in Notes, the Notes client and Domino Designer crashes.
- It does that with any agent i try to run
- This is a new installation, that is my first try to run an agent on it
- The agent runs fine when not in debug LotusScript
I searched the web for this problem without any solution :-(
Anyone has an idea of what I should try next to investigate the problem?
Thanks in advance,
Pascal
Hi Pascal,
Notes and a Designer crashes in query save event handler if enabling LS Debugger is reported earlier with 9.0.1. We are advising to upgrade notes client version 9.0.1 FP10 IF8 or IF9. Please check the issue and confirm.
One can download it from the HCL software download portal - Flexnet
https://hclsoftware.flexnetoperations.com/flexnet/operationsportal/entitledDownloadFile.action?downloadFileId=17774397&downloadPkgId=HCL_DominoEntClientAccess_9.0.1
Hope this helps.
Regards,
Pravin
Thanks Pravin for the quick answer.
Unfortunately, I'm not allowed to upgrade to FP10 "yet". I won't have access to it for a bit of time.
The thing is that i'm the only dev in my shop who experiences this crash. We're all on FP8.
Any help on how I can find what causes the crash? I know some debug info is sent automatically... Is this info readable and usable locally?
Thanks again for your help!
Pascal
Hi Pascal,
It seems that you are the only one who is experiencing this error. You are working on Notes Client 9.0.1FP8.
I suggest to perform below basic troubleshooting steps.
1. Close Notes
2. Navigate to Data directory
Example:-"C:\Program Files (x86)\IBM\Notes\Data\"
3. Delete cache.ndk
4. Rename "workspace" folder to "workspace_old".
5. Start Notes and verify if the problem resolved.
Check if issue still persists after performing above steps.
If yes, then try to narrow down the issue by trying to run agent in debug mode from Basic mode of Notes client. I am assuming issue is appearing on Standard Notes Client 9.0.1FP8.
If issue is reproducible in both Basic as well as Standard, you can give a try to perform a clean installation again on impacted machine.
If that doesnot helps too, then you can enable few debug parameters and collects logs. Analyse those logs(as the logs are readable and stored in impacted machine itself) if they can give some idea. Else, create a case for HCL Support team along with logs so that further investigation can be done.
Sharing information about debug parameters and steps that can be performed to collect the logs.
Request you to add below parameters in the notes.ini now and collect the logs when Notes Client crashes again, but before deleting the cache.ndk.
Perform the following steps to add parameters to notes.ini:
a) Exit the Notes client
b) Open notes.ini. (Default path: C: \ Program Files (x86) \ IBM \ Notes \)
c) Add the following line to the end of the notes.ini file and press Enter. (Enter a line feed on the last line)
Debug_ThreadID = 1
Console_Log_Enabled = 1
CLIENT_CLOCK = 30
d) Save and close the file.
Once Notes Client crashes again, verify whether NSD logs generated under the IBM_Technical_Support folder in the Data directory by the Notes crash.
If yes, collect ISA logs from the system where the Notes client is installed. (From the menu bar of Notes client, go to [Help]-[Support]-[Collect Support Data] and click the "Collect" button.)
Note --> In steps above I am always mentioning Notes Client crash and not Designer crash. This is so because you not need to open the Designer as you are running agents from ACTION menu.
Hope information provided could help.
Regards,
Amit Sharma
Thanks for the amount of helpful info. I'll look into it.
For the moment, i've identified that the problem was a piece of code present in all the agents i was trying to debug (so my first assumption that it was ALL agents that cause the problem was false). This piece of code was referring to an included LSS and caused the designer to crash as soon as I entered debug mode. By commenting out this sub, i'm now able to run debug mode normally.
The weird thing is that my developer colleagues don't experience the crash with the same agent, same Notes version.
I'll let you know of any further discoveries.
Thanks again,
Pascal
Final solution on this bug... The debugger was crashing because a very large string of spaces was located on the end of a simple line of code. It was of course invisible in the Designer, we used VS Code to view the agent code and the string of spaces was clearly visible.
So after deleting this string of spaces the debugger didn't crash anymore!
Thanks to all for your help
Pascal
Thanks Pascal for sharing the information.
So, I assume at last this narrows down to one specific machine issue due to large number of string after one line of code.
I guess other developers were not facing this because at their end this space issues was not present.
Regards,
Amit Sharma