- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.NullReferenceException #4
Comments
Can you share the stacktrace please? And could you also share some more of the surrounding code? |
Your clipboard is using in class which is working with chromedriver to paste image and text in some input field.
|
What's happening here is that the clipboard was unable to be opened - probably because some other process or thread had the clipboard open. Can see here where we try to call OpenClipboard in a loop, if we are unable to open it within 1000ms then it will throw an exception. This is not a bug in Clowd.Clipboard, however I am going to leave this issue open for now, as that error/exeption message is incorrect and it should be a more helpful message. |
|
I have improved the error handling |
Got code
It is working at first. But on second or N-th call I got System.NullReferenceException when trying to access
Clowd.Clipboard.ClipboardAvalonia
The text was updated successfully, but these errors were encountered: