Thursday, December 19, 2024

RE: Class not included in the set of types for RPC

> Enumeration constants are serialized as a name only; none of the field values are serialized.

 

What are the consequences of not having the values?

Reading on the Internet, it means I can't use valueOf() and ordinal().

But, does it work normally otherwise? 

Can I assign a constant value to a field, read that value, and compare the value to one of the
constants?

 

> Can you confirm that the policy file does include Line

 

It does not have Line in it:

 

@FinalFields, true

com._3dmathpuzzles.play.client.GetPuzzleService, false, false, false, false, _, 4203465842

com._3dmathpuzzles.slitherlink.RectangularWithDiagonalsPuzzle, true, true, false, false, com._3dmathpuzzles.slitherlink.RectangularWithDiagonalsPuzzle/2547295082, 2547295082

com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException, true, true, true, true, com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533, 3936916533

com.google.gwt.user.client.rpc.RpcTokenException, true, true, false, false, com.google.gwt.user.client.rpc.RpcTokenException/2345075298, 2345075298

com.google.gwt.user.client.rpc.XsrfToken, false, false, true, true, com.google.gwt.user.client.rpc.XsrfToken/4254043109, 4254043109

com.propfinancing.puzzle.Puzzle, true, false, false, false, com.propfinancing.puzzle.Puzzle/1723715424, 1723715424

com.propfinancing.puzzle.slitherlink.Box, true, true, false, false, com.propfinancing.puzzle.slitherlink.Box/1302152982, 1302152982

com.propfinancing.puzzle.slitherlink.Box$STATE, true, true, false, false, com.propfinancing.puzzle.slitherlink.Box$STATE/1639054469, 1639054469

com.propfinancing.puzzle.slitherlink.BoxWithDiagonals, true, true, false, false, com.propfinancing.puzzle.slitherlink.BoxWithDiagonals/2774485663, 2774485663

com.propfinancing.puzzle.slitherlink.Component, true, false, false, false, com.propfinancing.puzzle.slitherlink.Component/4011233562, 4011233562

com.propfinancing.puzzle.slitherlink.Line$STATUS, true, true, false, false, com.propfinancing.puzzle.slitherlink.Line$STATUS/1640439993, 1640439993

com.propfinancing.puzzle.slitherlink.NumberedBox, true, true, false, false, com.propfinancing.puzzle.slitherlink.NumberedBox/1782628205, 1782628205

com.propfinancing.puzzle.slitherlink.Puzzle, true, false, false, false, com.propfinancing.puzzle.slitherlink.Puzzle/2584703185, 2584703185

com.propfinancing.puzzle.slitherlink.RectangularPuzzle, true, false, false, false, com.propfinancing.puzzle.slitherlink.RectangularPuzzle/3177548746, 3177548746

com.propfinancing.puzzle.slitherlink.RectangularWithDiagonalsPuzzle, true, false, false, false, com.propfinancing.puzzle.slitherlink.RectangularWithDiagonalsPuzzle/3793384887, 3793384887

java.lang.Exception, true, false, true, false, java.lang.Exception/1920171873, 1920171873

java.lang.RuntimeException, true, false, true, false, java.lang.RuntimeException/515124647, 515124647

java.lang.String, true, true, true, true, java.lang.String/2004016611, 2004016611

java.lang.Throwable, true, false, true, false, java.lang.Throwable/2953622131, 2953622131

java.util.ArrayList, true, true, false, false, java.util.ArrayList/4159755760, 4159755760

java.util.HashMap, true, true, false, false, java.util.HashMap/1797211028, 1797211028

java.util.LinkedHashMap, true, true, false, false, java.util.LinkedHashMap/3008245022, 3008245022

 

> the GWT-RPC generator (run when the compiler is invoked) might not have seen a clear path to how this type could be used

 

Unfortunately, it is silent about the reason.

I am hoping we can improve it help the developer instead of leaving me to make guesses.

 

Thank you,

 Neil

 

--

Neil Aggarwal, (972) 834-1565, http://www.propfinancing.com

We offer 30 year loans on single family houses!

No comments:

Post a Comment