krasa.formatter.exception.ParsingFailedException: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.

GitHub | bbili | 5 months ago
  1. 0

    Eclipse Import Optimizer failed

    GitHub | 5 months ago | bbili
    krasa.formatter.exception.ParsingFailedException: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.
  2. 0

    Eclipse Import Optimizer failed: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.

    GitHub | 4 months ago | witree
    krasa.formatter.exception.ParsingFailedException: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.
  3. 0

    Eclipse Import Optimizer failed & file-encoding auto change

    GitHub | 3 months ago | newpanderking
    krasa.formatter.exception.ParsingFailedException: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash on formatting some files

    GitHub | 3 years ago | dvovney
    krasa.formatter.exception.ParsingFailedException: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.
  6. 0

    You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions ?

    GitHub | 11 months ago | yanyinxi
    krasa.formatter.exception.ParsingFailedException: You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.

    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. krasa.formatter.exception.ParsingFailedException

      You must provide either *.importorder file or 'org.eclipse.jdt.ui.prefs' file, see instructions.

      at krasa.formatter.settings.provider.ImportOrderProvider.readFile()
    2. krasa.formatter.settings
      CachedProvider.get
      1. krasa.formatter.settings.provider.ImportOrderProvider.readFile(ImportOrderProvider.java:34)
      2. krasa.formatter.settings.provider.ImportOrderProvider.readFile(ImportOrderProvider.java:15)
      3. krasa.formatter.settings.provider.CachedProvider.get(CachedProvider.java:26)
      3 frames
    3. krasa.formatter.plugin
      EclipseImportOptimizer$1.run
      1. krasa.formatter.plugin.EclipseImportOptimizer.getImportSorter(EclipseImportOptimizer.java:109)
      2. krasa.formatter.plugin.EclipseImportOptimizer.optimizeImportsByEclipse(EclipseImportOptimizer.java:60)
      3. krasa.formatter.plugin.EclipseImportOptimizer.access$100(EclipseImportOptimizer.java:24)
      4. krasa.formatter.plugin.EclipseImportOptimizer$1.run(EclipseImportOptimizer.java:48)
      4 frames
    4. IDEA
      OptimizeImportsProcessor.lambda$prepareTask$0
      1. com.intellij.codeInsight.actions.OptimizeImportsProcessor.lambda$prepareTask$0(OptimizeImportsProcessor.java:94)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2 frames
    6. IDEA
      AbstractLayoutCodeProcessor.lambda$preprocessFile$1
      1. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.lambda$null$0(AbstractLayoutCodeProcessor.java:234)
      2. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:905)
      3. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.lambda$preprocessFile$1(AbstractLayoutCodeProcessor.java:234)
      3 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      1 frame
    8. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.runWithoutProgress(AbstractLayoutCodeProcessor.java:434)
      2. com.intellij.codeInsight.daemon.impl.actions.AddImportAction._addImport(AddImportAction.java:238)
      3. com.intellij.codeInsight.daemon.impl.actions.AddImportAction.lambda$null$2(AddImportAction.java:213)
      4. com.intellij.openapi.project.DumbService.withAlternativeResolveEnabled(DumbService.java:256)
      5. com.intellij.codeInsight.daemon.impl.actions.AddImportAction.lambda$null$3(AddImportAction.java:213)
      6. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:905)
      7. com.intellij.codeInsight.daemon.impl.actions.AddImportAction.lambda$addImport$4(AddImportAction.java:213)
      8. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      9. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
      10. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
      11. com.intellij.codeInsight.daemon.impl.actions.AddImportAction.addImport(AddImportAction.java:213)
      12. com.intellij.codeInsight.daemon.impl.actions.AddImportAction.execute(AddImportAction.java:89)
      13. com.intellij.codeInsight.hint.HintManagerImpl.performCurrentQuestionAction(HintManagerImpl.java:212)
      14. com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.invoke(ShowIntentionActionsHandler.java:87)
      15. com.intellij.codeInsight.intention.actions.ShowIntentionActionsAction.actionPerformed(ShowIntentionActionsAction.java:51)
      16. com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
      17. com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
      18. com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
      19. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
      20. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)
      21. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$2(IdeKeyEventDispatcher.java:634)
      22. com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
      23. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)
      24. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:477)
      25. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
      26. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:677)
      27. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      27 frames
    9. 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