cptjackwu opened a new issue, #929:
URL: https://github.com/apache/plc4x/issues/929

   ### What happened?
   
    <dependency>
               <groupId>org.apache.plc4x</groupId>
               <artifactId>plc4j-api</artifactId>
               <version>0.10.0</version>
           </dependency>
   
   
           <dependency>
               <groupId>org.apache.plc4x</groupId>
               <artifactId>plc4j-driver-s7</artifactId>
               <version>0.10.0</version>
               <scope>runtime</scope>
           </dependency>
   
   
   Exception in thread "main" java.lang.ClassCastException: 
org.apache.plc4x.java.s7.readwrite.field.S7StringField cannot be cast to 
org.apache.plc4x.java.s7.readwrite.field.S7SubscriptionField
        at 
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.subscribe(S7ProtocolLogic.java:341)
        at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.lambda$optimizedSubscribe$4(BaseOptimizer.java:120)
        at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:138)
        at 
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedSubscribe(BaseOptimizer.java:120)
        at 
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.subscribe(AbstractPlcConnection.java:183)
        at 
org.apache.plc4x.java.spi.messages.DefaultPlcSubscriptionRequest.execute(DefaultPlcSubscriptionRequest.java:66)
        at PlcClient.main(PlcClient.java:127)
   
   
   
   ### Version
   
   v0.10.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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to