Uploaded image for project: 'ONgDB'
  1. ONgDB
  2. ONGDB-60

Procedure db.createUniquePropertyConstraint call does not provide the required number of arguments: got 0 expected 2.

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Highest
    • Resolution: Done
    • None
    • 1.0.0-alpha01
    • ONgDB - Enterprise
    • None

    Description

      java.lang.Exception: Failed on procedure: "CALL db.createUniquePropertyConstraint()"
       at org.neo4j.kernel.builtinprocs.ProcedureResourcesIT.allProcedures(ProcedureResourcesIT.java:87) 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:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.neo4j.test.rule.ExternalResource$1.evaluate(ExternalResource.java:44) at org.neo4j.test.rule.TestDirectory$1.evaluate(TestDirectory.java:112) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53)Caused by: org.neo4j.graphdb.QueryExecutionException: Procedure call does not provide the required number of arguments: got 0 expected 2.
      Procedure db.createUniquePropertyConstraint has signature: db.createUniquePropertyConstraint(index :: STRING?, providerName :: STRING?) :: index :: STRING?, providerName :: STRING?, status :: STRING?meaning that it expects 2 arguments of type STRING?, STRING?Description: Create a unique property constraint with index backed by specified index provider (for example: CALL db.createUniquePropertyConstraint(":Person(name)", "lucene+native-2.0")) - YIELD index, providerName, status (line 1, column 1 (offset: 0))"CALL db.createUniquePropertyConstraint()" ^ at org.neo4j.kernel.impl.query.QueryExecutionKernelException.asUserException(QueryExecutionKernelException.java:35) at org.neo4j.kernel.impl.factory.ClassicCoreSPI.executeQuery(ClassicCoreSPI.java:83) at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.execute(GraphDatabaseFacade.java:428) at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.execute(GraphDatabaseFacade.java:411) at org.neo4j.kernel.impl.factory.GraphDatabaseFacade.execute(GraphDatabaseFacade.java:395) at org.neo4j.test.rule.DatabaseRule.execute(DatabaseRule.java:180) at org.neo4j.kernel.builtinprocs.ProcedureResourcesIT.verifyProcedureCloseAllAcquiredKernelStatements(ProcedureResourcesIT.java:115) at org.neo4j.kernel.builtinprocs.ProcedureResourcesIT.allProcedures(ProcedureResourcesIT.java:83) ... 34 moreCaused by: org.neo4j.kernel.impl.query.QueryExecutionKernelException: Procedure call does not provide the required number of arguments: got 0 expected 2.
      Procedure db.createUniquePropertyConstraint has signature: db.createUniquePropertyConstraint(index :: STRING?, providerName :: STRING?) :: index :: STRING?, providerName :: STRING?, status :: STRING?meaning that it expects 2 arguments of type STRING?, STRING?Description: Create a unique property constraint with index backed by specified index provider (for example: CALL db.createUniquePropertyConstraint(":Person(name)", "lucene+native-2.0")) - YIELD index, providerName, status (line 1, column 1 (offset: 0))"CALL db.createUniquePropertyConstraint()" ^ at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:65) at org.neo4j.kernel.impl.factory.ClassicCoreSPI.executeQuery(ClassicCoreSPI.java:79) ... 40 moreCaused by: org.neo4j.cypher.SyntaxException: Procedure call does not provide the required number of arguments: got 0 expected 2.
      Procedure db.createUniquePropertyConstraint has signature: db.createUniquePropertyConstraint(index :: STRING?, providerName :: STRING?) :: index :: STRING?, providerName :: STRING?, status :: STRING?meaning that it expects 2 arguments of type STRING?, STRING?Description: Create a unique property constraint with index backed by specified index provider (for example: CALL db.createUniquePropertyConstraint(":Person(name)", "lucene+native-2.0")) - YIELD index, providerName, status (line 1, column 1 (offset: 0))"CALL db.createUniquePropertyConstraint()" ^ at org.neo4j.cypher.exceptionHandler$.syntaxException(exceptionHandler.scala:27) at org.neo4j.cypher.exceptionHandler$.syntaxException(exceptionHandler.scala:26) at org.neo4j.cypher.internal.util.v3_4.SyntaxException.mapToPublic(CypherException.scala:167) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:94) at org.neo4j.cypher.internal.compatibility.v3_4.Compatibility$$anon$1.plan(Compatibility.scala:104) at org.neo4j.cypher.internal.ExecutionEngine$$anon$3.produceWithExistingTX(ExecutionEngine.scala:182) at org.neo4j.cypher.internal.ExecutionEngine$$anon$3.produceWithExistingTX(ExecutionEngine.scala:179) at org.neo4j.cypher.internal.compatibility.QueryCache$$anonfun$1.apply(CacheAccessor.scala:41) at org.neo4j.cypher.internal.compatibility.MonitoringCacheAccessor$$anonfun$2.apply(CacheAccessor.scala:68) at org.neo4j.cypher.internal.compatibility.LFUCache$$anon$1.apply(LFUCache.scala:31) at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2039) at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853) at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2037) at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2020) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:54) at org.neo4j.cypher.internal.compatibility.LFUCache.getOrElseUpdate(LFUCache.scala:30) at org.neo4j.cypher.internal.compatibility.LFUCache.apply(LFUCache.scala:48) at org.neo4j.cypher.internal.compatibility.MonitoringCacheAccessor.getOrElseUpdate(CacheAccessor.scala:66) at org.neo4j.cypher.internal.compatibility.QueryCache.getOrElseUpdate(CacheAccessor.scala:39) at org.neo4j.cypher.internal.ExecutionEngine.liftedTree1$1(ExecutionEngine.scala:187) at org.neo4j.cypher.internal.ExecutionEngine.planQuery(ExecutionEngine.scala:169) at org.neo4j.cypher.internal.ExecutionEngine.execute(ExecutionEngine.scala:115) at org.neo4j.cypher.internal.javacompat.ExecutionEngine.executeQuery(ExecutionEngine.java:61) ... 41 moreCaused by: org.neo4j.cypher.internal.util.v3_4.SyntaxException: Procedure call does not provide the required number of arguments: got 0 expected 2.
      Procedure db.createUniquePropertyConstraint has signature: db.createUniquePropertyConstraint(index :: STRING?, providerName :: STRING?) :: index :: STRING?, providerName :: STRING?, status :: STRING?meaning that it expects 2 arguments of type STRING?, STRING?Description: Create a unique property constraint with index backed by specified index provider (for example: CALL db.createUniquePropertyConstraint(":Person(name)", "lucene+native-2.0")) - YIELD index, providerName, status (line 1, column 1 (offset: 0)) at org.neo4j.cypher.internal.compiler.v3_4.SyntaxExceptionCreator.apply(SyntaxExceptionCreator.scala:28) at org.neo4j.cypher.internal.compiler.v3_4.SyntaxExceptionCreator.apply(SyntaxExceptionCreator.scala:25) at org.neo4j.cypher.internal.compiler.v3_4.ProcedureCallOrSchemaCommandPlanBuilder$$anonfun$1.apply(ProcedureCallOrSchemaCommandPlanBuilder.scala:49) at org.neo4j.cypher.internal.compiler.v3_4.ProcedureCallOrSchemaCommandPlanBuilder$$anonfun$1.apply(ProcedureCallOrSchemaCommandPlanBuilder.scala:49) at scala.collection.Iterator$class.foreach(Iterator.scala:891) at scala.collection.AbstractIterator.foreach(Iterator.scala:1334) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at org.neo4j.cypher.internal.compiler.v3_4.ProcedureCallOrSchemaCommandPlanBuilder$.process(ProcedureCallOrSchemaCommandPlanBuilder.scala:49) at org.neo4j.cypher.internal.compiler.v3_4.ProcedureCallOrSchemaCommandPlanBuilder$.process(ProcedureCallOrSchemaCommandPlanBuilder.scala:35) at org.neo4j.cypher.internal.frontend.v3_4.phases.Phase$$anonfun$transform$1.apply(Phase.scala:36) at org.neo4j.cypher.internal.frontend.v3_4.helpers.package$$anonfun$closing$1.apply(package.scala:24) at org.neo4j.cypher.internal.frontend.v3_4.helpers.package$$anonfun$closing$1.apply(package.scala:24) at org.neo4j.cypher.internal.frontend.v3_4.helpers.package$.using(package.scala:32) at org.neo4j.cypher.internal.frontend.v3_4.helpers.package$.closing(package.scala:24) at org.neo4j.cypher.internal.frontend.v3_4.phases.Phase$class.transform(Phase.scala:35) at org.neo4j.cypher.internal.compiler.v3_4.ProcedureCallOrSchemaCommandPlanBuilder$.transform(ProcedureCallOrSchemaCommandPlanBuilder.scala:35) at org.neo4j.cypher.internal.frontend.v3_4.phases.PipeLine.transform(Transformer.scala:58) at org.neo4j.cypher.internal.compiler.v3_4.CypherCompiler.planPreparedQuery(CypherCompiler.scala:51) at org.neo4j.cypher.internal.compatibility.v3_4.Compatibility$$anon$1$$anonfun$plan$1$$anon$2.produceWithExistingTX(Compatibility.scala:126) at org.neo4j.cypher.internal.compatibility.v3_4.Compatibility$$anon$1$$anonfun$plan$1$$anon$2.produceWithExistingTX(Compatibility.scala:124) at org.neo4j.cypher.internal.compatibility.QueryCache$$anonfun$1.apply(CacheAccessor.scala:41) at org.neo4j.cypher.internal.compatibility.MonitoringCacheAccessor$$anonfun$2.apply(CacheAccessor.scala:68) at org.neo4j.cypher.internal.compatibility.LFUCache$$anon$1.apply(LFUCache.scala:31) at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2039) at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853) at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2037) at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2020) at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:112) at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:54) at org.neo4j.cypher.internal.compatibility.LFUCache.getOrElseUpdate(LFUCache.scala:30) at org.neo4j.cypher.internal.compatibility.LFUCache.apply(LFUCache.scala:48) at org.neo4j.cypher.internal.compatibility.MonitoringCacheAccessor.getOrElseUpdate(CacheAccessor.scala:66) at org.neo4j.cypher.internal.compatibility.QueryCache.getOrElseUpdate(CacheAccessor.scala:39) at org.neo4j.cypher.internal.compatibility.v3_4.Compatibility$$anon$1$$anonfun$plan$1.apply(Compatibility.scala:136) at org.neo4j.cypher.internal.compatibility.v3_4.Compatibility$$anon$1$$anonfun$plan$1.apply(Compatibility.scala:104) at org.neo4j.cypher.exceptionHandler$runSafely$.apply(exceptionHandler.scala:89) ... 61 more
      

      Attachments

        Issue Links

          Activity

            People

              bradnussbaum Brad Nussbaum
              bradnussbaum Brad Nussbaum
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: