odbozhou opened a new issue, #294:
URL: https://github.com/apache/rocketmq-connect/issues/294

   **BUG REPORT**
   1、
   
   
![image](https://user-images.githubusercontent.com/14222167/187374373-69dadddf-5cf7-45a3-bdda-9d387c5336a7.png)
   rrors.log.enable=true, pk.mode=record_key, 
key.converter=org.apache.rocketmq.connect.runtime.converter.record.json.JsonConverter,
 pk.fields=id}}]}
   2022-08-30 15:16:57 ERROR ConnectScheduledThread - schedule persist position 
error.
   java.lang.NullPointerException: null
           at 
java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
           at 
java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
           at 
org.apache.rocketmq.connect.runtime.store.MemoryBasedKeyValueStore.put(MemoryBasedKeyValueStore.java:34)
           at 
org.apache.rocketmq.connect.runtime.service.StateManagementServiceImpl.lambda$prePersist$4(StateManagementServiceImpl.java:169)
           at 
java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1597)
           at 
org.apache.rocketmq.connect.runtime.service.StateManagementServiceImpl.prePersist(StateManagementServiceImpl.java:168)
           at 
org.apache.rocketmq.connect.runtime.service.StateManagementServiceImpl.persist(StateManagementServiceImpl.java:180)
           at 
org.apache.rocketmq.connect.runtime.controller.distributed.DistributedConnectController.lambda$start$3(DistributedConnectController.java:100)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
           at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
           at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   
   
   
![image](https://user-images.githubusercontent.com/14222167/187374814-05e85b48-0725-4a7a-8ea1-6ddfb8e4b5d9.png)
   
   
   信息: Trying to restore lost connection to 121.40.60.30:3306
   八月 30, 2022 3:17:53 下午 com.github.shyiko.mysql.binlog.BinaryLogClient connect
   信息: Connected to 121.40.60.30:3306 at mysql-bin.000003/12221 (sid:184054, 
cid:94)
   Exception in thread "ShutdownHook" java.lang.NullPointerException
           at 
java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
           at 
java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
           at 
org.apache.rocketmq.connect.runtime.store.MemoryBasedKeyValueStore.put(MemoryBasedKeyValueStore.java:34)
           at 
org.apache.rocketmq.connect.runtime.service.StateManagementServiceImpl.lambda$prePersist$4(StateManagementServiceImpl.java:169)
           at 
java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1597)
           at 
org.apache.rocketmq.connect.runtime.service.StateManagementServiceImpl.prePersist(StateManagementServiceImpl.java:168)
           at 
org.apache.rocketmq.connect.runtime.service.StateManagementServiceImpl.stop(StateManagementServiceImpl.java:158)
           at 
org.apache.rocketmq.connect.runtime.controller.AbstractConnectController.shutdown(AbstractConnectController.java:162)
           at 
org.apache.rocketmq.connect.runtime.controller.distributed.DistributedConnectController.shutdown(DistributedConnectController.java:111)
           at 
org.apache.rocketmq.connect.runtime.DistributedConnectStartup$1.run(DistributedConnectStartup.java:162)
           at java.lang.Thread.run(Thread.java:748)
   
   
   
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   
   - What is expected to see?
   
   - What did you see instead?
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions on how to fix, etc):
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   2. Provide any additional detail on your proposed use case for this feature.
   
   2. Indicate the importance of this issue to you (blocker, must-have, 
should-have, nice-to-have). Are you currently using any workarounds to address 
this issue?
   
   4. If there are some sub-tasks involved, use -[] for each sub-task and 
create a corresponding issue to map to the sub-task:
   
   - [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 
description here, 
   - [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 
description here,
   - ...
   


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