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

   Dear community, 
   With a recent (from Friday last week) build from PLC4X 0.11.0-SNAPSHOT 
(https://github.com/apache/plc4x/tree/logix_develop) we connected our Kafka 
environment through the PLC4X connector to our Rockwell PLC of type 1756-EN2T 
to extract data from the PLC. We used the following properties settings:
   {
   "connector.class": "org.apache.plc4x.kafka.Plc4xSourceConnector",
   "tasks.max": "1",
     "default.topic": "DefaultTopic",
   "sources": "MHSLineTakeway",
   "sources.MHSLineTakeway.connectionString": "opcua:tcp://143.21.40.239:44818",
           "sources.MHSLineTakeway.pollReturnInterval": "5000",
           "sources.MHSLineTakeway.bufferSize": "1000",
           "sources.MHSLineTakeway.jobReferences": "data-acquisition",
           "sources.MHSLineTakeway.jobReferences.data-acquisition.topic": 
"data-acquisition-topic",
           "jobs": "data-acquisition",
           "jobs.data-acquisition.interval": "100",
           "jobs.data-acquisition.fields": "stsmessageid",
           "jobs.data-acquisition.fields.stsmessageid": 
"PRIME_SSB_IO/STS_TRIGGERID",
           "bootstrap.servers": "localhost:9092",
           "jobs.data-acquisition.tags": "stsmessageid",
           "jobs.data-acquisition.tags.stsmessageid": 
"PRIME_SSB_IO/STS_TRIGGERID:INT"
   }
   
   These resulted in the below error (attached the entire log file):
   C[2022-11-23 08:21:50,517] DEBUG [mhs-linetakeway-source|task-0] Connection 
was detected as broken and is invalidated in Cached Manager 
(org.apache.plc4x.java.utils.connectionpool2.CachedDriverManager:127)
   [2022-11-23 08:21:50,518] WARN [mhs-linetakeway-source|task-0] Broken 
Connection was returned, although it is not borrowed, currently. 
(org.apache.plc4x.java.utils.connectionpool2.CachedDriverManager:132)
   [2022-11-23 08:21:50,518] DEBUG [mhs-linetakeway-source|task-0] Unable to 
Close 'broken' Connection 
(org.apache.plc4x.java.utils.connectionpool2.CachedDriverManager:138)
   java.lang.NullPointerException
   
   Do you know what the root cause of the problem is? Thank you for any 
assistance!
   
[trace_connect_error.txt](https://github.com/apache/plc4x/files/10074752/trace_connect_error.txt)
   


-- 
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