mrwhy-orig opened a new issue, #1444:
URL: https://github.com/apache/plc4x/issues/1444

   ### What happened?
   
   Use the hello-world-plc4x-subscribe example and try to subscribe to a value 
change.
   
   The subscription leads to following exception:
   
   ```
   Exception in thread "Thread-0" java.lang.ClassCastException: class 
org.apache.plc4x.java.s7.readwrite.tag.S7Tag cannot be cast to class 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag 
(org.apache.plc4x.java.s7.readwrite.tag.S7Tag and 
org.apache.plc4x.java.s7.readwrite.tag.S7SubscriptionTag are in unnamed module 
of loader 'app')
        at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$23(S7ProtocolLogic.java:407)
        at java.base/java.lang.Thread.run(Thread.java:829)
   
   ```
   
   
   ### Version
   
   v0.12.0
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [ ] OPC-UA
   - [X] S7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to