Findbugs reports 15 nullpointer dereferences in uportal-impl (disregarding tests). While these (usually) have no clear reproduction-scenario from the end-user's perspective, they are often cause for a misbehaving API, obscure failures in other places, point to unintended programming mistakes, etc.
As we are planning to go in production with 3.1 and most of the reported issues of this type seem easy enough to fix, I created a patch for 14 of them.
Included is a document describing the patch, a document describing the actual code-changes and the Findbugs-report before and after patching. The patch has been tested on the rel-3-1-patches branch at revision 46003