wang-xinhong / protobuf

Automatically exported from code.google.com/p/protobuf
Other
0 stars 0 forks source link

Getting Error when merging Request to Protobuff format #665

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Python script test is successful
2. production request is having some issues
3.

What is the expected output? What do you see instead?
Successfully should be parsed

What version of the product are you using? On what operating system?
Windows

Please provide any additional information below.
error is

com.google.protobuf.TextFormat$ParseException: 84:5: Message type 
"BidRequest.AdSlot.MatchingAdData" has no field named "7".
        at com.google.protobuf.TextFormat$Tokenizer.parseExceptionPreviousToken(
TextFormat.java:923)
        at com.google.protobuf.TextFormat.mergeField(TextFormat.java:1125)
        at com.google.protobuf.TextFormat.mergeField(TextFormat.java:1156)
        at com.google.protobuf.TextFormat.mergeField(TextFormat.java:1156)
        at com.google.protobuf.TextFormat.merge(TextFormat.java:1062)
        at com.google.protobuf.TextFormat.merge(TextFormat.java:1008)
        at com.adtheorent.customfunction.GoogleAdX.AdXRequest(GoogleAdX.java:103
)
        at be.gen.Bidder.RuleFunctions.HTTPFront.AdExchanges.Request2Concept_AdX
$oversizeName.Request2Concept_AdX(Request2Concept_AdX$oversizeName.java:25)
        at be.gen.Bidder.RuleFunctions.HTTPFront.AdExchanges.nullAction_AdXObjec
t$.Action_AdX(nullAction_AdXObject$.java:28)
        at be.gen.Bidder.RuleFunctions.HTTPFront.AdExchanges.Action_AdX.invoke(A

Original issue reported on code.google.com by veer...@gmail.com on 29 Aug 2014 at 3:05

GoogleCodeExporter commented 9 years ago
From the error message, it seems you are parsing a text format proto which 
contains unknown fields. This is explicitly not supported.

Original comment by xiaof...@google.com on 29 Aug 2014 at 5:34