Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-313

java.lang.ClassCastException: DefaultPlcSubscriptionField cannot be cast to class OpcuaField

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • None
    • Driver-OPC-UA
    • None
    • Important

    Description

      Hi team -

      i had followed the https://github.com/apache/plc4x/tree/rel/0.8/plc4j/examples/hello-world-plc4x-subscription and facing the below error .

      version : plc4j-driver-opcua-0.8.0

      java : 1.8

      Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.apache.plc4x.java.spi.model.DefaultPlcSubscriptionField cannot be cast to org.apache.plc4x.java.opcua.protocol.OpcuaField

       

      please kindly provide your suggestions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            karacc karthik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: