IBM Support

java.lang.NullPointerException error is thrown when the password is not set for managed connection properties

Troubleshooting


Problem

During the outbound process, WebSphere Adapter for Enterprise Content Management throws the java.lang.NullPointerException when the password is not set for managed connection properties.

Symptom

The adapter throws the following error when the user name is set to valid values and the password is not set for managed connection properties and deployed and run on WebSphere Process Server during outbound process.

Error:
java.lang.NullPointerException
at javax.resource.spi.security.PasswordCredential.<init>(PasswordCredential.java:71)
at com.ibm.j2ca.base.WBIManagedConnectionFactory.getPasswordCredentialFromCRI(WBIManagedConnectionFactory.java:490)

Cause

Password is not set for managed connection properties before deploying the module at the runtime environment.

Resolving The Problem

Ensure that the password is set to the valid value before deploying the module at the runtime environment.

[{"Product":{"code":"SSMKUK","label":"WebSphere Adapters Family"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Adapter for Enterprise Content Management","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0.2","Edition":"WebSphere","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2018

UID

swg21449433