Social Graph API not working -> throws Exception!

Technote (troubleshooting)


Problem

Social Graph API not working -> throws Exception!
Social Graph does not work on several of customer's servers (6 out of 8).


Symptom

when calling
https://wwww.xxxx.com/search/atom/social/graph/list?

The server returns the following error:

<?xml version="1.0" encoding="UTF-8" ?>
- <error xmlns="http://www.ibm.com/xmlns/prod/sn">
<code>500</code>
<message>Ein Fehler ist aufgetreten</message>
<class>java.lang.ArrayIndexOutOfBoundsException</class>
<trace><![CDATA[com.ibm.connections.search.index.sand.evidence.SandEvidence.<init>(SandEvidence.java:32) com.ibm.connections.search.index.sand.graph.SocialNetwork.getEdges(SocialNetwork.java:56) com.ibm.connections.search.index.indexhandler.impl.LuceneIndexHandler.getSocialNetwork(LuceneIndexHandler.java:930) com.ibm.connections.search.index.sand.graph.GraphApi.getNetwork(GraphApi.java:142) com.ibm.connections.search.index.searching.requesthandler.GraphHandler.getNetworkResultsSet(GraphHandler.java:83) com.ibm.connections.search.servlets.SocialAPIServlet.handleNetworkRequest(SocialAPIServlet.java:257) com.ibm.connections.search.servlets.SocialAPIServlet.handle(SocialAPIServlet.java:156) com.ibm.connections.search.servlets.AbstractConnectionsServlet.doGet(AbstractConnectionsServlet.java:56) javax.servlet.http.HttpServlet.service(HttpServlet.java:575) javax.servlet.http.HttpServlet.service(HttpServlet.java:668) com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307) com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:562) com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:255) com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259) com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1225) com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775) com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457) com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178) com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97) com.ibm.connections.search.filters.UserInfoFilter.doFilter(UserInfoFilter.java:156) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.mt.TenantLookupFilter.doFilter(TenantLookupFilter.java:104) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.connections.search.filters.SessionValidationFilter.doFilter(SessionValidationFilter.java:92) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.auth.LCRestSecurityFilter.doFilter(LCRestSecurityFilter.java:241) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.auth.wasimpl.WasLCBasicAuthServiceImpl$1.run(WasLCBasicAuthServiceImpl.java:100) com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5459) com.ibm.ws.security.auth.ContextManagerImpl.runAsSpecified(ContextManagerImpl.java:5550) com.ibm.lconn.core.web.auth.wasimpl.WasLCBasicAuthServiceImpl.loginAndDoFilter(WasLCBasicAuthServiceImpl.java:106) com.ibm.lconn.core.web.auth.LCBasicAuthFilter.doFilter(LCBasicAuthFilter.java:70) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.cache.NoCacheFilter.doFilter(NoCacheFilter.java:51) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.atom.CSRFFilter.doFilter(CSRFFilter.java:105) com.ibm.lconn.core.web.atom.CSRFFilter.doFilter(CSRFFilter.java:50) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.auth.LCUserDataConstraintFilter.doFilter(LCUserDataConstraintFilter.java:84) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.util.lang.I18NFilter.doFilter(I18NFilter.java:267) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.util.Utf8CharsetFilter.doFilter(Utf8CharsetFilter.java:45) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.request.HttpRequestFilter.doFilter(HttpRequestFilter.java:129) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.lconn.core.web.customization.CustomizationFilter.doFilter(CustomizationFilter.java:140) com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195) com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928) com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025) com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87) com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908) com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195) com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:453) com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515) com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:306) com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:166) com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1691) ]]></trace>
</error>


Environment

Product or Service: Connections Core 4.5.X
Component ID: LO0031SLP
Operating System: Windows

Diagnosing the problem

a. Log in to the IBM WebSphere Application Server (WAS) administration console using an administrator ID
b. Go to Troubleshooting -> Logs and Trace -> Logging and Tracing -> Server 1 (or server Search is installed on) -> Diagnostic Trace Server
-> Change Log Detail Levels -> please add the following *string and click Apply -> OK


Component Trace:
com.ibm.lotus.connections.search.index.sand.*=all:com.ibm.lotus.connections.search.admin.index.impl.*=all

In case if you are seeing this issue on your production environment ,then please set it in runtime tab.


Resolving the problem

Restarting of the affected servers has resolved the problem for customer in this case.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Connections
Metrics

Software version:

4.0, 4.5

Operating system(s):

Windows

Reference #:

1651778

Modified date:

2014-05-28

Translate my page

Machine Translation

Content navigation