java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor

GitHub | jkuchar | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot quickfix from Inspection Results window

    GitHub | 7 months ago | jkuchar
    java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Parameter specified as non-null is null: method com.scss.annotator.PropertySortOrderFix.fix, parameter editor

      at com.scss.annotator.PropertySortOrderFix.fix()
    2. com.scss.annotator
      BaseActionFix.invoke
      1. com.scss.annotator.PropertySortOrderFix.fix(PropertySortOrderFix.kt)
      2. com.scss.annotator.BaseActionFix.invoke(BaseActionFix.java:30)
      2 frames
    3. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement.invoke(LocalQuickFixAndIntentionActionOnPsiElement.java:65)
      2. com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:102)
      3. com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:92)
      4. com.intellij.codeInspection.LocalQuickFixOnPsiElement.applyFix(LocalQuickFixOnPsiElement.java:26)
      5. com.intellij.codeInspection.ex.LocalQuickFixWrapper.applyFix(LocalQuickFixWrapper.java:122)
      6. com.intellij.codeInspection.ex.QuickFixAction$PerformFixesTask.applyFix(QuickFixAction.java:352)
      7. com.intellij.codeInspection.ex.PerformFixesModalTask.a(PerformFixesModalTask.java:93)
      8. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:905)
      9. com.intellij.codeInspection.ex.PerformFixesModalTask.b(PerformFixesModalTask.java:90)
      10. com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)
      11. com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283)
      12. com.intellij.codeInspection.ex.PerformFixesModalTask.iteration(PerformFixesModalTask.java:89)
      13. com.intellij.util.SequentialModalProgressTask.a(SequentialModalProgressTask.java:93)
      14. com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
      15. com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:156)
      16. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:326)
      17. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
      17 frames
    4. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    5. IDEA
      AbstractPopup.a
      1. com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      4. com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:950)
      5. com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:207)
      6. com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:194)
      7. com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:569)
      8. com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:396)
      9. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:76)
      10. com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:312)
      11. com.intellij.codeInspection.ex.QuickFixAction.a(QuickFixAction.java:169)
      12. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      13. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
      14. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
      15. com.intellij.codeInspection.ex.QuickFixAction.a(QuickFixAction.java:163)
      16. com.intellij.codeInspection.ex.QuickFixAction.actionPerformed(QuickFixAction.java:131)
      17. com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
      18. com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88)
      19. com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
      20. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
      21. com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.performAction(PopupFactoryImpl.java:875)
      22. com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep.a(PopupFactoryImpl.java:863)
      23. com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
      24. com.intellij.ui.popup.AbstractPopup.a(AbstractPopup.java:1390)
      24 frames
    6. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    7. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    8. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames