AnsweredAssumed Answered

Clicking on tag brings up incorrect number of docs (4.0.d)

Question asked by jackjm on Jun 5, 2012
Hello all

We are testing out Alfresco and a group of us tagged a bunch of documents and everything was fine. After a week or so; another bunch got together and tagged another set of documents; but the TagManager has not picked up on the new tags and they are not listed in TagManager.

In Alfresco share; on the left hand column there is a correct tally of the tags (old + new) and the number of documents that have used that tag. *BUT* when we click on a tag; it brings up documents that were tagged _only_ the first time and not the second. I initially thought this might be an indexing issue but enough time (> 2 weeks) have passed; so there is some inconsistency somewhere since one component and compute the tag and number of documents accurately but another component cannot bring up this information.

There has been nothing spurious in the logs; there has always been an error message (since the install and before we tagged for the first time) but I am including it below just in case. I have also tried 'synchronizing' the tags as mentioned in a blog post on the Alfresco blogs; but it didn't seem to help

Any suggestions to debug will be greatly appreciated. Thanks much

BTW, the system we are testing is v4.0.d community on a windows 2008 server

Here is the error message that gets logged just in case; thanks again for your time

2012-06-05 16:10:02,353  ERROR [extensions.webscripts.AbstractRuntime] [http-8443-5] Exception from executeScript - redirecting to status template error: 0505103410 Wrapped Exception (with status template): null
org.springframework.extensions.webscripts.WebScriptException: 0505103410 Wrapped Exception (with status template): null
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(
   at javax.servlet.http.HttpServlet.service(
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(
   at org.apache.catalina.core.StandardWrapperValve.invoke(
   at org.apache.catalina.core.StandardContextValve.invoke(
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
   at org.apache.catalina.core.StandardHostValve.invoke(
   at org.apache.catalina.valves.ErrorReportValve.invoke(
   at org.apache.catalina.core.StandardEngineValve.invoke(
   at org.apache.catalina.connector.CoyoteAdapter.service(
   at org.apache.coyote.http11.Http11Processor.process(
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Caused by: java.lang.NullPointerException