AnsweredAssumed Answered

FilePicker Error

Question asked by howejr77 on Sep 4, 2008
Latest reply on Dec 3, 2008 by jgrocha
Hello,

I'm experiencing a problem I was wondering if anyone has possibly seen. I'm not sure if I just open an issue as my searches don't show any other similar posts.

From what I can tell, if I am in my sandbox and I delete a folder but DO NOT SUBMIT the change to staging and I try to then Create Web Content with a Web Form that uses the FilePicker Widget, when I try to expand FilePicker and actually go to select a file, I get a red error message across the top of the screen:

XMLHttpTransport Error: 500 Failed to execute method FilePickerBean.getFilePickerData: Exception in Transaction.

Here is a chunk of the associated stack trace, which indicates it can't find the folder I've deleted in my sandbox:


11:59:05,912 ERROR [alfresco.ajax] Failed to execute method FilePickerBean.getFilePickerData: Exception in Transaction.
org.alfresco.error.AlfrescoRuntimeException: Exception in Transaction.
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:335)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:171)
        at org.alfresco.web.app.servlet.ajax.InvokeCommand.execute(InvokeCommand.java:167)
        at org.alfresco.web.app.servlet.ajax.AjaxServlet.service(AjaxServlet.java:148)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.web.app.servlet.ajax.InvokeCommand$1.execute(InvokeCommand.java:163)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:241)
        … 18 more
Caused by: org.alfresco.service.cmr.avm.AVMNotFoundException: Path /www/avm_webapps/ROOT/people/interesting not found.
        at org.alfresco.repo.avm.AVMStoreImpl.getListing(AVMStoreImpl.java:644)
        at org.alfresco.repo.avm.AVMRepository.getListing(AVMRepository.java:1109)
        at org.alfresco.repo.avm.AVMServiceImpl.getDirectoryListing(AVMServiceImpl.java:194)
        at org.alfresco.repo.avm.AVMServiceImpl.getDirectoryListing(AVMServiceImpl.java:172)
        at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
        at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)
        at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy4.getDirectoryListing(Unknown Source)
        at org.alfresco.repo.avm.AVMLockingAwareService.getDirectoryListing(AVMLockingAwareService.java:308)
        at sun.reflect.GeneratedMethodAccessor274.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)

Once I submit the folder deletion change and accept it through to staging, the web form and file picker will work fine…

Anyone seen this? Is this something I might just open an issue on?

Thanks
Ryan

Outcomes