What steps will reproduce the problem?
1. Create JSONToken token = new JSONToken("xx","yy");
2. Call JSONProcessor.tokenToPacket(token)
3. Result will be a WebSocketPacket with null as data.
Reason for error is that tokenToPacket now use the ObjectMapper on the data
from getMap(), but JSONToken.getMap() is not implemented yet.
What version of the product are you using? On what operating system?
Latest beta (nb20416) also checked SVN and no better version was found.
I switched to MapToken and then my code worked as expected.
I ran into this problem when I TokenServer.sendToken(connector, token) that use
this method on JSONTokens.
Original issue reported on code.google.com by larssa.a...@gmail.com on 17 Apr 2012 at 4:10
Original issue reported on code.google.com by
larssa.a...@gmail.com
on 17 Apr 2012 at 4:10