java.lang.AssertionError: This method should only be called in unit tests

GitHub | istocniks | 4 months ago
  1. 0

    Exception when try to create an Erlang scratch file

    GitHub | 4 months ago | istocniks
    java.lang.AssertionError: This method should only be called in unit tests
  2. 0

    GitHub comment 758#245258540

    GitHub | 3 months ago | jakud
    java.lang.AssertionError: This method should only be called in unit tests
  3. 0

    Issue with creating an Erlang scratch file still exists

    GitHub | 3 months ago | jakud
    java.lang.AssertionError: This method should only be called in unit tests
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IntelliJ IDEA constantly re-indexing

    GitHub | 6 months ago | human87
    java.lang.AssertionError: This method should only be called in unit tests
  6. 0

    passive server crashes when active server disconnected, using networked-active-passive ha mode

    Terracotta | 9 years ago | bagnew
    java.lang.AssertionError: This should never be called.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      This method should only be called in unit tests

      at org.intellij.erlang.psi.impl.ErlangFileImpl.getFileTypeForTests()
    2. org.intellij.erlang
      ErlangFileImpl.getFileType
      1. org.intellij.erlang.psi.impl.ErlangFileImpl.getFileTypeForTests(ErlangFileImpl.java:316)
      2. org.intellij.erlang.psi.impl.ErlangFileImpl.getFileType(ErlangFileImpl.java:307)
      2 frames
    3. IDEA
      EditorUtil.getTabSize
      1. com.intellij.psi.codeStyle.DetectableIndentOptionsProvider.isEnabled(DetectableIndentOptionsProvider.java:104)
      2. com.intellij.psi.codeStyle.DetectableIndentOptionsProvider.getIndentOptions(DetectableIndentOptionsProvider.java:62)
      3. com.intellij.psi.codeStyle.CodeStyleSettings.getIndentOptionsByFile(CodeStyleSettings.java:664)
      4. com.intellij.psi.codeStyle.CodeStyleSettings.getIndentOptionsByFile(CodeStyleSettings.java:630)
      5. com.intellij.psi.codeStyle.CodeStyleSettings.getIndentOptionsByFile(CodeStyleSettings.java:625)
      6. com.intellij.openapi.editor.impl.SettingsImpl.getTabSize(SettingsImpl.java:371)
      7. com.intellij.openapi.editor.ex.util.EditorUtil.getTabSize(EditorUtil.java:522)
      7 frames
    4. com.intellij.openapi
      EditorView.reinitSettings
      1. com.intellij.openapi.editor.impl.view.EditorView.getTabSize(EditorView.java:434)
      2. com.intellij.openapi.editor.impl.view.LogicalPositionCache.reset(LogicalPositionCache.java:70)
      3. com.intellij.openapi.editor.impl.view.EditorView.reinitSettings(EditorView.java:292)
      3 frames
    5. IDEA
      AbstractPopup.lambda$null$7
      1. com.intellij.openapi.editor.impl.EditorImpl.<init>(EditorImpl.java:562)
      2. com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:193)
      3. com.intellij.openapi.editor.impl.EditorFactoryImpl.createEditor(EditorFactoryImpl.java:169)
      4. com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.createEditor(TextEditorComponent.java:165)
      5. com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:100)
      6. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:93)
      7. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:86)
      8. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:71)
      9. com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:52)
      10. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:44)
      11. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:47)
      12. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$6(FileEditorManagerImpl.java:872)
      13. com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2418)
      14. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:971)
      15. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:788)
      16. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl2$4(FileEditorManagerImpl.java:770)
      17. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      18. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
      19. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
      20. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:770)
      21. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:711)
      22. com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:145)
      23. com.intellij.ide.scratch.ScratchFileActions.doCreateNewScratch(ScratchFileActions.java:131)
      24. com.intellij.ide.scratch.ScratchFileActions$NewFileAction.lambda$actionPerformed$0(ScratchFileActions.java:75)
      25. com.intellij.ide.scratch.LRUPopupBuilder$3.lambda$onChosen$0(LRUPopupBuilder.java:192)
      26. com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
      27. com.intellij.ui.popup.AbstractPopup.lambda$null$7(AbstractPopup.java:1390)
      27 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.defaultDispatchEvent(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