全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 问答详情

Apipost IDEA 插件 1.0.22.2 上传接口报错

ApiPost使用 154次浏览

java.lang.NullPointerException: Cannot invoke "cn.apipost.entity.Property.getProperties()" because "root" is null

at cn.apipost.utils.paeser.RequestParser.getRawPara(RequestParser.java:107)

at cn.apipost.utils.paeser.RequestParser.getRawPara(RequestParser.java:154)

at cn.apipost.utils.ApiParser.getResponse(ApiParser.java:96)

at cn.apipost.utils.ApiParser.classParseApis(ApiParser.java:345)

at cn.apipost.utils.Actions.uploadClass(Actions.java:454)

at cn.apipost.restful.view.window.frame.ApiServiceListPanel.lambda$getPopupMenu$1(ApiServiceListPanel.java:92)

at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)

at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)

at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)

at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)

at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)

at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1028)

at java.desktop/com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)

at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1072)

at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)

at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)

at java.desktop/java.awt.Component.processEvent(Component.java:6422)

at java.desktop/java.awt.Container.processEvent(Container.java:2266)

at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)

at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4969)

at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4583)

at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4524)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)

at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)

at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)

at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)

at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)

at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)

at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:699)

at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:638)

at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:584)

at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:138)

at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:129)

at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:584)

at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361)

at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356)

at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1022)

at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)

at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1022)

at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356)

at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:209)

at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:398)

at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)

at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)

at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)

at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)


Apipost IDEA 插件 1.0.22.2 上传接口报错

| 0 收藏

1 个回答

可以加我们idea群 官网首页加我

Apipost 私有化火热进行中

撰写答案

只服务于

前后端、移动端、测试人员

提问题 发布您遇到的Bug和问题,上万名大牛和开发者来帮您解决!