-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
httpd: check for null Subject in Transfer info
Motivation: The httpd transfer collector classes periodically send requests to the login broker. Under certain conditions it is possible for the reply to contain incomplete information. This is particularly true if the reply is sent before login or file resolution has completed. Since the TransferObserver and webadmin mapper classes attempt to convert the Subject into a UserInfo object using the Subjects methods, a NPE is generated if the Subject is null. Modification: Check for the null subject where UserInfo is set and provide a UserInfo object with an empty constructor in that case. Result: No NullPointerException. Affects only master (changes introduced by 9258). Target: master Acked-by: Gerd
- Loading branch information
alrossi
committed
Jun 15, 2016
1 parent
dd15a13
commit a8d9592
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters