mdddj / dd_flutter_idea_plugin

flutter dio idea plugin
https://flutterx.itbug.shop
MIT License
42 stars 4 forks source link

控制台崩溃 #50

Open Herryjoeson opened 3 months ago

Herryjoeson commented 3 months ago

java.lang.NullPointerException: Cannot invoke "Object.toString()" because "this.data" is null at shop.itbug.fluttercheckversionx.socket.ProjectSocketService$SocketResponseModel.calculateSize(ProjectSocketService.kt:73) at shop.itbug.fluttercheckversionx.dsl.RequestItemLayoutKt.requestDetailLayout$lambda$21$lambda$11(RequestItemLayout.kt:112) at com.intellij.ui.dsl.builder.impl.PanelImpl.row(PanelImpl.kt:57) at com.intellij.ui.dsl.builder.impl.PanelImpl.row(PanelImpl.kt:19) at com.intellij.ui.dsl.builder.Panel.row$default(Panel.kt:75) at shop.itbug.fluttercheckversionx.dsl.RequestItemLayoutKt.requestDetailLayout$lambda$21(RequestItemLayout.kt:78) at com.intellij.ui.dsl.builder.BuilderKt.panel(builder.kt:19) at shop.itbug.fluttercheckversionx.dsl.RequestItemLayoutKt.requestDetailLayout(RequestItemLayout.kt:76) at shop.itbug.fluttercheckversionx.form.socket.MyCustomItemRender.getListCellRendererComponent(MyDefaultListModel.kt:31) at shop.itbug.fluttercheckversionx.form.socket.MyCustomItemRender.getListCellRendererComponent(MyDefaultListModel.kt:10) at com.intellij.ui.ExpandedItemListCellRendererWrapper.getListCellRendererComponent(ExpandedItemListCellRendererWrapper.java:24) at com.intellij.ui.components.WideSelectionListUI.updateLayoutState(WideSelectionListUI.java:197) at java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source) at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source) at com.intellij.ui.components.JBList.getPreferredSize(JBList.java:216) at com.intellij.ui.components.JBScrollPane$Layout.layoutContainer(JBScrollPane.java:533) at java.desktop/java.awt.Container.layout(Unknown Source) at java.desktop/java.awt.Container.doLayout(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.validateTree(Unknown Source) at java.desktop/java.awt.Container.lambda$validate$3(Unknown Source) at java.desktop/sun.awt.SunToolkit.performWithTreeLock(Unknown Source) at java.desktop/java.awt.Container.validate(Unknown Source) at com.intellij.toolWindow.ToolWindowPane.addDecorator(ToolWindowPane.kt:193) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.doShowWindow(ToolWindowManagerImpl.kt:1021) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:969) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:672) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$intellij_platform_ide_impl$default(ToolWindowManagerImpl.kt:641) at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activated$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:2244) at com.intellij.openapi.wm.impl.SquareAnActionButton.setSelected(SquareStripeButton.kt:176) at com.intellij.ui.ToggleActionButton.actionPerformed(ToggleActionButton.java:42) at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:227) at com.intellij.openapi.actionSystem.impl.ActionButton.lambda$performAction$2(ActionButton.java:206) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:381) at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:206) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:524) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$3.run(Unknown Source) at java.desktop/java.awt.EventQueue$3.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:695) at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:635) at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:580) at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:75) at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:67) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:580) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:72) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:355) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:354) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:793) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:354) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:349) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1014) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1014) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:349) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:848) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:391) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

mdddj commented 3 months ago

升级到4.9.2试试 https://plugins.jetbrains.com/plugin/18986-flutterx/edit/versions/stable/586031