Skip to content
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

TreeView throws IllegalArgumentException when presenting an empty graph #19

Open
benzht opened this issue Jul 17, 2013 · 0 comments
Open

Comments

@benzht
Copy link

benzht commented Jul 17, 2013

When you try to present an empty tree view, prefuse complains:

Jul 17, 2013 2:16:03 PM prefuse.action.ActionList run
WARNING: Invalid row index: 0
java.lang.IllegalArgumentException: Invalid row index: 0
at prefuse.data.tuple.TupleManager.getTuple(Unknown Source)
at prefuse.data.tuple.TupleManager$TupleManagerIterator.next(Unknown Source)
at prefuse.data.Graph.getSpanningTree(Unknown Source)
at prefuse.action.filter.FisheyeTreeFilter.run(Unknown Source)
at prefuse.action.ActionList.run(Unknown Source)
at prefuse.action.Action.run(Unknown Source)
at prefuse.activity.Activity.runActivity(Unknown Source)
at prefuse.activity.ActivityManager.run(Unknown Source)

To reproduce modify Prefuse/demos/prefuse/demos/TreeView#setUpData(), comment all lines after the creation of the graph, and start it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant