incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-153) getDetachedValue() nullifies values
Date Wed, 30 Jan 2013 19:43:13 GMT


Gabriel Reid commented on CRUNCH-153:

[~stim] Am I correct in assuming that the AvroString class was originally in package "com.tomtom.places.unicorn.testutil.avro"?

If I put the package declaration line into the AvroString class definition, then everything
works ok. It seems that this is the behavior in the Avro SpecificDatumReader, i.e. it fails
silently if the type of the datum doesn't match up exactly with the inferred type from the

Could you double check on your side (i.e. try putting the package declaration back in) to
make sure this is indeed the case?
> getDetachedValue() nullifies values
> -----------------------------------
>                 Key: CRUNCH-153
>                 URL:
>             Project: Crunch
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Tim van Heugten
>            Assignee: Gabriel Reid
>            Priority: Critical
>         Attachments:,, single_word.txt,
> While trying to create a simple (non-null) testcase for CRUNCH-152 I encountered the
following problem:
> Emitted data that has multiple output targets is passed through getDetachedValue().
> After that method is done, the fields of the data are null.
> Causing NullPointerExceptions.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message