You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Achim Derigs (JIRA)" <ji...@apache.org> on 2015/09/14 11:20:46 UTC

[jira] [Created] (CMIS-949) Query capability is set to 'none' but calling query() throws an exception, which is not a notSupported exception

Achim Derigs created CMIS-949:
---------------------------------

             Summary: Query capability is set to 'none' but calling query() throws an exception, which is not a notSupported exception
                 Key: CMIS-949
                 URL: https://issues.apache.org/jira/browse/CMIS-949
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client-bindings
    Affects Versions: OpenCMIS 0.14.0
         Environment: Linux, JDK 8
            Reporter: Achim Derigs


Invalid Query Test (ATOMPUB) (2168 ms)
---------------------------------------------------------------

  FAILURE: Query capability is set to 'none' but calling query() throws an exception, which is not a notSupported exception(org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Unknown repository or query not supported!). (InvalidQueryTest.java:56)
  Exception: Unknown repository or query not supported!


Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.206 sec <<< FAILURE! - in org.apache.chemistry.opencmis.tck.tests.query.InvalidQueryTest
junit(org.apache.chemistry.opencmis.tck.tests.query.InvalidQueryTest)  Time elapsed: 2.198 sec  <<< FAILURE!
java.lang.AssertionError: Query capability is set to 'none' but calling query() throws an exception, which is not a notSupported exception(org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Unknown repository or query not supported!).
        at org.junit.Assert.fail(Assert.java:88)
        at org.apache.chemistry.opencmis.tck.impl.JUnitHelper.checkForFailures(JUnitHelper.java:69)
        at org.apache.chemistry.opencmis.tck.impl.JUnitHelper.run(JUnitHelper.java:61)
        at org.apache.chemistry.opencmis.tck.impl.JUnitHelper.run(JUnitHelper.java:42)
        at org.apache.chemistry.opencmis.tck.impl.AbstractCmisTest.junit(AbstractCmisTest.java:89)
        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:497)
        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.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        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.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
        at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)