Status: New
Labels: Type-Defect Priority-Medium

New issue 683 by Protocol buffers java

I have a .java class created by RestaurantBestLocationDTO.proto called RestaurantBestLocationDTOOuterClass so i make a api get call to my server with content-type application/x-protobuf then i got a message but i can find the way to parse this message into a RestaurantBestLocationDTOOuterClass list

im doing something like this

Parser<List<RestaurantBestLocationDTOOuterClass>> parserData;
List<RestaurantBestLocationDTOOuterClass> list = parserData.parseFrom(inputStream);

obviously it says that the error is nullpointer exception because parserData is null
but i cant get an Instance because is an Inferface

so can i do to get what i want?

i just need to parse the response and get the list

What is the expected output? What do you see instead?
I want to get a List of RestaurantBestLocationDTOOuterClass

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

Please provide any additional information below.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to