SollmoStudio / beyond

Beyond: The Scalable Game Server Framework
http://www.beyondframework.com
Apache License 2.0
25 stars 9 forks source link

Rhino usage warning. #221

Open murmur76 opened 9 years ago

murmur76 commented 9 years ago

Warning message is like below and there's no backtrace logs to debug.

RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object [Ljava.lang.Object;@7c301bfc of class [Ljava.lang.Object; where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.

I think there are some points that not converting java object to JS properly. might be a get method of ScriptableDocument?

@sgkim126

murmur76 commented 9 years ago

These are test list that not occurs rhino usage warning. All other test cases occur warning.

acceptFriend breakUpFriend chargeAP, chargeBP continueMission deviceChange enhanceCharacter gachaSimulator getCharacterList getDeviceChangeKey getStoryList getUserData getUserStamina initGachaTable login rejectFriend requestFriend startMission