Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22051

Fix test TestDeckJSPDFConverter.testSampleDocument for 6.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0-HF38
    • Fix Version/s: 6.0-HF45
    • Component/s: Template Rendering

      Description

      Fix tests org.nuxeo.template.test.TestDeckJSPDFConverter.testSampleDocument for 6.0

      For instance: https://qa2.nuxeo.org/jenkins/job/6.0/job/nuxeo-6.0-fullbuild-daily/318/testReport/org.nuxeo.template.test/TestDeckJSPDFConverter/testSampleDocument/

      org.nuxeo.ecm.core.api.ClientException: Failed to get document default-domain/workspaces/templatesamples/roadmap
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1028)
      	at org.nuxeo.template.test.TestDeckJSPDFConverter.testSampleDocument(TestDeckJSPDFConverter.java:71)
      	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner$InvokeMethod.evaluate(FeaturesRunner.java:442)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.runChild(FeaturesRunner.java:397)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.runChild(FeaturesRunner.java:55)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:361)
      	at org.junit.runners.Suite.runChild(Suite.java:127)
      	at org.junit.runners.Suite.runChild(Suite.java:26)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      Caused by: org.nuxeo.ecm.core.model.NoSuchDocumentException: No such document: default-domain/workspaces/templatesamples/roadmap
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.resolvePath(SQLSession.java:275)
      	at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:361)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1024)
      	... 37 more
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: