Error which Smitten you in Hell….

Assalamualaykum Wr Br…I was struck in an error stating as “Cannot evaluate expression because we are stopped in a place where garbage collection is impossible, possibly because the code of the current method may be optimized” made me sooo confusing….Tried to find solution but in vain…Finally with the grace of Almighty this issue resolved…At that instant thought to share it with all which would be helpful to at least one..
My scenario was to pass four arguments from Business Layer to Data layer calling Oracle package.procedure…
These four parameters were supplied in a manner other than mentioned in data layer oracle package.procedure….
To easily understand, Consider the parameters that I was passing to oracle package as:
1. Status_id
2. Dealer_id
3. Status
4. Record_date_time
But these parameter were aligned in oracle package was as shown below:
1. Status_id
2. Status
3. Dealer_id
4. Record_date_time
This improper passing of parameters resulted the error…When traced and corrected the parameters then Error gone…Hope Helpful…