System.InvalidCastException: Null object cannot be converted to a value type.
   at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   at Newtonsoft.Json.Linq.Extensions.Convert[T,U](T token)
   at IncidentReporter.API.BLL.CategoryConfigurationsBll.ExtractModuleAssociationConfigs(String configJson, Int32 orgId, Int32 sourceModuleId, Int32 categoryId, Int32 userId) in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\CategoryConfigurationsBll.cs:line 795
   at IncidentReporter.API.BLL.CategoryConfigurationsBll.<UpdateCategoryConfigurationAsync>d__7.MoveNext() in C:\GitLab-Runner\builds\27n6lYj0J\0\incident-reporter\incident-reporter-api\IncidentReporter\IncidentReporter.API\BLL\CategoryConfigurationsBll.cs:line 308

(This Permit is valid for one shift after that renewal/extension of the permit required).

(This Permit is valid for 08:30 AM to 6:00 PM after that special permission required for Continuation of the Job).

Service involved: Steam/Air/ Water /other (specify)

SAFETY PRECAUTION REQUIRED - (J)Electrical Work

All possible back feeding supplies disconnected.

Use of non-metal portable ladders ensured.

Temporary power cables using good condition & rating as per requirement.

Proper routing of temporary cables ensured.

Qualified electrician available for the job.

PROCESS DEPARTMENT - Instructions if Any

MECHANICAL DEPARTMENT - Instructions if Any

ELECTRICAL & INST.DEPART. - Instructions if Any

PERMIT AUTHORISED BY: (THE DEPARTMENT HEAD OF THE CONCERNED DEPARTMENT)

PERMIT RECEIVED BY: (IF CONTRACTOR ENGAGED FOR THE WORK)

PERMIT HAND OVER / EXTENTION / SPECIAL PERMISSION:

PERMIT CLOSED AFTER EXTENSION BY AUTHORISER:


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17671


Audit log sent successfully.


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17671/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Task/17671/Comment/33504/UploadTaskCommentMedia


Request Body : {"SiteId":[],"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&siteId=708&siteId=744&siteId=707&siteId=705&siteId=709&siteId=706


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Company/All?&IsActive=1


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17671/ReopenComments


Request Body : {"SiteId":[708],"Source":"User","UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Category/16


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&SiteId=708&AcmModuleId=27&categoryIds=16


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Assets/Dropdown


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/264/Departments


Request Body : {"SiteId":[],"SearchTerm":"","SortingColumn":["Name"],"SortingOrder":["asc"],"PageNumber":1,"PageSize":1000}


Request URL : https://api-sandbox.oqsha.com/Organisation/264/Users/DropDown?ModuleName=Work Permit V2&isActive=true


Request URL : https://api-sandbox.oqsha.com/Attendance/FaceRecognition


Received 1 files for face recognition in CaptureAttendanceByFaceRecognition.


Attachment saved to relative path: attachments\attendance\Files_d3cc6c94-da71-43ac-8b3d-facda0be029f.jpg


Recognizing face from Uploaded photo. FullImagePath: https://files.sandbox.oqsha.com\attachments\attendance\Files_d3cc6c94-da71-43ac-8b3d-facda0be029f.jpg


RecognizeFacesAsync called with imagePath: https://files.sandbox.oqsha.com\attachments\attendance\Files_d3cc6c94-da71-43ac-8b3d-facda0be029f.jpg


Downloading remote file: https://files.sandbox.oqsha.com/attachments/attendance/Files_d3cc6c94-da71-43ac-8b3d-facda0be029f.jpg


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&SiteId=708&AcmModuleId=27


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17669/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17669


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17669/ReopenComments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Company/All?&IsActive=1


Request Body : {"SiteId":[708],"Source":"User","UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Category/56


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&SiteId=708&AcmModuleId=27&categoryIds=56


Downloaded 12397 bytes successfully from remote URL.


Calling POST https://facemate-api.oqsha.in/recognize with groupPhoto: Files_d3cc6c94-da71-43ac-8b3d-facda0be029f.jpg


Response StatusCode: OK


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17671


Audit log sent successfully.


Request URL : https://api-sandbox.oqsha.com/Organisations/248/PendingActionsNotifications


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17671/Comments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Task/17671/Comment/33504/UploadTaskCommentMedia


Request Body : {"SiteId":[],"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&siteId=708&siteId=744&siteId=707&siteId=705&siteId=709&siteId=706


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/17671/ReopenComments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Category/16


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&SiteId=708&AcmModuleId=27&categoryIds=16


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Departments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=PSSR


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChangeList


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/All


Request URL : https://api-sandbox.oqsha.com/Organisation/248/AccessControl/Roles


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/165


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/165/PssrHistory


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=MOC&siteId=708


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=708


Request Body : {"SiteIds":[708],"DepartmentIds":[121]}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChange/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChange/411/MocHistory


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChange/Categories


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Departments?siteId=708


Request Body : {"SiteId":[],"UserId":267}


Request Body : {"PageNumber":0,"PageSize":0,"SiteId":[708],"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&siteId=708&siteId=744&siteId=707&siteId=705&siteId=709&siteId=706


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Departments


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=PSSR


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChangeList


Request Body : {}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/All


Request URL : https://api-sandbox.oqsha.com/Organisation/248/AccessControl/Roles


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/165


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Pssr/165/PssrHistory


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=MOC&siteId=708


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Departments?SortingColumn=Name&SortingOrder=Asc&SiteId=708


Request Body : {"SiteIds":[708],"DepartmentIds":[121]}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChange/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChange/411/MocHistory


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Statuses


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Tasks/List


Request URL : https://api-sandbox.oqsha.com/Organisations/248/TaskCategories/Dropdown


Request URL : https://api-sandbox.oqsha.com/Organisations/248/ManagementOfChange/Categories


Request Body : {"SiteId":[],"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisations/248/Departments?siteId=708


Request Body : {"PageNumber":0,"PageSize":0,"SiteId":[708],"UserId":267}


Request URL : https://api-sandbox.oqsha.com/Organisation/248/Users/DropDown?ModuleName=Tasks&siteId=708&siteId=744&siteId=707&siteId=705&siteId=709&siteId=706


Request URL : https://ttk-api-sandbox.oqsha.com/wp-json/batch/v1


Request URL : https://api-sandbox.oqsha.com/Organisations/207/Modules/85/Categories/100244