AnsweredAssumed Answered

SOLR index error after upgrading to 4.2.c

Question asked by supta on Jan 9, 2013
Latest reply on Feb 15, 2013 by bisana
I upgraded from 4.0.d to 4.2.c. Alfresco and Share are running with data from previous version but the search form doesn't work. I find following errors on log:

2013-01-09 09:19:40,750  ERROR [extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-2] Exception from executeScript - redirecting to status template error: 00090029 Wrapped Exception (with status template): 00090149 Problem converting to Freemarker using node archive://SpacesStore/ab856aec-3238-4adc-aad2-eb1e15c891c2
org.springframework.extensions.webscripts.WebScriptException: 00090029 Wrapped Exception (with status template): 00090149 Problem converting to Freemarker using node archive://SpacesStore/ab856aec-3238-4adc-aad2-eb1e15c891c2
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:533)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:276)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
   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:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 00090149 Problem converting to Freemarker using node archive://SpacesStore/ab856aec-3238-4adc-aad2-eb1e15c891c2
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$1.handleNodeMetaData(NodesMetaDataGet.java:198)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl$NodeMetaDataQueryRowHandler.processResult(SOLRTrackingComponentImpl.java:963)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:819)
   at sun.reflect.GeneratedMethodAccessor681.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy157.getNodesMetadata(Unknown Source)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:181)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   … 28 more
Caused by: org.alfresco.service.namespace.NamespaceException: A namespace prefix is not registered for uri com.global.workflow.model
   at org.alfresco.service.namespace.QName.toPrefixString(QName.java:414)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer$SOLRTypeConverter$2.convert(SOLRSerializer.java:231)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer$SOLRTypeConverter$2.convert(SOLRSerializer.java:228)
   at org.alfresco.service.cmr.repository.datatype.TypeConverter.convert(TypeConverter.java:112)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer.serializeToJSONString(SOLRSerializer.java:108)
   at org.alfresco.repo.web.scripts.solr.SOLRSerializer.serialize(SOLRSerializer.java:170)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$FreemarkerNodeMetaData.<init>(NodesMetaDataGet.java:297)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet$1.handleNodeMetaData(NodesMetaDataGet.java:193)
   … 40 more
Jan 09, 2013 9:19:47 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@2012a62d
Jan 09, 2013 9:19:52 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@1d07381a
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@6341ca20
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@48aa5cbc
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@66c6110e
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@7e097b49
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@1b825f7e
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@7bfd2956
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@7593a3b
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@74741bea
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@145b720a
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@27f756d4
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@7d0b646c
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@71e4364e
Jan 09, 2013 9:19:54 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@15234daa
Jan 09, 2013 9:19:55 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@6670a9e8
Jan 09, 2013 9:19:55 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@5d3028ef
Jan 09, 2013 9:19:55 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@5047f92d
Jan 09, 2013 9:19:55 AM org.alfresco.solr.tracker.CoreTracker indexNode
SEVERE: [Ljava.lang.StackTraceElement;@741c339f

How can I resolve this problem?

Outcomes