java.lang.NullPointerException

GitHub | cn-yh | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol$DefaultRpcExporter.<init>()
  2. com.weibo.api
    ServiceConfigBean.onApplicationEvent
    1. com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol$DefaultRpcExporter.<init>(DefaultRpcProtocol.java:83)
    2. com.weibo.api.motan.protocol.rpc.DefaultRpcProtocol.createExporter(DefaultRpcProtocol.java:58)
    3. com.weibo.api.motan.protocol.AbstractProtocol.export(AbstractProtocol.java:70)
    4. com.weibo.api.motan.protocol.support.ProtocolFilterDecorator.export(ProtocolFilterDecorator.java:65)
    5. com.weibo.api.motan.config.handler.SimpleConfigHandler.export(SimpleConfigHandler.java:77)
    6. com.weibo.api.motan.config.ServiceConfig.doExport(ServiceConfig.java:211)
    7. com.weibo.api.motan.config.ServiceConfig.export(ServiceConfig.java:129)
    8. com.weibo.api.motan.config.springsupport.ServiceConfigBean.onApplicationEvent(ServiceConfigBean.java:90)
    9. com.weibo.api.motan.config.springsupport.ServiceConfigBean.onApplicationEvent(ServiceConfigBean.java:42)
    9 frames
  3. Spring Context
    ClassPathXmlApplicationContext.<init>
    1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:163)
    2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136)
    3. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)
    4. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)
    5. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:855)
    6. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
    7. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    8. org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
    8 frames
  4. com.weibo.motan
    DemoRpcServer.main
    1. com.weibo.motan.demo.server.DemoRpcServer.main(DemoRpcServer.java:27)
    1 frame