Hi together,

I am building a ULCTree with the DefaultTreeModel based upon MutableTreeNodes.

The model is completely built and the program can walk through all the nodes.

When the DefaultTreeModel is connected to the ULCTree, there are about 70 nodes that are expanded and the first one is selected. Everything seems to work fine. But when I collapse that expanded node I get the following Exception.

I get the same Exception when I try to show the lower parts of the ULCTree by the slider bar.

I get the same Exception when I try to show the lower parts of the ULCTree by the "Down Arrow Key" or by the "Page Down Key".

These Exceptions are thrown at different nodes of the tree, so I think it is not a problem with the content or the structure of a special node.

There are about 7000 nodes in the complete tree and I am using ULC 6.0.1.1.

Can you give me a hint ?

Thanks & regards

Rolf Gadorosi

java.lang.NullPointerException: Null child not allowed
        at com.ulcjava.base.application.tree.TreePath.pathByAddingChild(TreePath.java:1)
        at com.ulcjava.base.server.ULCTreeModelAdapter.getPathForDescription(ULCTreeModelAdapter.java:20)
        at com.ulcjava.base.server.ULCTreeModelAdapter.c(ULCTreeModelAdapter.java:61)
        at com.ulcjava.base.server.ULCTreeModelAdapter.handleRequest(ULCTreeModelAdapter.java:29)
        at com.ulcjava.base.server.ULCSession.a(ULCSession.java:163)
        at com.ulcjava.base.server.ULCSession.processRequests(ULCSession.java:0)
        at com.ulcjava.base.development.DevelopmentContainerAdapter.processRequests(DevelopmentContainerAdapter.java:17)
        at com.ulcjava.base.development.DevelopmentConnector.sendRequests(DevelopmentConnector.java:14)
        at com.ulcjava.base.client.UISession$j_.run(UISession$j_.java:26)
        at java.lang.Thread.run(Unknown Source)

Reply via email to