Has anyone got this error? #832
-
System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.' This occurs randomly. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 1 reply
-
Hi there. I'd like to get to the bottom of this - next time it happens, please could you copy as much of the error as possible and post it here? |
Beta Was this translation helpful? Give feedback.
-
@RichardIrons-neo4j
Now query1 runs successfully All are using default mapping ToListAsync() Now I gave a custom mapping to query2 Then I gave custom mapping to query3 |
Beta Was this translation helpful? Give feedback.
-
All sessions are in read mode. |
Beta Was this translation helpful? Give feedback.
-
Is there any chance where driver is updating mappers dictionary internally and failing while concurrent update? |
Beta Was this translation helpful? Give feedback.
-
Hi KillJoy. Richard is on vacation for this week, I'll make sure he follows up on his return. It certainly seems like there may be a concurrency issue in the mapping. A couple of follow on questions to get some more details.
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@AndyHeap-NeoTech @RichardIrons-neo4j any update on this? |
Beta Was this translation helpful? Give feedback.
-
Morning @killJoy-03, as it so happens we merged a PR to fix this yesterday evening. We are currently in the process of preparing a 5.28 (LTS) driver release which has a few other bits to go in but should be released in the short term. |
Beta Was this translation helpful? Give feedback.
-
@AndyHeap-NeoTech Morning and thanks for the fix, is there any estimate date for this version. |
Beta Was this translation helpful? Give feedback.
-
This bug has now been fixed, and will be gone in the next release. PR that fixes the issue: #841 |
Beta Was this translation helpful? Give feedback.
@killJoy-03
This bug has now been fixed, and will be gone in the next release.
PR that fixes the issue: #841