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

udpcount route doesn't work #92

arusland opened this Issue May 15, 2013 · 3 comments


None yet
2 participants

arusland commented May 15, 2013

I've generate project through maven

mvn archetype:generate -DarchetypeGroupId=org.ninjaframework -DarchetypeArtifactId=ninja-core-demo-archetype

After run this project by jetty /udpcount cannot be accessed. Although udp listener had started. Log doesn't contain any error.

Java Version:
OS: Windows 7 x64


This comment has been minimized.


raphaelbauer commented May 16, 2013

Hi and thanks for the bugreport...

you are right. The problem is that the return method should be like return Results.json().render(count.get()); and NOT Results.json(count.get()). If you change that it will work.

I'll mark that as bug, and we should fix that for the next release (plus a testcase :) ).





This comment has been minimized.

arusland commented May 16, 2013

Hello Raphael,

Yes, that line works)

Best regards,
Ruslan A.


This comment has been minimized.


raphaelbauer commented May 19, 2013

this is fixed in develop :) will be pushed to maven central with the next release...

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