I am having issues with uploader plus add-on.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Established Member

I am having issues with uploader plus add-on.

 I have three sites, uploader plus is working fine for two of them and for the third one, throws an exception and error pop up says "operation failure". 

uploader plus is working fine for the individual folders. but issue comes when we are applying this to the documentLibrary folder of a particular website.

and the exception is -

2017-08-23 12:00:13,170  ERROR [freemarker.runtime] [http-apr-8080-exec-10] Error executing FreeMarker template  FreeMarker template error: get(properties) failed on instance of org.alfresco.repo.template.TemplateNode. See cause exception.  The failing instruction (FTL stack trace): ---------- ==> ${node.properties.name!js_string} aut...  [in template "uploader-plus/upload-folders-new.post.json.ftl" at line 6, column 41] ----------  Java stack trace (for programmers): ---------- freemarker.template.TemplateModelException: [... Exception message was already printed; see it above ...]      at freemarker.ext.beans.BeanModel.get(BeanModel.java:222)      at freemarker.core.Dot._eval(Dot.java:76)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.Dot._eval(Dot.java:74)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:116)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.ListLiteral.getModelList(ListLiteral.java:126)      at freemarker.core.MethodCall._eval(MethodCall.java:94)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115)      at freemarker.core.DollarVariable.accept(DollarVariable.java:76)      at freemarker.core.Environment.visit(Environment.java:265)      at freemarker.core.MixedContent.accept(MixedContent.java:93)      at freemarker.core.Environment.visit(Environment.java:265)      at freemarker.core.EscapeBlock.accept(EscapeBlock.java:85)      at freemarker.core.Environment.visit(Environment.java:265)      at freemarker.core.Environment.process(Environment.java:243)      at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:230)      at org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:967)      at org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)      at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)      at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)      at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)      at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)      at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)      at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException      at sun.reflect.GeneratedMethodAccessor606.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:498)      at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)      at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:275)      at freemarker.ext.beans.BeanModel.get(BeanModel.java:182)      ... 58 more Caused by: java.lang.NullPointerException      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)      at com.google.common.cache.LocalCache.getIfPresent(LocalCache.java:3953)      at com.google.common.cache.LocalCache$LocalManualCache.getIfPresent(LocalCache.java:4758)      at org.alfresco.repo.cache.DefaultSimpleCache.get(DefaultSimpleCache.java:133)      at org.alfresco.repo.cache.TransactionalCache.getSharedCacheValue(TransactionalCache.java:454)      at org.alfresco.repo.cache.TransactionalCache.get(TransactionalCache.java:641)      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.getTagSummary(TagScopePropertyMethodInterceptor.java:186)      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:127)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:181)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:219)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)      at com.sun.proxy.$Proxy22.getProperties(Unknown Source)      at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:498)      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)      at com.sun.proxy.$Proxy22.getProperties(Unknown Source)      at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:498)      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)      at org.alfresco.repo.audit.DisableAuditableBehaviourInterceptor.invoke(DisableAuditableBehaviourInterceptor.java:120)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:256)      at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:216)      at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:171)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:86)      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)      at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:76)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)      at com.sun.proxy.$Proxy22.getProperties(Unknown Source)      at org.alfresco.repo.template.TemplateNode.getProperties(TemplateNode.java:269)      ... 64 more 2017-08-23 12:00:13,192  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-10] Exception from executeScript: 07230026 Wrapped Exception (with status template): 07230000 Error during processing of the template 'get(properties) failed on instance of org.alfresco.repo.template.TemplateNode. See cause exception.  The failing instruction: ==> ${node.properties.name!js_string} aut...  [in template "uploader-plus/upload-folders-new.post.json.ftl" at line 6, column 41]'. Please contact your system administrator.  org.springframework.extensions.webscripts.WebScriptException: 07230026 Wrapped Exception (with status template): 07230000 Error during processing of the template 'get(properties) failed on instance of org.alfresco.repo.template.TemplateNode. See cause exception.  The failing instruction: ==> ${node.properties.name!js_string} aut...  [in template "uploader-plus/upload-folders-new.post.json.ftl" at line 6, column 41]'. Please contact your system administrator.      at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1138)      at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)      at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:519)      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)      at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428)      at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308)      at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)      at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)      at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)      at java.lang.Thread.run(Thread.java:745) Caused by: org.alfresco.service.cmr.repository.TemplateException: 07230000 Error during processing of the template 'get(properties) failed on instance of org.alfresco.repo.template.TemplateNode. See cause exception.  The failing instruction: ==> ${node.properties.name!js_string} aut...  [in template "uploader-plus/upload-folders-new.post.json.ftl" at line 6, column 41]'. Please contact your system administrator.      at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:234)      at org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:967)      at org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)      at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)      ... 37 more Caused by: freemarker.template.TemplateModelException: get(properties) failed on instance of org.alfresco.repo.template.TemplateNode. See cause exception.  The failing instruction: ==> ${node.properties.name!js_string} aut...  [in template "uploader-plus/upload-folders-new.post.json.ftl" at line 6, column 41]      at freemarker.ext.beans.BeanModel.get(BeanModel.java:222)      at freemarker.core.Dot._eval(Dot.java:76)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.Dot._eval(Dot.java:74)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.DefaultToExpression._eval(DefaultToExpression.java:116)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.ListLiteral.getModelList(ListLiteral.java:126)      at freemarker.core.MethodCall._eval(MethodCall.java:94)      at freemarker.core.Expression.eval(Expression.java:111)      at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115)      at freemarker.core.DollarVariable.accept(DollarVariable.java:76)      at freemarker.core.Environment.visit(Environment.java:265)      at freemarker.core.MixedContent.accept(MixedContent.java:93)      at freemarker.core.Environment.visit(Environment.java:265)      at freemarker.core.EscapeBlock.accept(EscapeBlock.java:85)      at freemarker.core.Environment.visit(Environment.java:265)      at freemarker.core.Environment.process(Environment.java:243)      at org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:230)      ... 40 more Caused by: java.lang.reflect.InvocationTargetException      at sun.reflect.GeneratedMethodAccessor606.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:498)      at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:912)      at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:275)      at freemarker.ext.beans.BeanModel.get(BeanModel.java:182)      ... 58 more Caused by: java.lang.NullPointerException      at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)      at com.google.common.cache.LocalCache.getIfPresent(LocalCache.java:3953)      at com.google.common.cache.LocalCache$LocalManualCache.getIfPresent(LocalCache.java:4758)      at org.alfresco.repo.cache.DefaultSimpleCache.get(DefaultSimpleCache.java:133)      at org.alfresco.repo.cache.TransactionalCache.getSharedCacheValue(TransactionalCache.java:454)      at org.alfresco.repo.cache.TransactionalCache.get(TransactionalCache.java:641)      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.getTagSummary(TagScopePropertyMethodInterceptor.java:186)      at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:127)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:181)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:219)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)      at com.sun.proxy.$Proxy22.getProperties(Unknown Source)      at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:498)      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)      at com.sun.proxy.$Proxy22.getProperties(Unknown Source)      at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:498)      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)      at org.alfresco.repo.audit.DisableAuditableBehaviourInterceptor.invoke(DisableAuditableBehaviourInterceptor.java:120)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:256)      at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:216)      at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:171)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:86)      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)      at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:76)      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)      at com.sun.proxy.$Proxy22.getProperties(Unknown Source)      at org.alfresco.repo.template.TemplateNode.getProperties(TemplateNode.java:269)      ... 64 more
3 Replies
Highlighted
Established Member

