Skip to content

TreeView can't display nodes with "<" character #12

@rezecib

Description

@rezecib

Taking a working treeML file and changing an attribute value to contain "<" causes the following error:

Dec 15, 2012 7:50:23 PM prefuse.action.ActionList run
WARNING: Invalid row index: -1
java.lang.IllegalArgumentException: Invalid row index: -1
at prefuse.data.tuple.TupleManager.getTuple(TupleManager.java:90)
at prefuse.data.Tree.getRoot(Tree.java:286)
at prefuse.action.layout.graph.TreeLayout.getLayoutRoot(TreeLayout.java:67)
at prefuse.action.layout.graph.NodeLinkTreeLayout.run(NodeLinkTreeLayout.java:249)
at prefuse.action.ActionList.run(ActionList.java:79)
at prefuse.action.Action.run(Action.java:122)
at prefuse.activity.Activity.runActivity(Activity.java:152)
at prefuse.activity.ActivityManager.run(ActivityManager.java:365)

I did some searching around and this appears to be illegal in XML, but using the XML replacement "&#60;" doesn't seem to work, here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions