io.netty.handler.codec.EncoderException: scala.MatchError: PersonId(1) (of class parameterbinderfactory.PersonId)

GitHub | xuwei-k | 9 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.
  1. 0

    GitHub comment 38#235824924

    GitHub | 9 months ago | xuwei-k
    io.netty.handler.codec.EncoderException: scala.MatchError: PersonId(1) (of class parameterbinderfactory.PersonId)
  2. 0

    HttpClient blocked after a failed request, error "unexpected message type: DefaultHttpRequest"

    GitHub | 4 months ago | fayndee
    io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: DefaultHttpRequest
  3. 0

    HttpObjectEncoder exception after updating from 4.0.6.Final to 4.0.7.Final

    GitHub | 4 years ago | eugen-yakovets
    io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: CompositeByteBuf
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Netty4 websockets: getting IllegalStateException from HttpObjectDecoder if we attempt to send a message too quickly after websocket connect

    Stack Overflow | 3 years ago | Bob DeRemer
    io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: UnpooledUnsafeDirectByteBuf
  6. 0

    GitHub comment 47#58490775

    GitHub | 3 years ago | nbarabash
    io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: unexpected message type: UnpooledUnsafeDirectByteBuf

    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. io.netty.handler.codec.EncoderException

      scala.MatchError: PersonId(1) (of class parameterbinderfactory.PersonId)

      at io.netty.handler.codec.MessageToMessageEncoder.write()
    2. Netty
      MessageToMessageEncoder.write
      1. io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:107)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:629)
      3. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:686)
      4. io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:622)
      5. io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:102)
      5 frames