newhoo / RestfulBox

A powerful toolkit for restful services development.
https://plugins.jetbrains.com/plugin/14723-restfulbox
Apache License 2.0
52 stars 18 forks source link

关于kotlin项目后台接口似乎无法调试 #25

Closed stars-one closed 1 year ago

stars-one commented 1 year ago

项目中有使用kotlin语言,但是接口一直切换不了

如下图所示:

如果图片没法显示,可以此图片地址 https://img2023.cnblogs.com/blog/1210268/202303/1210268-20230320174955439-1530930244.png

IDEA 2020.3.2 插件版本 1.0.7

stars-one commented 1 year ago

补充下日志:

java.lang.NullPointerException
    at io.github.newhoo.restkit.restful.request.RequestHelper.getParameterList(RequestHelper.java:153)
    at io.github.newhoo.restkit.restful.request.RequestHelper.buildRequestBodyJson(RequestHelper.java:212)
    at io.github.newhoo.restkit.restful.toolwindow.RestServiceClient.buildRequestBodyJson(RestServiceClient.java:289)
    at io.github.newhoo.restkit.restful.toolwindow.RestServiceClient.lambda$showServiceDetail$10(RestServiceClient.java:253)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:869)
    at io.github.newhoo.restkit.restful.toolwindow.RestServiceClient.lambda$showServiceDetail$11(RestServiceClient.java:248)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
newhoo commented 1 year ago

1.0.7只能用在2020.3.x上,我试了最新版正常,升级一下?