AnsweredAssumed Answered

Upload new version issue

Question asked by govinda on Dec 5, 2014
Hi,

I am getting the following exception in our environment while check in the new version of a document.Basically I am facing this issue when I am trying to upload a new version.
<!–break–>
09:49:11,151 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11050014 Unexpected error occurred during upload of new content.
org.springframework.extensions.webscripts.WebScriptException: 11050014 Unexpected error occurred during upload of new content.
               at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1053)
               at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
               at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:433)
               at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
               at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
               at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
               at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
               at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
               at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
               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.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
               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:501)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
               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:408)
               at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
               at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
               at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
               at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
               at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.UnsupportedOperationException: Can not find {http://www.alfresco.org/model/content/1.0}lockable.CheckIn
               at org.alfresco.repo.security.permissions.impl.model.PermissionModel$MutableState.getPermissionReference(PermissionModel.java:1000)
               at org.alfresco.repo.security.permissions.impl.model.PermissionModel.getPermissionReference(PermissionModel.java:1847)
               at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.getPermissionReference(PermissionServiceImpl.java:1022)
               at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.hasPermission(PermissionServiceImpl.java:1042)
               at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:606)
               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
               at com.sun.proxy.$Proxy44.hasPermission(Unknown Source)
               at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryVoter.vote(ACLEntryVoter.java:606)
               at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:69)
               at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:398)
               at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
               at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
               at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:158)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
               at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
               at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
               at com.sun.proxy.$Proxy76.checkin(Unknown Source)
               at org.alfresco.repo.jscript.ScriptNode.checkin(ScriptNode.java:2496)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:606)
               at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
               at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
               at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
               at org.mozilla.javascript.gen.c90._c3(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js:251)
               at org.mozilla.javascript.gen.c90.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
               at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
               at org.mozilla.javascript.gen.c90._c0(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js:411)
               at org.mozilla.javascript.gen.c90.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
               at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
               at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
               at org.mozilla.javascript.gen.c90.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
               at org.mozilla.javascript.gen.c90.exec(classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js)
               at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:502)
               at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:200)
               at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
               at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
               at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
               at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1305)
               at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
               … 32 more

Any one has any idea ??

Outcomes