Skip to content

java.lang.ClassException occurred when creating edges on Graph Editor #9008

@tomlee

Description

@tomlee

OrientDB Version: v3.0.23

Java Version: official Docker image

OS: official Docker image on Ubuntu 18.04

Expected behavior

An edge can successfully be created on the Graph Editor without any error when with the command:

CREATE edge FriendOf FROM #21:1 TO #22:0

Actual behavior

The following error occurred in a red box:

java.lang.ClassCastException: com.orientechnologies.orient.core.record.impl.ODocument cannot be cast to com.orientechnologies.orient.core.record.OEdge

The created edge cannot be shown on the graph after the execution of the above command.

However, when the nodes are selected with:

SELECT * FROM V LIMIT 10;

The edge has actually be created and shown on the graph.

Steps to reproduce

The error can easily be repeated as above.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions