Domino Designer 12.0.2 – Object and Agent list is empty  

By Ulrich Krause | 11/21/22 2:04 AM | Development - Notes / Domino | Added by Roberto Boccadoro

The issue applies to the 32 and 64 bit of the Domino Designer 12.0.2. It occurs in Forms, Views and Folders. Also, the issue only occurs when you open an application in Designer from the Notes workspace.

DOTS – “An error occurred while processing the command”  

By Ulrich Krause | 9/15/22 3:33 AM | Development - Notes / Domino | Added by Roberto Boccadoro

If you are using DOTS in Domino 12.x, you might have seen some NullPointer Exceptions after you have updated a DOTS plugin. Recommendation was to delete the complete workspace-dots folder prior to starting DOTS after the upgrade. This issue has been addressed in SPR# SJAAC3BNWV: DOTS – Workspace need to be deleted on every change and add of new plugin. With this fix it is no longer necessary to delete the workspace-dots folder. Not sure, when the fix was provided. There is no information about it in the fix list database. But this is only true for Domino on WINDOWS. If you are using DOTS with Domino on LINUX, you will see an error on the Domino server console ( “An error occurred while processing the command”) or even worse, the NullPointer Exceptions. The problem is that the underlying API in Domino does not delete files starting with a dot. (hidden files on UNIX systems).

NotesException: Object has been removed or recycled | eknori.de  

By Ulrich Krause | 9/5/22 2:06 AM | Development - Notes / Domino | Added by Roberto Boccadoro

A few days ago, a customer reported that one of our applications was not working properly and sent the associated logs. It was very quickly clear under what conditions the error occurred. So it was reproducible, which is the first important step to troubleshooting. Nevertheless, it took some time to locate the cause. Finally, I was able to find the “error”. To send it ahead. The “error” is not limited to a specific Domino version. The problem also occurs under Domino 9.0.1 FP10.

Documentation for (Notes)DominoQuery.execute (…) method is wrong  

By Ulrich Krause | 4/1/22 3:26 AM | Development - Notes / Domino | Added by Roberto Boccadoro

The documentation under https://help.hcltechsw.com/dom_designer/12.0.0/basic/H_EXECUTE_METHOD_NDQ.html#reference_ivd_gz3_cgb and https://help.hcltechsw.com/dom_designer/12.0.0/basic/H_EXECUTE_METHOD_JAVA.html is incomplete, because it does not list all variants for the execute method.

java.lang.UnsatisfiedLinkError: lotus/domino/local/Database.NRemoveAllQryNamedResults  

By Ulrich Krause | 3/24/22 1:11 PM | Development - Notes / Domino | Added by Oliver Busse

For those who are always ‘cutting edge’, here is a small hint that some of the new Java methods in the DominoResultsProcessor and Database class are not working on Domino 12.0.1 for Linux.

What Is New In Domino Designer (2022 edition)   

By Ulrich Krause | 3/24/22 1:11 PM | Development - Notes / Domino | Added by Oliver Busse

Here is the slide deck from my session “What is new in Domino Designer (2022 edition)”. The presentation was given at Domino Camp ’22 in March 2022.

Load JDBC SQL driver at runtime in DOTS and amgr  

By Ulrich Krause | 6/7/21 1:14 AM | Development - Notes / Domino | Added by Andi Kress

Recently there was a discussion in the German Notes forum about an error when loading a JDBC driver. https://atnotes.de/index.php/topic,63166.0.html To be clear, the problem has so far only occurred with the driver for MySQL. The driver used is the same as the one used for HCL Traveler when Traveler uses a MySQL database as backend datastore in HA mode.

Domino v 12 brings back Domino OSGi Tasklet Service (DOTS)  

By Ulrich Krause | 4/26/21 2:57 AM | Development - Notes / Domino | Added by Roberto Boccadoro

Domino 12 brings back DOTS. The feature was removed for an unclear reason in v 10. I had created a new idea in the HCL #dominoforever Product Ideas Portal on 26-MAR-2019. Barely 2 years later, DOTS is back. The first version was available in Domino v 12 Beta3 codedrop. It was not exactly, what I expected, and I had some discussion with Thomas Hampel and HCL Development.

Java agents with imported .jar files  

By Ulrich Krause | 3/22/21 2:10 AM | Development - Notes / Domino | Added by Andi Kress

Many of us Notes developers know the problem. You have developed a Java agent that contains methods from imported .jar files in addition to the actual code. When the agent is executed on a HCL Domino server, it works for a while ( sometimes longer, sometimes shorter ), but then causes problems due to memory leaks. The problem lies in the architecture of Domino. The imported .jar files are reloaded every time the agent is started and over time they use more and more RAM.

Mailrules extended ( 2021 edition )  

By Ulrich Krause | 3/1/21 1:38 AM | Development - Notes / Domino | Added by Roberto Boccadoro

A few years ago, more precisely in 2008, I already wrote about an extension of the Rules Engine in Notes / Domino. Although the existing programming covers a large part of users’ requirements, it would sometimes be desirable to be able to create more flexible rules.

“OneMK” – makefiles made easy  

By Ulrich Krause | 2/11/21 8:45 AM | Development - Notes / Domino | Added by Oliver Busse

HCL recently has released a new version of the C API Toolkit for Notes/Domino 11.0.1. I had already written about it here. Thomas Hampel reported that there will also be another release of the toolkit after the release of version 12 of Notes / Domino. In this version the makefiles will be included again, which are missing in version 11.0.1.

CAPI SDK 11.0.1 for HCL Notes / Domino released  

By Ulrich Krause | 2/8/21 2:45 AM | Development - Notes / Domino | Added by Roberto Boccadoro

HCL has released a new version of the CAPI SDK on Flexnet. The version number has increased from 9.0.1 to 11.0.1. Unfortunately, the changes are not documented. The “whats new” view only shows the changes in V9.0.1. Therefore I did a comparison of the versions myself. Here is what I found.

Create random files with random content with Java  

By Ulrich Krause | 11/16/20 4:28 AM | Development - Notes / Domino | Added by Roberto Boccadoro

I was playing with DAOS in Domino 12 recently and needed a way to create thousands of test files with a given file size and random content. I did not want to use existing files with real data for my tests. There are several programs available for Linux and Windows. Google for it. But as a developer, I should be able to create my one tool. Here is some sample Java code that uses java.util.Random to create filnames and content in an easy way.

Update HTTPPassword item in names.nsf (backend)  

By Ulrich Krause | 10/26/20 3:29 AM | Development - Notes / Domino | Added by Roberto Boccadoro

Yesterday, we ran into an issue with the HTTP Password in the person record in names.nsf. The problem occured after we upgraded the customers Domino server from V 9.0.1 to V11.0.1FP1. The customer has some backend processes installed that let them delegate the process of register, update and delete users and groups to different departments. One part of the process is a piece of code that sets the HTTP password in the person record. The issue was that the password was stored in clear text after upgrading the server. I looked into the design and could spot the root of the issue.

All New And Changed LotusScript Methods And Properties in V10 & V11  

By Ulrich Krause | 3/2/20 2:10 AM | Development - Notes / Domino | Added by Roberto Boccadoro

All New And Changed LotusScript Methods And Properties in V10 & V11

Access NotesDatabase Options (extended)  

By Ulrich Krause | 8/31/19 6:44 AM | Development - Notes / Domino | Added by John Oldenburger

GetOption was introduced to the NotesDatabase class in V6. It allows to determine, if specific options are set or not. By design, it only accesses $dboptions1 from the database. Other options are stored in $dboptions2 – 4. Those option bits are not accessible using NotesDatabase.getOption(optionName%).