Skip to content

ClassCastException: class org.gephi.graph.api.types.TimestampSet cannot be cast to class org.gephi.graph.api.types.TimeMap #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mbastian opened this issue Sep 11, 2022 · 0 comments
Labels
Milestone

Comments

@mbastian
Copy link
Member

When using Element.getAttribute(column, view) one gets an exception for columns of the TimestampSet` type.

java.lang.ClassCastException: class org.gephi.graph.api.types.TimestampSet cannot be cast to class org.gephi.graph.api.types.TimeMap (org.gephi.graph.api.types.TimestampSet and org.gephi.graph.api.types.TimeMap are in unnamed module of loader 'app')

	at org.gephi.graph.impl.AttributesImpl.getAttribute(AttributesImpl.java:86)
	at org.gephi.graph.impl.ElementImpl.getAttribute(ElementImpl.java:147)
	at org.gephi.graph.impl.ElementImplTest.testSetAttributeTimestampSet(ElementImplTest.java:248)
@mbastian mbastian added the bug label Sep 11, 2022
@mbastian mbastian added this to the 0.6.12 milestone Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant