Affects Version/s: 2.1.27, 2.2.5
Fix Version/s: 2.2.6
Very minor problem, but easy to fix.
If a custom UIComponent renders itself it's common to return null in the getFamily() method. One example in "JSF Complete Reference" book suggests to do just that on page 308. The API does not say it is prohibited either.
The FormOmittedChecker#isForm method does not check for null in
which may lead to a NPE.
A workaround is to return an empty string in the component's getFamily() method.