Exception in thread "main" uk.ac.ebi.uniprot.dataservice.client.exception.ServiceException: Unexpected error while requesting the service with query: (accession : P35557)
at uk.ac.ebi.uniprot.dataservice.client.basic.impl.JapiBasicService.execute(JapiBasicService.java:140)
at uk.ac.ebi.uniprot.dataservice.client.uniprot.impl.JapiUniprotServiceImpl.getEntry(JapiUniprotServiceImpl.java:106)
at org.cy3sbml.oven.UniprotTest.main(UniprotTest.java:21)
Caused by: org.apache.avro.AvroTypeException: No match for ACTIVITY_REGULATION
at org.apache.avro.io.ResolvingDecoder.readEnum(ResolvingDecoder.java:200)
at org.apache.avro.generic.GenericDatumReader.readEnum(GenericDatumReader.java:199)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:152)
at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
at org.apache.avro.generic.GenericDatumReader.readArray(GenericDatumReader.java:219)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:155)
at org.apache.avro.generic.GenericDatumReader.readField(GenericDatumReader.java:193)
at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:183)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:151)
at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:142)
at org.apache.avro.file.DataFileStream.next(DataFileStream.java:233)
at org.apache.avro.file.DataFileStream.next(DataFileStream.java:220)
at uk.ac.ebi.uniprot.dataservice.client.basic.impl.JapiBasicService.getResponseItems(JapiBasicService.java:151)
at uk.ac.ebi.uniprot.dataservice.client.basic.impl.JapiBasicService.execute(JapiBasicService.java:134)
... 2 more
This is also a uniprot JAPI bug. similar to #276.