Node Selection in a Tree Throws NullPointerException in the Listener Method
(Doc ID 2898993.1)
Last updated on OCTOBER 04, 2022
Applies to:Oracle JDeveloper - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
A page includes a tree component built using a table with a recursive foreign key.
The tree includes a selection listener that retrieves the selected node information.
When the page is shown and nodes expanded so it shows a scrollbar, trying to get the node binding sometimes returns a null value.
Selecting the same node when different o no scroll has occurred causes no problem.
In the code used in the app, the binding being null causes a Null Pointer Exception, however the relevant problem is that the binding should not be null
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document