You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Andrew Pinder (JIRA)" <ji...@apache.org> on 2017/10/16 09:42:00 UTC

[jira] [Created] (AVRO-2096) PHP - Missing function skip_array in AvroIOBinaryDecoder causes php critical error

Andrew Pinder created AVRO-2096:
-----------------------------------

             Summary: PHP - Missing function skip_array in AvroIOBinaryDecoder causes php critical error
                 Key: AVRO-2096
                 URL: https://issues.apache.org/jira/browse/AVRO-2096
             Project: Avro
          Issue Type: Bug
          Components: php
    Affects Versions: 1.8.0
         Environment: On encountering invaid schema avro dies when it calles $decoder->skip_array() - a method which does not exist.   I note that skip_map() also doesnot exist

{code}
2017-10-16 09:20:41] critical Error: Call to undefined method AvroIOBinaryDecoder::skip_array() in /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php:771
Stack trace:
#0 /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php(661): AvroIODatumReader->skip_data(Object(AvroArraySchema), Object(AvroIOBinaryDecoder))
#1 /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php(557): AvroIODatumReader->read_record(Object(AvroRecordSchema), Object(AvroRecordSchema), Object(AvroIOBinaryDecoder))
#2 /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/datum.php(499): AvroIODatumReader->read_data(Object(AvroRecordSchema), Object(AvroRecordSchema), Object(AvroIOBinaryDecoder))
#3 /Volumes/Sites/projects/domainSearch/search-results-daemon/vendor/rg/avro-php/lib/avro/data_file.php(301): AvroIODatumReader->read(Object(AvroIOBinaryDecoder))
{code}
            Reporter: Andrew Pinder
            Priority: Critical






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)