My Oracle Support Banner

NullPointerException after Logging into Webcenter Discussions 11g (Doc ID 877222.1)

Last updated on FEBRUARY 02, 2022

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.2.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

OVD (Oracle Virtual Directory) is used for user store and OVD was configured successfully as per the documentation here:

Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter 11g Release 1 (11.1.1)
14.3.6 Configuring the Discussions Server to Share the Identity Store LDAP Server

The authentication seems to work fine, as when specifying incorrect password then the following error message is returned straight away:

Invalid username or password. Please try again.


However, when specifying the correct credentials then the following exception is shown in the browser after a couple of seconds:

Error 500--Internal Server Error

java.lang.NullPointerException
at
com.jivesoftware.base.database.DbPermissionsManager.getFinalUserPerms(DbPermissionsManager.java:587)
at com.jivesoftware.forum.database.DbForumFactory.getPermissions(DbForumFactory.java:927)
at com.jivesoftware.forum.ForumFactory.getInstance(ForumFactory.java:98)
at com.jivesoftware.forum.action.ForumAuthInterceptor.getUserManager(ForumAuthInterceptor.java:24)
at
com.jivesoftware.base.action.interceptor.AuthInterceptor.processAwareInterfaces(AuthInterceptor.java
:60)
at com.jivesoftware.base.action.interceptor.AuthInterceptor.intercept(AuthInterceptor.java:43)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
at
com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor
.java:186)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)
at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
at com.jivesoftware.base.action.util.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:68)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at
com.jivesoftware.util.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter
.java:61)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at com.jivesoftwa
......


  WLS_Services-diagnostic.log, shows:

2009-07-24T08:10:32.341-04:00 WLS_Services ERROR] [ http://com.jivesoftware.Jive-ERR [tid:
[ecid:
0000IAgeoyq8dplj8taeKD1AQQFA00000H,0] APP: owc_discussions#11.1.1.1.0 ORA-00001: unique
constraint (DEV_DISCUSSIONS.SYS_C005799) violated[[
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint
(DEV_DISCUSSIONS.SYS_C005799) violated

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
at
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:
1350)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
at com.jivesoftware.base.ldap.LdapUser.insertIntoDb(LdapUser.java:774)
.....

 

WLS_Services.log, shows:

####<Jul 24, 2009 8:10:36 AM EDT> <Error> <HTTP> <iiahersoa01d>
<WLS_Services> <ACTIVE ExecuteThread: '1' for queue: 'weblogic.kernel.Default
(self-tuning)'> <> <1248437436700>
<BEA-101020> <[ServletContext@14212186[app:owc_discussions module:/owc_discussions
path:/owc_discussions spec-version:2.5 version:11.1.1.1.0]] Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:118)
at
com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:187)
at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:118)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.sendError(DispatcherUtils.java:479)
at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:238)
at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
at com.jivesoftware.base.action.util.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:68)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at
com.jivesoftware.util.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter
.java:61)

 

The same works fine when configuring the Embedded LDAP Server for Discussion as per documentation at:

Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter
14.3.7 Configuring the Discussions Server to Share the Identity Store Embedded LDAP Server


Steps To Reproduce:

1. Configure OVD for the LDAP store for Discussion as per the documentation:

Oracle Fusion Middleware Administrator's Guide for Oracle WebCenter 11g Release 1 (11.1.1)
14.3.6 Configuring the Discussions Server to Share the Identity Store LDAP Server

2. Try to login as a valid user, and notice the error above.

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.