Re: I am having issues with uploader plus add-on.

I have tried curl command using noderef id.

curl -uadmin:admin -X POST http://localhost:8080/alfresco/service/uploader-plus/upload-folders-new/workspace/SpacesStore/8f2105...
got result-----

{
"status": 0,
"node": {
"nodeRef": "workspace://SpacesStore/9b38e1b6-7d8c-4504-bb97-97aac47e225d",
"path": "/Company Home/Sites/testSite/documentLibrary",
"allowedTypes": []
}
}
this was correct and uploader plus was working fine for this node.

another one--
curl -uadmin:admin -X POST http://localhost:8080/alfresco/service/uploader-plus/upload-folders-new/workspace/SpacesStore/00b4b7...

and the result ----

{
"status" :
{
"code" : 500,
"name" : "Internal Error",
"description" : "An error inside the HTTP server which prevented it from fulfilling the request."
},

"message" : "07240089 Wrapped Exception (with status template): 07240021 Error during processing of the template 'get(properties) failed on instance of org.alfresco.repo.template.TemplateNode. See cause exception.\n\nThe failing instruction:\n==> ${node.properties.name!js_string} auto-escaped [in template "uploader-plus/upload-folders-new.post.json.ftl" at line 6, column 31]'. Please contact your system administrator.",
"exception" : "",

"callstack" :
[

],

"server" : "Community v5.2.0 (r135134-b14) schema 10,005",
"time" : "Aug 24, 2017 4:26:20 PM"
}

here the issue for this documentLibrary folder.

Highlighted
Professional

Re: I am having issues with uploader plus add-on.

Just looking at your error stack I would compare the name property of the nodes that work with the ones that don't and see if that offers any clues.

You might also want to create an issue on the uploader plus github page. You might have a better chance of getting a response from people directly familiar with that code.

Highlighted
Established Member

Re: I am having issues with uploader plus add-on.