AnsweredAssumed Answered

Error when using Talend example

Question asked by hanu on Aug 8, 2009
Latest reply on Oct 18, 2013 by mdutoo
Hi,

I have installed Talend Open Studio3.1.3, and I run the etlconnector sample job, its giving some exception. Please find the exception below.
I am using alfresco community edition 3.2V

Exception in component tAlfrescoOutput_1
fr.openwide.talendalfresco.rest.client.RestClientException: Unspecified error
   at fr.openwide.talendalfresco.rest.client.AlfrescoRestClient.execute(AlfrescoRestClient.java:136)
   at test1.firstjob_0_1.FirstJob.tFileInputDelimited_1Process(FirstJob.java:610)
   at test1.firstjob_0_1.FirstJob.runJobInTOS(FirstJob.java:832)
   at test1.firstjob_0_1.FirstJob.main(FirstJob.java:735)
Caused by: fr.openwide.talendalfresco.rest.client.RestClientException: org.alfresco.error.AlfrescoRuntimeException07080006 Error during command servlet processing: org.alfresco.repo.importer.view.NodeContext.addProperty(Lorg/alfresco/service/namespace/QName;Ljava/lang/String;)V
   org.alfresco.web.app.servlet.CommandServlet.service(CommandServlet.java:197)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   fr.openwide.talendalfresco.rest.server.CommandAuthenticationFilter.doFilter(CommandAuthenticationFilter.java:118)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)
   sun.reflect.GeneratedMethodAccessor397.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   $Proxy188.doFilter(Unknown Source)
   org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   java.lang.Thread.run(Thread.java:619)

Caused by :java.lang.NoSuchMethodErrororg.alfresco.repo.importer.view.NodeContext.addProperty(Lorg/alfresco/service/namespace/QName;Ljava/lang/String;)V
   fr.openwide.talendalfresco.alfresco.importer.ViewParserBase.processProperty(ViewParserBase.java:678)
   fr.openwide.talendalfresco.alfresco.importer.ViewParserBase.processStartElement(ViewParserBase.java:301)
   fr.openwide.talendalfresco.alfresco.importer.ViewParserBase.parse(ViewParserBase.java:187)
   fr.openwide.talendalfresco.alfresco.importer.ContentImporterComponent.parserImport(ContentImporterComponent.java:257)
   fr.openwide.talendalfresco.alfresco.importer.ContentImporterComponentBase.importView(ContentImporterComponentBase.java:234)
   fr.openwide.talendalfresco.rest.server.command.ImportCommand.executeImpl(ImportCommand.java:133)
   fr.openwide.talendalfresco.rest.server.processor.RestCommandBase.executeRest(RestCommandBase.java:205)
   fr.openwide.talendalfresco.rest.server.processor.RestCommandProcessor.process(RestCommandProcessor.java:96)
   org.alfresco.web.app.servlet.CommandServlet.service(CommandServlet.java:155)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   fr.openwide.talendalfresco.rest.server.CommandAuthenticationFilter.doFilter(CommandAuthenticationFilter.java:118)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:74)
   sun.reflect.GeneratedMethodAccessor397.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:122)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   $Proxy188.doFilter(Unknown Source)
   org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   java.lang.Thread.run(Thread.java:619)

   at fr.openwide.talendalfresco.rest.client.AlfrescoRestClient.execute(AlfrescoRestClient.java:137)
   … 3 more

Outcomes