SAP Knowledge Base Article - Public

2796038 - Cloud Print Manager Not Showing the Print Queues or With Error "Connection test failed Object reference not set to an instance of an object"


You have installed Cloud Print Manager (CPM), however you are not able to configure the print queues, you face the following error:

"Connection test failed: Object reference not set to an instance of an object."

Or, after configuring the print queues you are seeing an yellow icon next to system URL.

Or, in the error logs there are messages similar to:

*** ERROR *** [6] Object reference not set to an instance of an object. GetAllPrintQueues in DocumentsAvailable (2) ***** [ DocumentsAvailable in RetrievalManager.cs at line 894 ] *****


  • SAP Business ByDesign
  • SAP Cloud for Customer 


The yellow icon indicates an network issue. The Cloud Print Manager is not able to communicate to the system, however the root cause could be more then one.


 There are some steps to be performed to correct this problem:

1) Proxy Settings - If you are using proxy you can configure it sirectly inside the CPM.

  1. Click on Settings.
  2. Select Proxy.
  3. Choose the correct option and fill the proxy configuration.

2) Security Protocol - Select a different Transport Layer Security:

  1. Click on Settings.
  2. Select Security Protocol.
  3. Choose a different Protocol in the list. The supported option is TLS 1.1 and TLS 1.2 only, TLS 1.0 is not supported anymore. 

3) PRT user - Change the password or create a new one.

  1. In ByD system, go to Application and User Management -> Print Queues.
  2. Edit your Print Queue and go to details tab.
  3. In the PRT user field try setting a new password. Now, try configuring the print queue in the CPM with the new password.
  4. If changing the password does not solve the problem, you can try creating a new PRT user. After creating the new PRT user, use it to configure the print queue in CPM. 

After changing one of theses options the CPM service will be restarted. If tis not happen, you must restart the services manually.

4) Connect the computer into a different network.

5) Install CPM in a different computer.

See Also

When setting or changing the password you need to follow this policy for Print User:

1) Password must be more than 8 characters.
2) The password must contain at least 2 letters(alphabets).
3) The password must contain at least 1 uppercase characters (A-Z)
4) The password must contain at least 1 digits (0-9).

See also: KBA 2046947 - How to Remove User Lock or Change the Password for Technical Print User


Cloud Print Manager; Print Queues; Connection test failed: Object reference not set to an instance of an object , KBA , AP-RC-OUT , Output Management , How To


SAP Business ByDesign 1902 ; SAP Cloud for Customer add-ins all versions