Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NullPointerException while try to use an lov criterion for second time Jdeveloper 12.2.1.4.0

ArisDsNov 16 2020

Hi,
At a jspx page, I have exposed view criteria (af:query) and a result table from a VO. The view criteria consists of 4 view criterions. All of them are displayed as Lovs. When I open the page and use the view criteria, everything works as expected and after the search the fetched results from the VO are displayed to the table. But when I try to filter again with other criteria values, I get a NullPointerException. (see the logs below)
The issue is reproduced only for one specific criterion (only the second time) and only if a click on the magnifier and the Lov popup is raised. If I directly put a valid value at the input text of the Lov without open the lov popup, then no error is raised and after the search the new fetched values are correctly displayed to the table.
Note also that the application was initialy developed at Jdeveloper 11.1.1.7.0. At this 11.1.1.7.0 Jdeveloper version everything works fine, but when I migrate it to 12.2.1.4.0 I get the error that I described above.
Please let me know if you have any suggestions.
Thanks,
Aris

java.lang.NullPointerException
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.isLOVConverterUsed(FacesCtrlLOVBinding.java:786)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding._isDisplayValueDisplayAttr(FacesCtrlLOVBinding.java:801)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding._getInputDisplayAttr(FacesCtrlLOVBinding.java:806)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding._resetOperator(FacesCtrlLOVBinding.java:423)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlLOVBinding.release(FacesCtrlLOVBinding.java:169)

Comments
Post Details
Added on Nov 16 2020
1 comment
129 views