In this post, I am sharing my experience regarding the JDeveloper 11g Preview 4.
In my sample application (ADF Technology Stack), I created following based on Department table of HR Schema:
1. Entity
2. Updtable View
3. Application module
4. JSF Page with ADF Faces - af:table component
After execution on browser, when I tried performing more than one action (eg sorting, editing and so on), it return me following errors:
JobId
Error
java.lang.NullPointerException
JobTitle
Error
java.lang.NullPointerException
MinSalary
Error
java.lang.NullPointerException
……………………..
…………

After cracking my head for several hours, I got to learn that for each af:inputText (column) in af:table, it is also creating a f:validator by default (Which I never expected).
After deleting this f:validator from each af:inputText, I faced no problem.
I really don’t know this is bug or some special features!







4 responses so far ↓
1 Steve Muench // Sep 5, 2008 at 4:48 pm
Can you email me a *.jar file (not a *.zip as our mail server will reject it) of your simple workspace that reproduces the problem so I can verify that it’s fixed in a later build of JDev 11g?
Thanks.
Steve Muench
Oracle ADF Development Team
2 rajs // Sep 5, 2008 at 5:46 pm
Sure I will!
Thanks
Raj
3 rajs // Sep 5, 2008 at 8:35 pm
Guys,
Steve & Team informed me that this issue has been fixed in current new build of JDeveloper 11g.
Regards
4 Nosayba // Sep 21, 2008 at 4:13 pm
Thank you Rajender for the useful post. I’ve been looking around for hours, trying to figure out where the exception is coming from. I fear though whether deleting this Validator will cause any future problems. Let’s hope not!
Leave a Comment