You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/01/03 12:23:26 UTC

[GitHub] joewee opened a new issue #27: Consumers register with container occurs NPE because get target class of consumer is inaccurate

joewee opened a new issue #27: Consumers  register with container occurs NPE  because  get target class of consumer is  inaccurate
URL: https://github.com/apache/rocketmq-spring/issues/27
 
 
   The issue tracker is **ONLY** used for bug report and feature request. 
   
   Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   
   - What did you expect to see?
   
   - What did you see instead?
   java.lang.NullPointerException: null
   	at org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration.validate(ListenerContainerConfiguration.java:124)
   	at org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration.registerContainer(ListenerContainerConfiguration.java:88)
   	at org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration$$Lambda$25/151847034.accept(Unknown Source)
   	at java.util.LinkedHashMap.forEach(LinkedHashMap.java:676)
   	at org.apache.rocketmq.spring.autoconfigure.ListenerContainerConfiguration.afterSingletonsInstantiated(ListenerContainerConfiguration.java:76)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:781)
   	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
   	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
   
   ![image](https://user-images.githubusercontent.com/6845957/50637484-1ea22f80-0f95-11e9-9951-318a502728df.png)
   ![image](https://user-images.githubusercontent.com/6845957/50637511-3da0c180-0f95-11e9-9207-85889111d996.png)
   
   2. Please tell us about your environment:
   macOS jdk8 
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions 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.
   
   3. 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?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services