org.jooby.Err: Bad Request(400): Failed to parse parameters to 'java.nio.ByteBuffer'</code></p>

GitHub | authchir | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    POST with empty `Content-Type` generates an error

    GitHub | 9 months ago | authchir
    org.jooby.Err: Bad Request(400): Failed to parse parameters to 'java.nio.ByteBuffer'</code></p>

    Root Cause Analysis

    1. org.jooby.Err

      Bad Request(400): Failed to parse parameters to 'java.nio.ByteBuffer'</code></p>

      at org.jooby.internal.MutantImpl.to()
    2. org.jooby.internal
      MutantImpl.to
      1. org.jooby.internal.MutantImpl.to(MutantImpl.java:87)
      2. org.jooby.internal.MutantImpl.to(MutantImpl.java:75)
      2 frames
    3. org.jooby
      Mutant.to
      1. org.jooby.Mutant.to(Mutant.java:307)
      1 frame
    4. com.gfaga.portail
      Main.lambda$new$2
      1. com.gfaga.portail.Main.lambda$new$2(Main.java:27)
      1 frame
    5. org.jooby
      Route$OneArgHandler.handle
      1. org.jooby.Route$OneArgHandler.handle(Route.java:1727)
      1 frame
    6. org.jooby.internal
      RouteChain.next
      1. org.jooby.internal.RouteImpl.handle(RouteImpl.java:108)
      2. org.jooby.internal.RouteChain.next(RouteChain.java:70)
      2 frames
    7. org.jooby
      Route$Chain.next
      1. org.jooby.Route$Chain.next(Route.java:2074)
      1 frame
    8. org.jooby.internal
      NettyHandler.channelRead0
      1. org.jooby.internal.HttpHandlerImpl.handle(HttpHandlerImpl.java:293)
      2. org.jooby.internal.netty.NettyHandler.channelRead0(NettyHandler.java:85)
      2 frames
    9. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372)
      3. io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38)
      4. io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:363)
      5. io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66)
      6. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
      7. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
      7 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame