Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1891

DMS | Preprod | API | Error for Send Bulk API

    Details

    • Company:
      All Clients/Multiple Clients

      Description

      Userdid : dmsuserid4cmp1
      AccDid : A7F0PT78MTMZ470WBBT

      Error is received for Send Bulk API

      PFA

        Attachments

        1. BulkAPI.txt
          0.2 kB
        2. Screenshot (4287).png
          Screenshot (4287).png
          211 kB
        3. Screenshot (480).png
          Screenshot (480).png
          188 kB

          Activity

          jayshree.nagpure Jayshree Nagpure (Inactive) created issue -
          samir Samir made changes -
          Field Original Value New Value
          Assignee Samir [ samir ] Rohan J Khandave [ rohan.khandave ]
          samir Samir made changes -
          Fix Version/s Between Fall and Winter 2019 [ 10919 ]
          samir Samir made changes -
          Sprint DMS - Gap Fall & Win Sprint 3 [ 177 ]
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          3C's
          Concern: Error for Send Bulk API
          Cause: Send Bulk API uses parallel loop to generate token for each template. The context that is needed for common routines was not getting initialized for every thread which resulted in this issue. Common routine object was recently removed in caching changes.
          Actual error log: System.AggregateException: One or more errors occurred. (A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.) ---> System.InvalidOperationException: A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.
          Correction: We have created a commonroutine object in parallel loop for that different threads use different objects.

          CC:Rohan J Khandave

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - 3C's Concern : Error for Send Bulk API Cause : Send Bulk API uses parallel loop to generate token for each template. The context that is needed for common routines was not getting initialized for every thread which resulted in this issue. Common routine object was recently removed in caching changes. Actual error log: System.AggregateException: One or more errors occurred. (A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.) ---> System.InvalidOperationException: A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations. Correction : We have created a commonroutine object in parallel loop for that different threads use different objects. CC: Rohan J Khandave
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Ramya Tantry [ ramya.tantry ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          ramya.tantry Ramya Tantry (Inactive) logged work - 11/Sep/19 03:30 AM
          • Time Spent:
            1.5h
             

            Issue analysis

            Code change

            Testing

          ramya.tantry Ramya Tantry (Inactive) made changes -
          Status In Progress [ 3 ] Code Review [ 11801 ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Assignee Ramya Tantry [ ramya.tantry ] Rohan J Khandave [ rohan.khandave ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 1.5h [ 5400 ]
          Worklog Id 199632 [ 199632 ]
          Ashish.Durani Ashish Durani made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          Ashish.Durani Ashish Durani made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Jayshree Nagpure [ jayshree.nagpure ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Status In QA Testing [ 11901 ] Code Review [ 11801 ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Assignee Jayshree Nagpure [ jayshree.nagpure ] Rohan J Khandave [ rohan.khandave ]
          ramya.tantry Ramya Tantry (Inactive) logged work - 11/Sep/19 05:32 AM
          • Time Spent:
            0.5h
             

            Testing on Preprod

          ramya.tantry Ramya Tantry (Inactive) made changes -
          Time Spent 1.5h [ 5400 ] 2h [ 7200 ]
          Worklog Id 199654 [ 199654 ]
          Ashish.Durani Ashish Durani made changes -
          Status Code Review [ 11801 ] In QA Testing [ 11901 ]
          Ashish.Durani Ashish Durani made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Priya Dhamande [ priya.dhamande ]
          priya.dhamande Priya Dhamande (Inactive) logged work - 12/Sep/19 12:34 AM
          • Time Spent:
            0.5h
             

            Preprod

          Hide
          priya.dhamande Priya Dhamande (Inactive) added a comment -

          Environment: Preprod OneIM

          API is working as expected.
          Refer screen capture. So, marking jira done.

          Samir Rohan J Khandave

          Show
          priya.dhamande Priya Dhamande (Inactive) added a comment - Environment: Preprod OneIM API is working as expected. Refer screen capture. So, marking jira done. Samir Rohan J Khandave
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Attachment Screenshot (4287).png [ 119257 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status In QA Testing [ 11901 ] Done [ 10001 ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Assignee Priya Dhamande [ priya.dhamande ] Rohan J Khandave [ rohan.khandave ]
          priya.dhamande Priya Dhamande (Inactive) made changes -
          Time Spent 2h [ 7200 ] 2.5h [ 9000 ]
          Worklog Id 199814 [ 199814 ]
          Transition Time In Source Status Execution Times
          Ramya Tantry (Inactive) made transition -
          To Do In Progress
          2h 43m 1
          Ramya Tantry (Inactive) made transition -
          In Progress Code Review
          2s 1
          Ramya Tantry (Inactive) made transition -
          In QA Testing Code Review
          15m 57s 1
          Ashish Durani made transition -
          Code Review In QA Testing
          18h 51m 2
          Priya Dhamande (Inactive) made transition -
          In QA Testing Done
          1h 57m 1

            People

            Assignee:
            rohan.khandave Rohan J Khandave (Inactive)
            Reporter:
            jayshree.nagpure Jayshree Nagpure (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h