1 Reply Latest reply on Sep 11, 2007 7:51 AM by ajohnson1200

    User Not Found Exceptions

      I see several UserNotFoundExceptions in my CS 1.4 error logs (see example below).

       

      Two questions..

      1. What is looking for the missing users? I can't track it down to anything an end user is doing.

      2. Where might the users records have gone?  I didn't delete them. I'm not sure there were every any users by the IDs in question.

       

       

      com.jivesoftware.base.UserNotFoundException: Failed to read user with ID 2024 from database.

      at com.jivesoftware.base.database.DbUser.loadFromDb(DbUser.java:719)

      at com.jivesoftware.base.database.DbUser.loadUser(DbUser.java:176)

      at com.jivesoftware.base.profile.UserManagerImpl.loadInternalUser(UserManagerImpl.java:238)

      at com.jivesoftware.base.profile.UserManagerImpl.getUser(UserManagerImpl.java:199)

      at com.jivesoftware.community.action.ViewProfile.getSimilarUsers(ViewProfile.java:743)

      at sun.reflect.GeneratedMethodAccessor2442.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:615)

      at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)

      at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:904)

      at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:54)

      at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:122)

      at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57)

      at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)

      at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:102)

      at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)

      at ognl.ASTProperty.getValueBody(ASTProperty.java:96)

      at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)

      at ognl.SimpleNode.getValue(SimpleNode.java:210)

      at ognl.Ognl.getValue(Ognl.java:333)

      at ognl.Ognl.getValue(Ognl.java:310)

      at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:192)

      at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:224)

      at com.opensymphony.webwork.views.freemarker.ScopesHashModel.get(ScopesHashModel.java:51)

      at freemarker.core.Environment.getGlobalVariable(Environment.java:979)

      at freemarker.core.Environment.getVariable(Environment.java:965)

      at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)

      at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

      at freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:636)

      at freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:647)

      at freemarker.core.AndExpression.isTrue(AndExpression.java:68)

      at freemarker.core.ParentheticalExpression.isTrue(ParentheticalExpression.java:66)

      at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)

      at freemarker.core.Environment.visit(Environment.java:196)

      at freemarker.core.MixedContent.accept(MixedContent.java:92)

      at freemarker.core.Environment.visit(Environment.java:196)

      at freemarker.core.Environment.process(Environment.java:176)

      at freemarker.template.Template.process(Template.java:232)

      at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153)

      at com.jivesoftware.community.web.webwork.FreemarkerResult.doExecute(FreemarkerResult.java:130)

      at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)

      at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)

      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)

      at com.jivesoftware.community.web.webwork.FlashInterceptor.intercept(FlashInterceptor.java:40)

      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

      at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)

      at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)

      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

      at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)

      at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)

      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.jivesoftware.community.web.webwork.JiveObjectLoaderInterceptor.intercept(JiveObjectLoaderInterceptor.java:55)

      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.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)

      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.I18nInterceptor.intercept(I18nInterceptor.java:151)

      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.jivesoftware.community.web.webwork.JiveIOCInterceptor.intercept(JiveIOCInterceptor.java:694)

      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

      at com.jivesoftware.community.action.LocaleInterceptor.intercept(LocaleInterceptor.java:71)

      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

      at com.jivesoftware.community.web.webwork.AuthInterceptor.intercept(AuthInterceptor.java:60)

      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)

      at com.jivesoftware.community.web.webwork.JiveLoginInterceptor.intercept(JiveLoginInterceptor.java:42)

      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.jivesoftware.community.web.webwork.ModuleCheckInterceptor.intercept(ModuleCheckInterceptor.java:49)

      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.community.web.webwork.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:53)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

      at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.jivesoftware.community.web.JiveActionContextCleanUp.doFilter(JiveActionContextCleanUp.java:46)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.jivesoftware.community.web.filter.PresenceFilter.doFilter(PresenceFilter.java:106)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at org.directwebremoting.servlet.DwrWebContextFilter.doFilter(DwrWebContextFilter.java:91)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.jivesoftware.community.upgrade.UpgradeFilter.doFilter(UpgradeFilter.java:43)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.jivesoftware.base.plugin.PluginFilter.doFilter(PluginFilter.java:71)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.jivesoftware.base.database.dao.DAOContextCleanUpFilter.doFilter(DAOContextCleanUpFilter.java:32)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)

      at com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:96)

      at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)

      at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:718)

      at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)

      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)

      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)

      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)

      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)

      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)

      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

      at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)

      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

        • Re: User Not Found Exceptions

          hi cmacha,

           

          The key in that stack trace is the line:

           

          ViewProfile.getSimilarUsers

           

          which tells me that the problem is that there is a user in the user search index that doesn't exist any longer. Can you try rebuilding the user search index?  Admin Console --> Settings --> Search --> User Search.

           

          Cheers,

           

          AJ