Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2722

Fix error in tests about default application templates

    XMLWordPrintable

    Details

      Description

      Since changes for NXS-1958, tests show the following stack trace;

       17:20:07,392 ERROR [ProjectInitializer] Failed to initialize project
      17:20:07 java.io.FileNotFoundException: target/nxruntime-main-1898307499794850431.tmp//data/studio/snapshots/NuxeoDMDefaultConfiguration_nux/NuxeoDMDefaultConfiguration_nux-1.3.6.jar (No such file or directory)
      17:20:07 	at java.io.FileInputStream.open(Native Method)
      17:20:07 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
      17:20:07 	at org.nuxeo.common.utils.ZipUtils.unzip(ZipUtils.java:290)
      17:20:07 	at com.nuxeo.studio.core.share.ImportSource.open(ImportSource.java:69)
      17:20:07 	at com.nuxeo.studio.core.share.Importer.importProject(Importer.java:116)
      17:20:07 	at com.nuxeo.studio.core.ProjectInitializer.initialize(ProjectInitializer.java:110)
      17:20:07 	at com.nuxeo.studio.servlet.StudioServiceImpl.getProject(StudioServiceImpl.java:157)
      17:20:07 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:20:07 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      17:20:07 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      17:20:07 	at java.lang.reflect.Method.invoke(Method.java:606)
      17:20:07 	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
      17:20:07 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
      17:20:07 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
      17:20:07 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
      17:20:07 	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      17:20:07 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      17:20:07 	at com.nuxeo.studio.servlet.StudioServiceImpl.service(StudioServiceImpl.java:120)
      17:20:07 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      17:20:07 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      17:20:07 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
      17:20:07 	at org.nuxeo.ecm.webengine.jaxrs.context.RequestContextFilter.run(RequestContextFilter.java:42)
      17:20:07 	at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:43)
      17:20:07 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      17:20:07 	at org.nuxeo.ecm.webengine.jaxrs.session.SessionCleanupFilter.run(SessionCleanupFilter.java:45)
      17:20:07 	at org.nuxeo.ecm.webengine.jaxrs.HttpFilter.doFilter(HttpFilter.java:43)
      17:20:07 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      17:20:07 	at org.nuxeo.ecm.webengine.app.WebEngineFilter.doFilter(WebEngineFilter.java:93)
      17:20:07 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      17:20:07 	at org.nuxeo.ecm.webengine.app.WebEngineFilter.doFilter(WebEngineFilter.java:93)
      17:20:07 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
      17:20:07 	at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilterInternal(NuxeoAuthenticationFilter.java:585)
      17:20:07 	at 
      

      (because the corresponding application template does not exist in tests)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty