Skip to content
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

Closed
arusland opened this issue May 15, 2013 · 3 comments
Closed

udpcount route doesn't work #92

arusland opened this issue May 15, 2013 · 3 comments
Labels

Comments

@arusland
Copy link

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: 1.7.0.21
OS: Windows 7 x64

@raphaelbauer
Copy link
Contributor

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 :) ).

Thanks!

Cheers,

Raphael

@arusland
Copy link
Author

Hello Raphael,

Yes, that line works)

Best regards,
Ruslan A.

@raphaelbauer
Copy link
Contributor

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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants