OK, so, which pointer is null?

We can't do this for you.  You are the only one who can run your code in the
debugger.

If you want us to debug it, you need to provide a small, self-contained
example program demonstrating the problem.  Just C++ code and input data is
needed -- the C# part is not necessary.

On Thu, Mar 11, 2010 at 5:56 AM, Roey <roey...@gmail.com> wrote:

> Just to clarify , the access violation occurs inside the
> ParseFromArray function, right when it tries to parse the second field
> of the struct ("data"),
> this is the code that crashes inside the cc file :
>
>  // optional bytes Data = 2;
>      case 2: {
>        if
> (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
>
>  ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED)
> {
>         parse_Data:
>
> DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
>  <--------------
> This crashes
>                input, this->mutable_data()));
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com<protobuf%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to