liuzwei opened a new issue, #1021:
URL: https://github.com/apache/incubator-eventmesh/issues/1021

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Environment
   
   Windows
   
   ### EventMesh version
   
   master
   
   ### What happened
   
   I running the `eventmesh-runtime` in my Windows machine, and want to run the 
examples. 
   So I run the demo files  `AsyncPublish` and `Asyncsubscribe` which them in 
package `org.apache.eventmesh.tcp.demo`.
   
   I found the demo cannot run normally, and print a lot of NPE in console. 
   
   like this:
   
   ```bash
   java.lang.NullPointerException: null
        at 
org.apache.eventmesh.runtime.core.protocol.tcp.client.group.ClientGroupWrapper.lambda$initClientGroupPersistentConsumer$0(ClientGroupWrapper.java:432)
 ~[main/:?]
        at 
org.apache.eventmesh.connector.standalone.broker.task.SubScribeTask.run(SubScribeTask.java:94)
 [eventmesh-connector-standalone-1.3.0-release.jar:1.3.0-release]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
   09:24:49.591 [StandaloneConsumerThread] ERROR 
org.apache.eventmesh.connector.standalone.broker.task.SubScribeTask - consumer 
error, topic: TEST-TOPIC-TCP-ASYNC, offset: 0
   java.lang.NullPointerException: null
        at 
org.apache.eventmesh.runtime.core.protocol.tcp.client.group.ClientGroupWrapper.lambda$initClientGroupPersistentConsumer$0(ClientGroupWrapper.java:432)
 ~[main/:?]
        at 
org.apache.eventmesh.connector.standalone.broker.task.SubScribeTask.run(SubScribeTask.java:94)
 [eventmesh-connector-standalone-1.3.0-release.jar:1.3.0-release]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
[?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
   09:24:50.604 [StandaloneConsumerThread] ERROR 
org.apache.eventmesh.connector.standalone.broker.task.SubScribeTask - consumer 
error, topic: TEST-TOPIC-TCP-ASYNC, offset: 0
   java.lang.NullPointerException: null
   ```
   
   
   
   ### How to reproduce
   
   ### step1:
   
   running the `eventmesh-runtime`.
   
   I start the `main` method which in file `EventMeshStartup.java`, and specify 
a local configuration file which is copy from `eventmesh.properties`.
   
   ### step2:
   
   Running `main` method in 
`org.apache.eventmesh.tcp.demo.pub.eventmeshmessage.AsyncPublish`
   
   ### step3:
   Running `main` method in 
`org.apache.eventmesh.tcp.demo.sub.eventmeshmessage.AsyncSubscribe`
   
   
   ### Debug logs
   
   
![image](https://user-images.githubusercontent.com/8565261/178868199-3296acdb-d9af-47db-b9a4-3899948e0655.png)
   
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to