My Oracle Support Banner

Content Tracker Throws java.lang.NullPointerException When Invoking CHECK_USER_CREDENTIALS From Custom Java Code/Component (Doc ID 970236.1)

Last updated on MAY 09, 2023

Applies to:

Oracle WebCenter Content - Version 10.0 and later
Information in this document applies to any platform.

Symptoms

When Content Tracker is installed and enabled as a component, using a custom component that calls CHECK_USER_CREDENTIALS will fail with the following stack:

Unable to check credentials of user. Unable to execute service method 'remoteCredentialsCheck'. (System Error: Runtime error:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at intradoc.data.DataBinder.putLocal(DataBinder.java:1212)
at intradoc.server.SctUserService.remoteCredentialsCheck(SctUserService.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:128)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:113)
at intradoc.server.Service.doCodeEx(Service.java:505)
at intradoc.server.Service.doCode(Service.java:470)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
at intradoc.server.Service.doAction(Service.java:450)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
at intradoc.server.Service.doActions(Service.java:445)
at YourCustomService.checkCredentials(TestService.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:128)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:113)
at intradoc.server.Service.doCodeEx(Service.java:505)
at intradoc.server.Service.doCode(Service.java:470)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
at intradoc.server.Service.doAction(Service.java:450)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
at intradoc.server.Service.doActions(Service.java:445)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
at intradoc.server.Service.executeActions(Service.java:431)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
at intradoc.server.Service.doRequest(Service.java:1709)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:195))


As a result, Content Tracker can not be used in environments where custom components invoke the CHECK_USER_CREDENTIALS service.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.