Open jkuchar opened 8 years ago
Having the same problem:
IntelliJ IDEA 2017.2.5 Build #IU-172.4343.14, built on September 26, 2017 Licensed to Digital Media Hub GmbH / Martin Albrecht Subscription is active until February 15, 2018 JRE: 1.8.0_152-release-915-b12 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.12.6
Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor at com.scss.annotator.PropertySortOrderFix.fix(PropertySortOrderFix.kt) at com.scss.annotator.BaseActionFix.invoke(BaseActionFix.java:30) at com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement.invoke(LocalQuickFixAndIntentionActionOnPsiElement.java:65) at com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:102) at com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:92) at com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:26) at com.intellij.codeInspection.ex.LocalQuickFixWrapper.applyFix(LocalQuickFixWrapper.java:114) at com.intellij.codeInspection.ex.QuickFixAction$PerformFixesTask.applyFix(QuickFixAction.java:363) at com.intellij.codeInspection.ex.PerformFixesModalTask.a(PerformFixesModalTask.java:89) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1018) at com.intellij.codeInspection.ex.PerformFixesModalTask.iteration(PerformFixesModalTask.java:86) at com.intellij.util.SequentialModalProgressTask.a(SequentialModalProgressTask.java:93) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:314) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:163) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:416) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:399) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) 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.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:732) at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:821) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:923) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:216) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:202) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:414) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:117) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:332) at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:317) at com.intellij.codeInspection.ex.QuickFixAction.a(QuickFixAction.java:185) at com.intellij.openapi.command.impl.CoreCommandProcessor.a(CoreCommandProcessor.java:149) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:109) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:99) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:85) at com.intellij.codeInspection.ex.QuickFixAction.performFixesInBatch(QuickFixAction.java:179) at com.intellij.codeInspection.ex.LocalQuickFixWrapper.performFixesInBatch(LocalQuickFixWrapper.java:134) at com.intellij.codeInspection.ex.QuickFixAction.a(QuickFixAction.java:164) at com.intellij.codeInspection.ex.QuickFixAction.actionPerformed(QuickFixAction.java:135) at com.intellij.codeInspection.ex.QuickFixAction$1.onClick(QuickFixAction.java:322) at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:73) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6541) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6306) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4897) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4719) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) 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.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:821) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:645) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
Versions
scss-lint version: scss-lint 0.49.0
OS: Win10 x64 IDEA product and version: PhpStorm 2016.2
Description
Cannot quickfix from Inspection Results window.
Steps to Reproduce
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened] Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor at com.scss.annotator.PropertySortOrderFix.fix(PropertySortOrderFix.kt) at com.scss.annotator.BaseActionFix.invoke(BaseActionFix.java:30) at com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement.invoke(LocalQuickFixAndIntentionActionOnPsiElement.java:65) at com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:102) at com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:92) at com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:26) at com.intellij.codeInspection.ex.LocalQuickFixWrapper.applyFix(LocalQuickFixWrapper.java:122) at com.intellij.codeInspection.ex.QuickFixAction$PerformFixesTask.applyFix(QuickFixAction.java:352) at com.intellij.codeInspection.ex.PerformFixesModalTask.a(PerformFixesModalTask.java:93) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:905) at com.intellij.codeInspection.ex.PerformFixesModalTask.b(PerformFixesModalTask.java:90) at com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37) at com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283) at com.intellij.codeInspection.ex.PerformFixesModalTask.iteration(PerformFixesModalTask.java:89) at com.intellij.util.SequentialModalProgressTask.a(SequentialModalProgressTask.java:93) at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291) at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:156) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:326) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:950) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:207) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:194) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:569) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:396) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:76) at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:312) at com.intellij.codeInspection.ex.QuickFixAction.a(QuickFixAction.java:169) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100) at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86) at com.intellij.codeInspection.ex.QuickFixAction.a(QuickFixAction.java:163) at com.intellij.codeInspection.ex.QuickFixAction.actionPerformed(QuickFixAction.java:131) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197) at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211) at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:875) at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.a(PopupFactoryImpl.java:863) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199) at com.intellij.ui.popup.AbstractPopup.a(AbstractPopup.java:1390) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)