java.lang.NullPointerException: null

GitHub | dwursteisen | 3 months ago
  1. 0

    NullPointerException mappnig from List.attr

    dozer | 6 years ago | pdurcek
    java.lang.NullPointerException: null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NullPointerException on generateSchema

    GitHub | 9 months ago | emtiazahmed
    java.lang.NullPointerException: null

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at java.lang.Class.isAssignableFrom()
    2. Java RT
      Class.isAssignableFrom
      1. java.lang.Class.isAssignableFrom(Native Method)[na:1.8.0_65]
      1 frame
    3. org.springframework.core
      ByteBufferEncoder.canEncode
      1. org.springframework.core.codec.ByteBufferEncoder.canEncode(ByteBufferEncoder.java:46)[spring-core-5.0.0.M1.jar:5.0.0.M1]
      1 frame
    4. org.springframework.http
      EncoderHttpMessageWriter.canWrite
      1. org.springframework.http.codec.EncoderHttpMessageWriter.canWrite(EncoderHttpMessageWriter.java:63)[spring-web-5.0.0.BUILD-20160902.094047-214.jar:5.0.0.BUILD-SNAPSHOT]
      1 frame
    5. org.springframework.web
      AbstractMessageWriterResultHandler.lambda$getProducibleMediaTypes$0
      1. org.springframework.web.reactive.result.method.annotation.AbstractMessageWriterResultHandler.lambda$getProducibleMediaTypes$0(AbstractMessageWriterResultHandler.java:135)[spring-web-reactive-5.0.0.BUILD-20160902.094047-157.jar:5.0.0.BUILD-SNAPSHOT]
      1 frame
    6. Java RT
      ReferencePipeline.collect
      1. java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)[na:1.8.0_65]
      2. java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)[na:1.8.0_65]
      3. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[na:1.8.0_65]
      4. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[na:1.8.0_65]
      5. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[na:1.8.0_65]
      6. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[na:1.8.0_65]
      7. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[na:1.8.0_65]
      7 frames
    7. org.springframework.web
      ResponseEntityResultHandler.lambda$handleResult$2
      1. org.springframework.web.reactive.result.method.annotation.AbstractMessageWriterResultHandler.getProducibleMediaTypes(AbstractMessageWriterResultHandler.java:137)[spring-web-reactive-5.0.0.BUILD-20160902.094047-157.jar:5.0.0.BUILD-SNAPSHOT]
      2. org.springframework.web.reactive.result.method.annotation.AbstractMessageWriterResultHandler.writeBody(AbstractMessageWriterResultHandler.java:113)[spring-web-reactive-5.0.0.BUILD-20160902.094047-157.jar:5.0.0.BUILD-SNAPSHOT]
      3. org.springframework.web.reactive.result.method.annotation.ResponseEntityResultHandler.lambda$handleResult$2(ResponseEntityResultHandler.java:161)[spring-web-reactive-5.0.0.BUILD-20160902.094047-157.jar:5.0.0.BUILD-SNAPSHOT]
      3 frames
    8. reactor.core.publisher
      MonoThenApply$MonoThenApplyManager.onNext
      1. reactor.core.publisher.MonoThenApply$MonoThenApplyManager.onNext(MonoThenApply.java:97)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      1 frame
    9. reactor.adapter
      RxJava1Adapter$SingleAsMono$SingleAsMonoSubscriber.onSuccess
      1. reactor.adapter.RxJava1Adapter$SingleAsMono$SingleAsMonoSubscriber.onSuccess(RxJava1Adapter.java:436)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      1 frame
    10. rxjava
      SafeSubscriber.onNext
      1. rx.Single$18.onNext(Single.java:1797)[rxjava-1.1.5.jar:1.1.5]
      2. rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)[rxjava-1.1.5.jar:1.1.5]
      2 frames
    11. rx.internal.producers
      SingleDelayedProducer.setValue
      1. rx.internal.producers.SingleDelayedProducer.emit(SingleDelayedProducer.java:102)[rxjava-1.1.5.jar:1.1.5]
      2. rx.internal.producers.SingleDelayedProducer.setValue(SingleDelayedProducer.java:85)[rxjava-1.1.5.jar:1.1.5]
      2 frames
    12. rxjava
      Single.subscribe
      1. rx.Single$1$1.onSuccess(Single.java:84)[rxjava-1.1.5.jar:1.1.5]
      2. rx.internal.util.ScalarSynchronousSingle$1.call(ScalarSynchronousSingle.java:40)[rxjava-1.1.5.jar:1.1.5]
      3. rx.internal.util.ScalarSynchronousSingle$1.call(ScalarSynchronousSingle.java:36)[rxjava-1.1.5.jar:1.1.5]
      4. rx.Single$1.call(Single.java:94)[rxjava-1.1.5.jar:1.1.5]
      5. rx.Single$1.call(Single.java:74)[rxjava-1.1.5.jar:1.1.5]
      6. rx.Single.subscribe(Single.java:1725)[rxjava-1.1.5.jar:1.1.5]
      7. rx.Single.subscribe(Single.java:1802)[rxjava-1.1.5.jar:1.1.5]
      7 frames
    13. reactor.adapter
      RxJava1Adapter$SingleAsMono.subscribe
      1. reactor.adapter.RxJava1Adapter$SingleAsMono.subscribe(RxJava1Adapter.java:398)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      1 frame
    14. reactor.core.publisher
      MonoThenSupply.subscribe
      1. reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:57)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      2. reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      3. reactor.core.publisher.MonoThenApply$MonoThenApplyManager.onNext(MonoThenApply.java:131)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      4. reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:913)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      5. reactor.core.publisher.MonoThenApply$MonoThenApplyManager$SecondSubscriber.onNext(MonoThenApply.java:201)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      6. reactor.core.publisher.FluxResume$ResumeSubscriber.onNext(FluxResume.java:74)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      7. reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:126)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      8. reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:1529)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      9. reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.request(FluxMapFuseable.java:182)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      10. reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:1246)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      11. reactor.core.publisher.FluxResume$ResumeSubscriber.onSubscribe(FluxResume.java:69)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      12. reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onSubscribe(FluxMapFuseable.java:96)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      13. reactor.core.publisher.FluxFlatMap.trySubscribeScalarMap(FluxFlatMap.java:169)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      14. reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:50)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      15. reactor.core.publisher.MonoMapFuseable.subscribe(MonoMapFuseable.java:66)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      16. reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      17. reactor.core.publisher.MonoThenApply$MonoThenApplyManager.onNext(MonoThenApply.java:131)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      18. reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:71)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      19. reactor.core.publisher.MonoNext$NextSubscriber.onNext(MonoNext.java:81)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      20. reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.drain(FluxConcatMap.java:383)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      21. reactor.core.publisher.FluxConcatMap$ConcatMapImmediate.onSubscribe(FluxConcatMap.java:192)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      22. reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:95)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      23. reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:59)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      24. reactor.core.publisher.FluxConcatMap.subscribe(FluxConcatMap.java:116)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      25. reactor.core.publisher.MonoNext.subscribe(MonoNext.java:44)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      26. reactor.core.publisher.MonoOtherwiseIfEmpty.subscribe(MonoOtherwiseIfEmpty.java:47)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      27. reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:57)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      28. reactor.core.publisher.MonoThenApply.subscribe(MonoThenApply.java:57)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      29. reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      30. reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      31. reactor.core.publisher.MonoOtherwise.subscribe(MonoOtherwise.java:47)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      32. reactor.core.publisher.MonoThenSupply$MonoConcatIgnoreManager.drain(MonoThenSupply.java:166)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      33. reactor.core.publisher.MonoThenSupply.subscribe(MonoThenSupply.java:54)[reactor-core-3.0.0.BUILD-20160818.233648-83.jar:na]
      33 frames
    15. reactor.ipc.netty
      NettyHttpServerHandler.channelRead
      1. reactor.ipc.netty.http.NettyHttpServerHandler.channelRead(NettyHttpServerHandler.java:92)[reactor-netty-0.6.0.BUILD-20160902.020552-26.jar:na]
      1 frame
    16. Netty
      SingleThreadEventExecutor$5.run
      1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      4. io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      5. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      6. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      7. io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      8. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      9. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      10. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:350)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      11. io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      12. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      13. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:358)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      14. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      15. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      16. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      17. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      18. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      19. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)[netty-all-4.1.3.Final.jar:4.1.3.Final]
      20. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)[netty-common-4.1.3.Final.jar:4.1.3.Final]
      20 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
      1 frame