Skip to content

NPE when calling OnDiskGraphIndex#ramBytesUsed #586

@michaeljmarshall

Description

@michaeljmarshall

Looks like http://github.com/datastax/jvector/pull/561 might have introduced a regression for the OnDiskGraphIndex#ramBytesUsed method. I am getting this NPE:

java.lang.NullPointerException: Cannot invoke "org.agrona.collections.Int2ObjectHashMap.values()" because "neighbors" is null
    at io.github.jbellis.jvector.graph.disk.OnDiskGraphIndex.ramBytesUsed(OnDiskGraphIndex.java:406)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions