Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Internal Error in QuickOPC

More
15 Jan 2019 13:55 #6979 by support
Replied by support on topic Internal Error in QuickOPC
Hello.

Please download recent QuickOPC 2018.3 (should be build 1026.1 or later) from our Web page (or as a NuGet package), and re-build your project with it. This issue should be resolved. Thank you again for reporting it.

Best regards

Please Log in or Create an account to join the conversation.

More
12 Jan 2019 10:48 #6976 by support
Replied by support on topic Internal Error in QuickOPC
Thank you for the additional details.
I have looked at the issue. There is nothing wrong in your code, this appears to be a problem on our side.

Please allow some days before we have a fix. When it is ready (a new build of version 2018.3), I will notify you here again.

Best regards

Please Log in or Create an account to join the conversation.

More
11 Jan 2019 10:09 #6974 by Captain_Dash
Hello,
  1. It seems to happen at some point later

  2. We are receiving this message from the LogEntry event, that we subscribed in our handler.

  3. As far as i saw it we could work on

  4. The whole message

INTERNAL ERROR. The OPC-UA engine might be in an unstable state.
An exception of type 'System.ObjectDisposedException' from source 'OpcLabs.BaseLib' has occurred in OPC-UA SDK callback 'MonitoredItem.Notification'. The exception descend follows.
(1) {System.ObjectDisposedException} OpcLabs.BaseLib(Requires) -> Cannot access a disposed object. Object name: 'Push operation performed on a disposed enqueuer.'.

Stacktrace:
-->OpcLabs.BaseLib.Instrumentation.LogEntryEventHandler.Invoke
-->OpcLabs.BaseLib.Widgets.NotifyingWidget.SafeCriticalCallback
-->System.Threading.ExecutionContext.RunInternal
-->System.Threading.ExecutionContext.Run
-->System.Threading.ExecutionContext.Run
-->OpcLabs.BaseLib.Threading.WorkItem.Execute
-->OpcLabs.BaseLib.Threading.FifoExecution.ProcessQueuedItems
-->System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem
-->System.Threading.ThreadPoolWorkQueue.Dispatch


This message is written over and over again.

What is the problem here? Could there be some problems at a certain point with that? We could unsubscribe from the event, but in this case we might miss some problems which could occure. Should we downgrade to the previous version?

Please Log in or Create an account to join the conversation.

More
11 Jan 2019 08:41 #6973 by support
Replied by support on topic Internal Error in QuickOPC
Hello,
thank you for reporting this.

Yes, it can be related to the new version.

I have some questions:
  1. So, you just do a subscribe, and it almost immediately happens? Please confirm. Or is it at some later point?
  2. Where do you receive this error - are you hooking your handler to the LogEntry event? Or is it the Exception pass in the EventArgs of the data change event handler?
  3. Does the error stop the program from working, or do thing continue to work otherwise normally, as if nothing happened?
  4. Isn't there more text to the error? It says at the end "The exception descend follows.". Maybe at separate lines, but still in the same string?

Thank you

Please Log in or Create an account to join the conversation.

More
11 Jan 2019 08:17 #6972 by Captain_Dash
Hello,

last week I Updated to the newest nuget package 5.54.453

Since that after establishing a connection we receive the following message:

INTERNAL ERROR. The OPC-UA engine might be in an unstable state.
An exception of type 'System.ObjectDisposedException' from source 'OpcLabs.BaseLib' has occurred in OPC-UA SDK callback 'MonitoredItem.Notification'. The exception descend follows.

The problem was not happening before the update. Could this be related to the new version?

best regards

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.060 seconds