tracker issue : CF-4126743

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

arrayFindNoCase() and Array.findNoCase() return different exceptions

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 03/09/2016

Components: Language

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Alpha_v12 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Win All

Vote Count: 0

Repro:


haystack = ["tahi", "rua", "toru", "wha"];
needle = ["TORU"];

try{
result = arrayFindNoCase(haystack, needle);
}catch (any e){
writeOutput("arrayFindNoCase() throws: #e.type#<br>");
}
try{
result = haystack.findNoCase(needle);
}catch (any e){
writeOutput("Array.findNoCase() throws: #e.type#<br>");
}


Actual:

arrayFindNoCase() throws: java.lang.IllegalArgumentException
Array.findNoCase() throws: Application


Expected:

arrayFindNoCase() throws: java.lang.IllegalArgumentException
Array.findNoCase() throws: java.lang.IllegalArgumentException



IE: equivalent functionality should use the same exceptions.

-- 
Adam

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

Watson Bug ID:	4126743

External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-22 09:12:14.0 action: updated fieldName: Date Closed newValue: 2015-09-22 02:12:13.0 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-22 09:12:14.0 action: updated fieldName: Closed By newValue: inoel oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-22 09:12:14.0 action: updated fieldName: Owner newValue: Blank oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-22 09:12:14.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-22 09:12:14.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-09-22 09:12:14.0 action: updated fieldName: Status newValue: ToTest oldValue: ToFix oprid: mjain recordName: RQ_DEFECT timpestamp: 2015-09-21 10:32:35.0 action: updated fieldName: Changelist newValue: 295594 oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2015-09-21 10:32:35.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2015-09-21 10:32:35.0 action: updated fieldName: Owner newValue: inoel oldValue: mjain oprid: mjain recordName: RQ_DEFECT timpestamp: 2015-09-21 10:32:35.0 action: updated fieldName: Fixed By newValue: mjain oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2015-09-21 10:32:35.0 action: updated fieldName: Date Fixed newValue: 2015-09-21 03:32:35.0 oldValue: Blank oprid: mjain recordName: RQ_DEFECT timpestamp: 2015-09-21 10:32:35.0 action: updated fieldName: Dev Assigned newValue: mjain oldValue: awdhesh oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-16 17:42:45.0 action: updated fieldName: Owner newValue: mjain oldValue: awdhesh oprid: rukumar recordName: RQ_DEFECT timpestamp: 2015-09-16 17:42:45.0 action: updated fieldName: Priority newValue: 1 oldValue: 0 oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-09-10 04:32:48.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-14 09:45:38.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-14 09:45:38.0 action: updated fieldName: Fix By Product Milestone newValue: Beta oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-14 09:45:38.0 action: updated fieldName: Fix By Milestone newValue: Beta oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-14 09:45:38.0 action: updated fieldName: Owner newValue: awdhesh oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2015-07-14 09:45:38.0
Comment by CFwatson U.
3327 | March 09, 2016 04:53:13 AM GMT
Added By: PreRelease User User Name:Adam Cameron Note Added: Entered Bug. Date Added :2015-07-13 08:52:59.0
Comment by CFwatson U.
3328 | March 09, 2016 04:53:14 AM GMT