-
Bug
-
Resolution: Unresolved
-
Critical
-
2.14.0
-
None
-
None
-
4.9.1
-
Oui
How to reproduce :
- Go to filemanager
- Insert a zip file made up of a folder with files (a jpg and a world file in my case), it's very important to test with a zip file with folder and files inside
- Dezip it with the option "Décompresser" on the pop up
- Go to the new dezip file
- Click on a file, with the eye button
- Error messages appears
Stacktrace :
*Date : 10/07 12:02:48.935 Thread : Thread[#12823,http-nio-8080-exec-30,5,main] Niveau : ERROR Catégorie : sitemap URI de la requête : /cms/generate/projet/_plugins/cms/servercomm/fo-messages.xml Message : Can not dispatch request '0' : 'core-ui' 'client-call' '{role=org.ametys.plugins.workspaces.documents.WorkspaceExplorerResourceCommentsDAO, methodName=getComments, parameters=[resource://42ce6bd6-ec56-439b-828f-f64f8a053753]}' Emplacement : org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46) Pile d'appels : org.apache.cocoon.util.location.LocatedException: Can not dispatch request '0' : 'core-ui' 'client-call' '{role=org.ametys.plugins.workspaces.documents.WorkspaceExplorerResourceCommentsDAO, methodName=getComments, parameters=[resource://42ce6bd6-ec56-439b-828f-f64f8a053753]}' at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleError:314 at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:227 at org.ametys.cms.fo.FODispatchGenerator#_dispatching:54 at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:93 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581 at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301 at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483 at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#handleCocoonRedirect:300 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#access$000:49 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector#cocoonRedirect:348 at org.apache.cocoon.environment.ForwardRedirector#redirect:60 at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode#invoke:70 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#handleCocoonRedirect:300 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#access$000:49 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector#cocoonRedirect:348 at org.apache.cocoon.environment.ForwardRedirector#redirect:60 at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode#invoke:70 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.Cocoon#process:699 at org.ametys.runtime.servlet.RuntimeServlet#service:717 at javax.servlet.http.HttpServlet#service:623 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:199 at org.apache.catalina.core.ApplicationFilterChain#doFilter:144 at org.apache.tomcat.websocket.server.WsFilter#doFilter:51 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:168 at org.apache.catalina.core.ApplicationFilterChain#doFilter:144 at org.apache.catalina.core.StandardWrapperValve#invoke:168 at org.apache.catalina.core.StandardContextValve#invoke:90 at org.apache.catalina.authenticator.AuthenticatorBase#invoke:482 at org.apache.catalina.core.StandardHostValve#invoke:130 at org.apache.catalina.valves.ErrorReportValve#invoke:93 at org.apache.catalina.valves.AbstractAccessLogValve#invoke:656 at org.apache.catalina.core.StandardEngineValve#invoke:74 at org.apache.catalina.connector.CoyoteAdapter#service:346 at org.apache.coyote.http11.Http11Processor#service:397 at org.apache.coyote.AbstractProcessorLight#process:63 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:935 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1792 at org.apache.tomcat.util.net.SocketProcessorBase#run:52 at org.apache.tomcat.util.threads.ThreadPoolExecutor#runWorker:1189 at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker#run:658 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:63 at java.base/java.lang.Thread#run:1583 Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/core-ui/client-call?role=org.ametys.plugins.workspaces.documents.WorkspaceExplorerResourceCommentsDAO&methodName=getComments¶meters=resource://42ce6bd6-ec56-439b-828f-f64f8a053753& at org.apache.cocoon.components.source.impl.SitemapSource#getInputStream:253 at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleResponse:266 at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:221 ... 94 more Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/core-ui/client-call?role=org.ametys.plugins.workspaces.documents.WorkspaceExplorerResourceCommentsDAO&methodName=getComments¶meters=resource://42ce6bd6-ec56-439b-828f-f64f8a053753& org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:155:82 at org.apache.cocoon.components.source.impl.SitemapSource#init:380 at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215 at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68 at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208 at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558 at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558 at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:217 ... 94 more Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:155:82 at org.apache.cocoon.ProcessingException#throwLocated:113 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:122 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194 at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267 at org.apache.cocoon.components.source.impl.SitemapSource#init:333 ... 100 more Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor#invoke:118 at java.base/java.lang.reflect.Method#invoke:580 at org.ametys.core.ui.ExecuteClientCallsAction#_executeMethod:205 at org.ametys.core.ui.ExecuteClientCallsAction#act:183 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:120 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194 at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:111 ... 110 more Caused by: org.apache.commons.lang.IllegalClassException: Expected: org.ametys.plugins.workspaces.documents.jcr.File, actual: org.ametys.plugins.explorer.resources.jcr.JCRResource at org.ametys.plugins.workspaces.documents.WorkspaceExplorerResourceCommentsDAO#getComments:104*