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/04/23 09:52:56 UTC

[GitHub] [servicecomb-java-chassis] zhangzc0419 opened a new issue #1192: java.net.URL类型做参数时启动失败

zhangzc0419 opened a new issue #1192: java.net.URL类型做参数时启动失败
URL: https://github.com/apache/servicecomb-java-chassis/issues/1192
 
 
   ```
   Caused by: java.lang.NullPointerException: null
   5cbedd1414926425e587e6aa 	at org.apache.servicecomb.common.javassist.CtType.<init>(CtType.java:52)
   
   ```
   参数什么类型情况下会导致javassist.CtType初始化失败?有没有文档说明?
   
   还有使用内部类作为参数时也会启动失败:
   ```
   @ResponseBody
       @RequestMapping(value = "test", method = POST)
       public String test(@RequestBody TestRequest data) throws Exception {
           return "";
       }
    
      @Data
       public static class TestRequest {
           private String data;
       }
   
   ```

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