humkum commented on issue #62:
URL: 
https://github.com/apache/rocketmq-schema-registry/issues/62#issuecomment-1251030783

   I may not understand your request, but I found that if there didn't throw an 
exception. It would cause NPE in GetSchemaResponse constructor as follows:
   
   ```
   public GetSchemaResponse(QualifiedName name, SchemaRecordInfo 
schemaRecordInfo) {
           this.subjectFullName = name.subjectFullName();
           this.schemaFullName = schemaRecordInfo.getSchema();
           this.recordId = 
CommonUtil.getSchemaRecordId(schemaRecordInfo.getSchemaId(),
               schemaRecordInfo.getVersion());
           this.idl = schemaRecordInfo.getIdl();
           this.dependency = schemaRecordInfo.getDependency();
           this.type = schemaRecordInfo.getType();
           this.fields = parse(idl);
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to