Hi Rolf, Your ITreeModel implementation seems to return null from a call to ITreeModel.getChild(Object parent, int index). This leads to the given exception later on. There is already an issue in our issue database: https://www.canoo.com/jira/browse/UBA-1096 which has been fixed in ULC 6.0.3.
Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 12:56 PM To: [email protected] Subject: [ULC-developer] Problem with ULCTree 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(ULCTreeMod elAdapter.java:20) at com.ulcjava.base.server.ULCTreeModelAdapter.c(ULCTreeModelAdapter.java:61) at com.ulcjava.base.server.ULCTreeModelAdapter.handleRequest(ULCTreeModelAdapte r.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(Dev elopmentContainerAdapter.java:17) at com.ulcjava.base.development.DevelopmentConnector.sendRequests(DevelopmentCo nnector.java:14) at com.ulcjava.base.client.UISession$j_.run(UISession$j_.java:26) at java.lang.Thread.run(Unknown Source) _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
