You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/09/02 02:16:31 UTC

[GitHub] [dubbo-go-hessian2] champly opened a new issue #223: Decode List happend `illegal class index` @idx 1 error

champly opened a new issue #223:
URL: https://github.com/apache/dubbo-go-hessian2/issues/223


   我遇到了和 #119 相同的错误,dubbo 的数据包如下:
   
   ```golang
   var dubboData = []byte{
   	0xda, 0xbb, 0xc2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x07, 0x6e, 0x05, 0x32, 0x2e, 0x30, 0x2e, 0x32, 0x30, 0x27, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x05, 0x30, 0x2e, 0x30, 0x2e, 0x30, 0x08, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x73, 0x10, 0x4c, 0x6a, 0x61, 0x76, 0x61, 0x2f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x4c, 0x69, 0x73, 0x74, 0x3b, 0x72, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x2e, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x1b, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x55, 0x52, 0x4c, 0x98, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x07, 0x7a, 0x6f, 0x6e, 0x65, 0x4b, 0x65, 0x79, 0x04
 , 0x70, 0x61, 0x74, 0x68, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x60, 0x4d, 0x30, 0x25, 0x6a, 0x61, 0x76, 0x61, 0x2e, 0x75, 0x74, 0x69, 0x6c, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x24, 0x55, 0x6e, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x70, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x04, 0x67, 0x7a, 0x30, 0x31, 0x0a, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x01, 0x30, 0x05, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x05, 0x32, 0x2e, 0x30, 0x2e, 0x32, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x07, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x01, 0x30, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x01, 0x30, 0x0b, 0x6d, 0x61, 0x78, 0x2e, 0x65, 0x6c, 0x61, 0x70, 0x73,
  0x65, 0x64, 0x01, 0x30, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x04, 0x72, 0x7a, 0x30, 0x31, 0x09, 0x6d, 0x61, 0x78, 0x2e, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x01, 0x30, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x0d, 0x31, 0x35, 0x39, 0x38, 0x39, 0x33, 0x38, 0x37, 0x33, 0x32, 0x33, 0x32, 0x38, 0x04, 0x73, 0x69, 0x64, 0x65, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x0b, 0x6d, 0x69, 0x6e, 0x2e, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x01, 0x30, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x01, 0x30, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 
 0x0e, 0x6d, 0x61, 0x78, 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x01, 0x30, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x4e, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x01, 0x30, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x4e, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x0d, 0x31, 0x30, 0x2e, 0x34, 0x39, 0x2e, 0x33, 0x33, 0x2e, 0x31, 0x32, 0x3a, 0x30, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x01, 0x30, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x01, 0x30, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x01, 0x30, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0
 x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x4e, 0x0a, 0x6d, 0x61, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x01, 0x30, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4e, 0x5a, 0x4e, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x2f, 0x6e, 0x75, 0x6c, 0x6c, 0x90, 0x0b, 0x31, 0x30, 0x2e, 0x34, 0x39, 0x2e, 0x33, 0x33, 0x2e, 0x31, 0x32, 0x4e, 0x4e, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x60, 0x4d, 0x91, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x04, 0x67, 0x7a, 0x
 30, 0x31, 0x0a, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x01, 0x30, 0x05, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x05, 0x32, 0x2e, 0x30, 0x2e, 0x32, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x30, 0x30, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6d, 0x61, 0x6c, 0x6c, 0x2e, 0x71, 0x75, 0x61, 0x73, 0x61, 0x72, 0x2e, 0x64, 0x73, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x5a, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x07, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x01, 0x30, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x01, 0x30, 0x0b, 0x6d, 0x61, 0x78, 0x2e, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x01, 0x30, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x04, 0x72, 0x7a, 0x30, 0x31, 0x09, 0x6d, 0x61, 0x78, 0x2e, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x01, 0x30, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x00, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6
 d, 0x70, 0x0d, 0x31, 0x35, 0x39, 0x38, 0x39, 0x33, 0x38, 0x37, 0x33, 0x32, 0x33, 0x32, 0x38, 0x04, 0x73, 0x69, 0x64, 0x65, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x06, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x0b, 0x6d, 0x69, 0x6e, 0x2e, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x01, 0x30, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x01, 0x30, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x05, 0x67, 0x7a, 0x30, 0x31, 0x61, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x00, 0x0e, 0x6d, 0x61, 0x78, 0x2e, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x01, 0x30, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x05, 0x69, 0x6e, 0x70
 , 0x75, 0x74, 0x01, 0x30, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x07, 0x61, 0x70, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x14, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x14, 0x7a, 0x6f, 0x6e, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x0f, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30, 0x2e, 0x31, 0x3a, 0x32, 0x30, 0x38, 0x38, 0x31, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x0d, 0x31, 0x30, 0x2e, 0x34, 0x39, 0x2e, 0x33, 0x33, 0x2e, 0x31, 0x32, 0x3a, 0x30, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x01, 0x30, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x01, 0x30, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x01, 0x30,
  0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x07, 0x61, 0x70, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x07, 0x70, 0x72, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x05, 0x67, 0x7a, 0x30, 0x31, 0x61, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x07, 0x70, 0x72, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x0a, 0x6d, 0x61, 0x78, 0x2e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x01, 0x30, 0x0f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x04, 0x74, 0x72, 0x75, 0x65, 0x5a, 0x4e, 0x30, 0x37, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6d, 0x61, 0x6c, 0x6c, 
 0x2e, 0x71, 0x75, 0x61, 0x73, 0x61, 0x72, 0x2e, 0x64, 0x73, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x5a, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x69, 0x6e, 0x76, 0x6f, 0x6b, 0x65, 0x90, 0x0b, 0x31, 0x30, 0x2e, 0x34, 0x39, 0x2e, 0x33, 0x33, 0x2e, 0x31, 0x32, 0x4e, 0x4e, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x66, 0x6c, 0x61, 0x67, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x04, 0x67, 0x7a, 0x30, 0x31, 0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x30, 0x27, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0
 x65, 0x2e, 0x70, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x07, 0x70, 0x72, 0x6f, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x05, 0x67, 0x7a, 0x30, 0x31, 0x61, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x05, 0x30, 0x2e, 0x30, 0x2e, 0x30, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x7a, 0x6f, 0x6e, 0x65, 0x04, 0x67, 0x7a, 0x30, 0x31, 0x04, 0x70, 0x61, 0x74, 0x68, 0x30, 0x27, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x07, 0x61, 0x70, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x14, 0x7a, 0x6f, 0x
 6e, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2d, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x0a, 0x64, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x4e, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x04, 0x67, 0x7a, 0x30, 0x31, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x0b, 0x31, 0x30, 0x2e, 0x34, 0x39, 0x2e, 0x33, 0x33, 0x2e, 0x31, 0x32, 0x0c, 0x64, 0x6d, 0x61, 0x6c, 0x6c, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x4e, 0x5a,
   }
   ```
   
   使用 `hessian.NewDecoderWithSkip` 来 Decode,只是需要解析 `attachment`, 但是解析中间的 args 的时候出现了错误
   `illegal class index @idx 1`
   
   通过追踪代码发现,解析 List 第一个内容的时候没有问题,解析第二内容的时候在执行[这里](https://github.com/apache/dubbo-go-hessian2/blob/ef54e1110ecb3346c87f333dab1a758c692c8855/map.go#L248)的时候发现 `classInfoList` 里面只有一个 class 列表,所以抛出了上面的异常
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] champly removed a comment on issue #223: Decode List happend ”illegal class index @idx 1“ error

Posted by GitBox <gi...@apache.org>.
champly removed a comment on issue #223:
URL: https://github.com/apache/dubbo-go-hessian2/issues/223#issuecomment-685246702


   更新到最新之后发现直接抛异常了


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] champly commented on issue #223: Decode List happend ”illegal class index @idx 1“ error

Posted by GitBox <gi...@apache.org>.
champly commented on issue #223:
URL: https://github.com/apache/dubbo-go-hessian2/issues/223#issuecomment-685246702


   更新到最新之后发现直接抛异常了


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] AlexStocks closed issue #223: Decode List happend ”illegal class index @idx 1“ error

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #223:
URL: https://github.com/apache/dubbo-go-hessian2/issues/223


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org