New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument Type Mismatch when an unbound route has parameters #102

Closed
cescoffier opened this Issue Mar 25, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@cescoffier
Member

cescoffier commented Mar 25, 2014

[ERROR] wisdom-error {nioEventLoopGroup-3-8} - An exception occurred while processing request POST /tasks/{id}
java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0]
at org.wisdom.api.interception.RequestContext$ActionInvoker.call(RequestContext.java:138) ~[wisdom-api-1.0-SNAPSHOT.jar:na]
at org.wisdom.api.interception.RequestContext.proceed(RequestContext.java:102) [wisdom-api-1.0-SNAPSHOT.jar:na]
at org.wisdom.error.DefaultPageErrorHandler.__M_call(DefaultPageErrorHandler.java:131) [default-error-handler-1.0-SNAPSHOT.jar:na]
at org.wisdom.error.DefaultPageErrorHandler.call(DefaultPageErrorHandler.java) [default-error-handler-1.0-SNAPSHOT.jar:na]
at org.wisdom.api.interception.RequestContext.proceed(RequestContext.java:102) [wisdom-api-1.0-SNAPSHOT.jar:na]
at org.wisdom.router.RouteDelegate.invoke(RouteDelegate.java:224) [router-1.0-SNAPSHOT.jar:na]
at org.wisdom.engine.server.WisdomHandler.invoke(WisdomHandler.java:587) [wisdom-engine-1.0-SNAPSHOT.jar:na]
at org.wisdom.engine.server.WisdomHandler.dispatch(WisdomHandler.java:303) [wisdom-engine-1.0-SNAPSHOT.jar:na]
at org.wisdom.engine.server.WisdomHandler.handleHttpRequest(WisdomHandler.java:180) [wisdom-engine-1.0-SNAPSHOT.jar:na]
at org.wisdom.engine.server.WisdomHandler.channelRead0(WisdomHandler.java:92) [wisdom-engine-1.0-SNAPSHOT.jar:na]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [netty-transport-4.0.12.Final.jar:na]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:153) [netty-codec-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:338) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:324) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:122) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:485) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:452) [netty-transport-4.0.12.Final.jar:na]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:346) [netty-transport-4.0.12.Final.jar:na]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) [netty-common-4.0.12.Final.jar:na]
at java.lang.Thread.run(Thread.java:744) [na:1.8.0]

cescoffier added a commit that referenced this issue Mar 26, 2014

Fix #102
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>

@cescoffier cescoffier modified the milestone: 0.4.0 Apr 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment