Open GoogleCodeExporter opened 9 years ago
Error: 2 is invalid for com.{removed}::{removed}
at com.netease.protobuf::TextFormat$/printEnum()[C:\Users\Atry\Documents\lalala\game\race-for-the-woolen\protoc-gen-as3\src\as3\com\netease\protobuf\TextFormat.as:47]
at com.netease.protobuf::TextFormat$/printValue()[C:\Users\Atry\Documents\lalala\game\race-for-the-woolen\protoc-gen-as3\src\as3\com\netease\protobuf\TextFormat.as:285]
at com.netease.protobuf::TextFormat$/printMessageFields()[C:\Users\Atry\Documents\lalala\game\race-for-the-woolen\protoc-gen-as3\src\as3\com\netease\protobuf\TextFormat.as:200]
at com.netease.protobuf::TextFormat$/printToUTFBytes()[C:\Users\Atry\Documents\lalala\game\race-for-the-woolen\protoc-gen-as3\src\as3\com\netease\protobuf\TextFormat.as:315]
at com.netease.protobuf::TextFormat$/printToString()[C:\Users\Atry\Documents\lalala\game\race-for-the-woolen\protoc-gen-as3\src\as3\com\netease\protobuf\TextFormat.as:327]
at com.netease.protobuf::Message/toString()[C:\Users\Atry\Documents\lalala\game\race-for-the-woolen\protoc-gen-as3\src\as3\com\netease\protobuf\Message.as:209]
Original comment by siarhei....@gmail.com
on 26 Nov 2012 at 10:30
[deleted comment]
TextFormat are not backward compatible. It's a limitation from the format per
se. Don't use TextFormat when you change proto.
Original comment by pop.atry@gmail.com
on 26 Nov 2012 at 3:23
bad news for me. Its means that i cannot log messages.
I do:
r.mergeFrom( payload );
log.debug( r.toString() );
any workaround?
Original comment by siarhei....@gmail.com
on 26 Nov 2012 at 4:19
[deleted comment]
What if you put the equivalent code in Java?
Original comment by pop.atry@gmail.com
on 27 Nov 2012 at 12:05
Original comment by pop.atry@gmail.com
on 27 Nov 2012 at 12:05
Original issue reported on code.google.com by
siarhei....@gmail.com
on 26 Nov 2012 at 10:18