Skip to content

NoSuchMethodError: void org.neo4j.internal.kernel.api.Read.relationshipProperties(...) #352

Closed as not planned
@JohT

Description

@JohT

Describe the bug

When I try to create a new projection with gds.graph.project using Cypher with graph-data-science version 2.16.0, I get the following error message:

java.lang.NoSuchMethodError: 'void org.neo4j.internal.kernel.api.Read.relationshipProperties(long, org.neo4j.storageengine.api.Reference, org.neo4j.storageengine.api.PropertySelection, org.neo4j.internal.kernel.api.PropertyCursor)

Details

Query

  CALL gds.graph.project(
    $dependencies_projection,
    $dependencies_projection_node, 
      'DEPENDS_ON', {
        relationshipProperties: [$dependencies_projection_weight_property],
        nodeProperties: ['incomingDependencies', 'outgoingDependencies', 'testMarkerInteger']
      }
  )
 YIELD graphName, nodeCount, relationshipCount
RETURN graphName, nodeCount, relationshipCount

Query Response

{
  "code": "Neo.ClientError.Procedure.ProcedureCallFailed",
  "message": "Failed to invoke procedure `gds.graph.project`: Caused by: java.lang.NoSuchMethodError: 'void org.neo4j.internal.kernel.api.Read.relationshipProperties(long, org.neo4j.storageengine.api.Reference, org.neo4j.storageengine.api.PropertySelection, org.neo4j.internal.kernel.api.PropertyCursor)'"
}

Parameters:

{
  "dependencies_projection": "artifact-centrality", 
  "dependencies_projection_node": "Artifact", 
  "dependencies_projection_weight_property": "weight"
}

To Reproduce

  • Java: OpenJDK Runtime Environment Temurin-21.0.6+7 (build 21.0.6+7-LTS)
  • GDS version: 2.16.0
  • Neo4j version: 5.26.5 community edition
  • Operating system: Ubuntu 22.04.5

Steps to reproduce the behavior

Example pull requests that reproduce the issue:

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions