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(AbstractWebScript.java:970)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:275)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException

Outcomes