You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/12/29 10:21:19 UTC

[GitHub] [servicecomb-java-chassis] mf1632015 commented on issue #1502: JDK12demo启动报错:NullPointerException,换回JDK8没问题。

mf1632015 commented on issue #1502: JDK12demo启动报错:NullPointerException,换回JDK8没问题。
URL: https://github.com/apache/servicecomb-java-chassis/issues/1502#issuecomment-569492319
 
 
   图片上传失败了,报空指针异常的位置位于org.apache.servicecomb.foundation.common.utils.ReflectUtils#MODIFIERS_FIELD
   static {
       MODIFIERS_FIELD.setAccessible(true);
     }
   
   异常信息没有保存,就是上图的MODIFIERS_FIELD是空指针,如果从源代码看的话,就是JDK12的Field这个反射类没办法继续反射了。Field.class.getDeclaredFields()是个空数组

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


With regards,
Apache Git Services