java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123929

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at org.axonframework.commandhandling.model.AbstractMessageHandler.<init>(AbstractMessageHandler.java:45) at org.axonframework.commandhandling.model.inspection.MethodEventHandlerDefinition$MethodMessageHandler.<init>(MethodEventHandlerDefinition.java:50) at org.axonframework.commandhandling.model.inspection.MethodEventHandlerDefinition.createHandler(MethodEventHandlerDefinition.java:39) at org.axonframework.common.annotation.AnnotatedHandlerInspector.lambda$initializeMessageHandlers$138(AnnotatedHandlerInspector.java:78) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.axonframework.common.annotation.AnnotatedHandlerInspector.initializeMessageHandlers(AnnotatedHandlerInspector.java:77) at org.axonframework.common.annotation.AnnotatedHandlerInspector.initialize(AnnotatedHandlerInspector.java:67) at org.axonframework.common.annotation.AnnotatedHandlerInspector.lambda$createInspector$136(AnnotatedHandlerInspector.java:53) at java.util.HashMap.computeIfAbsent(HashMap.java:1118) at org.axonframework.common.annotation.AnnotatedHandlerInspector.createInspector(AnnotatedHandlerInspector.java:53) at org.axonframework.common.annotation.AnnotatedHandlerInspector.inspectType(AnnotatedHandlerInspector.java:47) at org.axonframework.eventhandling.AnnotationEventListenerAdapter.<init>(AnnotationEventListenerAdapter.java:56) at org.axonframework.eventhandling.AnnotationEventListenerAdapter.<init>(AnnotationEventListenerAdapter.java:41) at org.axonframework.eventhandling.SimpleEventHandlerInvoker.lambda$new$41(SimpleEventHandlerInvoker.java:39) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.axonframework.eventhandling.SimpleEventHandlerInvoker.<init>(SimpleEventHandlerInvoker.java:42) at org.axonframework.eventhandling.SimpleEventHandlerInvoker.<init>(SimpleEventHandlerInvoker.java:34) at org.axonframework.quickstart.RunAnnotatedAggregate.main(RunAnnotatedAggregate.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.