Skip to content

After update to Fedora42 LDAP search failes with: java.lang.NullPointerException: Cannot read the array length because "<local9>" is null #5138

@cgrzemba

Description

@cgrzemba

Versions:
OS release: Fedora 42 (Server Edition)
OpenJRE 21
Dogtag PKI 11.6
using LDAP repository

Are these versions supported?

If I attempt to list certificates in tomcat https://ca.example.com/ca/agent/ca -- List Certificates

I get the HTTP response

The Certificate System has encountered an unrecoverable error.

Error Message:
java.lang.NullPointerException: Cannot read the array length because "" is null

Please contact your local administrator for assistance.

and in the /var/log/pki/pki-tomcat/ca/debug
2025-06-26 15:06:18 [CertStatusUpdateTask] FINE: LDAPRegistry: attribute is registered
2025-06-26 15:06:18 [CertStatusUpdateTask] INFO: LDAPSession.continuousPagedSearch(): Searching ou=certificateRepository, ou=ca,dc=ca,dc=example,dc=com for (&(certStatus=INVALID)(notBefore<=20250626150618Z))
2025-06-26 15:06:18 [CertStatusUpdateTask] WARNING: CertStatusUpdateTask: Cannot read the array length because "" is null
java.lang.NullPointerException: Cannot read the array length because "" is null
at com.netscape.cmscore.dbs.LDAPPagedSearch.getPage(LDAPPagedSearch.java:114)
at com.netscape.cmscore.dbs.LDAPPagedSearch.getPage(LDAPPagedSearch.java:95)

Who can I fix this problem?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions