newhoo / RestfulBox

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

升级完最新版使用报错;idea2022.3.3 #30

Closed sunny-sys closed 1 year ago

sunny-sys commented 1 year ago

restfulbox 版本3.0.3 报错信息如下: java.lang.NullPointerException: Cannot invoke "String.length()" because "prefix" is null at java.base/java.lang.String.startsWith(String.java:2255) at java.base/java.lang.String.startsWith(String.java:2298) at A.a(SourceFile:132) at B.b(SourceFile:197) at C.buildParams(SourceFile:155) at io.github.newhoo.restkit.common.PsiRestItem.getParams(SourceFile:45) at io.github.newhoo.restkit.toolwindow.a.a(SourceFile:438) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:872) at io.github.newhoo.restkit.toolwindow.a.b(SourceFile:432) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:246) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833)

newhoo commented 1 year ago

方便贴一下报错的接口吗?

newhoo commented 1 year ago

升级最新版看看:3.1.0