Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-373

The creation of a project failed from FO when selecting a illustration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.0.0
    • 1.0.0
    • None
    • None
    • 4.1 M6

      Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/workspaces/client-call?role=org.ametys.plugins.workspaces.project.ProjectsCatalogueManager&methodName=createProject&parameters=D:\Ametys-4.1.0M5\webapps\cms\WEB-INF\data\uploads\60.jpg&parameters={defaultProfile%3Dnull, illustrationName%3D60.jpg, title%3DTest, url%3Dhttp://localhost:8080/intranet/test, illustration%3D{}, illustrationUpdated%3Dtrue, languages%3D[fr], emailSender%3Dlaurence@ametys.org, projectManager%3Dwebmaster#ametys_demo_users, profile%3Dep-admin, inscriptionStatus%3Dprivate, modules%3D{org.ametys.plugins.workspaces.editionfo.EditionFOWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.calendars.CalendarWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.documents.DocumentWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.tasks.TasksWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.threads.ThreadWorkspaceModule%3Dtrue}}&parameters=zoneItem://8a6535fb-de57-47be-b4f1-d0b43f82957a&
      	at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
      	at org.ametys.plugins.workspaces.requests.HandleWorkspacesFoRequestGenerator.generate(HandleWorkspacesFoRequestGenerator.java:154)
      	... 90 more
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/workspaces/client-call?role=org.ametys.plugins.workspaces.project.ProjectsCatalogueManager&methodName=createProject&parameters=D:\Ametys-4.1.0M5\webapps\cms\WEB-INF\data\uploads\60.jpg&parameters={defaultProfile%3Dnull, illustrationName%3D60.jpg, title%3DTest, url%3Dhttp://localhost:8080/intranet/test, illustration%3D{}, illustrationUpdated%3Dtrue, languages%3D[fr], emailSender%3Dlaurence@ametys.org, projectManager%3Dwebmaster#ametys_demo_users, profile%3Dep-admin, inscriptionStatus%3Dprivate, modules%3D{org.ametys.plugins.workspaces.editionfo.EditionFOWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.calendars.CalendarWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.documents.DocumentWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.tasks.TasksWorkspaceModule%3Dtrue, org.ametys.plugins.workspaces.threads.ThreadWorkspaceModule%3Dtrue}}&parameters=zoneItem://8a6535fb-de57-47be-b4f1-d0b43f82957a&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:151:82
      	at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:380)
      	at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215)
      	at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:68)
      	at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      	at org.apache.cocoon.environment.AbstractEnvironment.resolveURI(AbstractEnvironment.java:555)
      	at org.ametys.plugins.workspaces.requests.HandleWorkspacesFoRequestGenerator.generate(HandleWorkspacesFoRequestGenerator.java:149)
      	... 90 more
      Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:151:82
      	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:113)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:122)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      	at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333)
      	... 97 more
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at org.ametys.core.ui.ExecuteClientCallsAction._executeMethod(ExecuteClientCallsAction.java:204)
      	at org.ametys.core.ui.ExecuteClientCallsAction.act(ExecuteClientCallsAction.java:182)
      	at org.ametys.plugins.workspaces.requests.ExecuteWorkspacesClientCallsAction.act(ExecuteWorkspacesClientCallsAction.java:52)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
      	... 107 more
      Caused by: java.lang.IllegalArgumentException: Unable to create a project, upload failed or invalid upload type 'application/octet-stream' for illustration
      	at org.ametys.plugins.workspaces.project.ProjectsCatalogueManager.createProject(ProjectsCatalogueManager.java:449)
      	... 125 more
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: