weirddev

Open full view…

This plugin cause intellij cannot generate Python test.

aristotll
Sun, 30 Jul 2017 13:22:30 GMT

2017-07-30 21:10:11,868 [ 279476] ERROR - penapi.actionSystem.impl.Utils - update failed for AnAction with ID=testme.action.generators java.lang.NullPointerException at org.jetbrains.plugins.ruby.testing.actions.RubyTestFinder.getVFile(Rub yTestFinder.java:310) at org.jetbrains.plugins.ruby.testing.actions.RubyTestFinder.isTest(RubyT estFinder.java:300) at com.intellij.testIntegration.TestFinderHelper.isTest(TestFinderHelper. java:59) at com.weirddev.testme.intellij.utils.TestSubjectResolverUtils.canBeTeste d(TestSubjectResolverUtils.java:43) at com.weirddev.testme.intellij.utils.TestSubjectResolverUtils.findTestab leElement(TestSubjectResolverUtils.java:35) at com.weirddev.testme.intellij.utils.TestSubjectResolverUtils.findTestab leElement(TestSubjectResolverUtils.java:38) at com.weirddev.testme.intellij.utils.TestSubjectResolverUtils.findTestab leElement(TestSubjectResolverUtils.java:38) at com.weirddev.testme.intellij.utils.TestSubjectResolverUtils.findTestab leElement(TestSubjectResolverUtils.java:38) at com.weirddev.testme.intellij.utils.TestSubjectResolv erUtils.isValidFor Testing(TestSubjectResolverUtils.java:30) at com.weirddev.testme.intellij.action.TestMeAction.isValidForFile(TestMe Action.java:23) at com.intellij.codeInsight.actions.CodeInsightAction.update(CodeInsightA ction.java:117) at com.intellij.codeInsight.actions.CodeInsightAction.update(CodeInsightA ction.java:122) at com.intellij.codeInsight.generation.actions.BaseGenerateAction.update( BaseGenerateAction.java:46) at com.intellij.codeInsight.actions.CodeInsightAction.update(CodeInsightA ction.java:113) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate (ActionUtil.java:132) at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:235) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.j ava:180) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.j ava:100) at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:341) at com.intellij.openapi.actionSystem.impl.ActionMenu.c(ActionMenu.java:32 6) at com.intellij.openapi.actionSystem.impl.ActionMenu.access$600(ActionMen u.java:54) at com.intellij.openapi.actionSystem.impl.ActionMenu$MenuListenerImpl.men uSelected(ActionMenu.java:280) at javax.swing.JMenu.fireMenuSelected(JMenu.java:1038) at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1118) at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.jav a:349) at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:232 ) at javax.swing.JMenu.setSelected(JMenu.java:305) at com.apple.laf.ScreenMenu$2.run(ScreenMenu.java:135) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPr ivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPr ivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:737) at java.awt.EventQueue$4.run(EventQueue.java:735) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPr ivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:821) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea d.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j ava:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea d.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

aristotll
Sun, 30 Jul 2017 13:23:27 GMT

I have to disable this plugin, then everything works.

Yaron
Mon, 31 Jul 2017 22:02:04 GMT

aristotll thank you for raising this issue. I appreciate the logs you supplied as well. This information is very helpful. I rarely find myself developing with a non JVM language, so I'm completely oblivious to these issues. I've uploaded an EAP bugfix release to address this – v1.5.2. Will add this fix to the upcoming major release as well. Bugfix version 1.5.2 can be downloaded from the release page and installed offline: http://weirddev.com/testme/release-notes/. For reference, offline installation instructions: /testme/ (Under Installations, Option #2) Please let me know if you find any issues. Thanks

aristotll
Sun, 26 Nov 2017 09:46:04 GMT

Sorry for a *late* reply, the problem is solved in latest version. Thank you very much.