Flat buffers : Object serialization must not be nested
问题 FlatBufferBuilder fbb = new FlatBufferBuilder(1024); String directory = "/Users/samarnath/RmsOne/CreateFlatBuffer/src/com/rms/objects/resources"; File [] policyfiles = ReturnFilesWithPattern(directory, "singlecoverriskpolicy"); for (File file: policyfiles) { Long StructureId = 0L; int insurer = 0; int insured = 0; int UnderWriter = 0; int inception = 0; int Expiration = 0; int ExternalID = 0; Long SubjectId =0L; int SubjectName = 0; int SubjectStructureName = 0; int Share = 0; Double