tracker issue : CF-3863594

select a category, or use search below
(searches all categories and all time range)
Title:

[logging bug on behalf of Aaron] getHTTPRequestData() is returning NPE for non Http Requests.

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): / ext-user (Suchika Singh)

Created: 12/08/2014

Components: Net Protocols, HTTP

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 11,0,03,292480 / 303781

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 1

Problem:getHTTPRequestData() is returning NPE for non Http Requests.

Method:I will attach the repro code.

Result:NullPointerException is thrown.

Expected:Should return an emptystruct.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3863594

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

+1 - Thanks very much Suchika!
Vote by External U.
9638 | December 08, 2014 02:37:29 AM GMT
Related ticket: CF-3154884. If CF-3863594 won't be fixed, then please re-open CF-3154884. Thanks!, -Aaron
Comment by External U.
9634 | September 15, 2015 12:59:30 PM GMT
Hi Adobe, Regarding the current resolution of "Won't Fix", what is the reasoning for not fixing a bug? There are no publicly-visible comments from Adobe on this ticket. Thanks!, -Aaron
Comment by Aaron N.
9635 | March 30, 2017 10:17:21 PM GMT
Hi Adobe, Currently the Status/ReasonCode is "To Test/Fixed". It used to be "Won't Fix". I'm confused. Will it return an empty struct instead of exception? I hope RequestGetMetadata().isHTTPRequest will be added per CF-3844994, so that non-HTTP requests (ex: task handler events) can be properly handled. Thanks!, -Aaron
Comment by Aaron N.
9636 | August 04, 2017 09:10:30 AM GMT
We opened this bug for evaluation in April 17. It is fixed now and pending QE verification. We will see if this can be made part of the next bug fix update cycle.
Comment by Vamseekrishna N.
9637 | August 04, 2017 09:43:49 AM GMT