java.lang.NullPointerException

GitHub | annaseufert | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.eclipse.cdt.core.CCorePlugin.log()
  2. org.eclipse.cdt
    CCodeFormatter.format
    1. org.eclipse.cdt.core.CCorePlugin.log(Unknown Source)
    2. org.eclipse.cdt.internal.formatter.CCodeFormatter.formatRegions(Unknown Source)
    3. org.eclipse.cdt.internal.formatter.CCodeFormatter.format(Unknown Source)
    4. org.eclipse.cdt.internal.formatter.CCodeFormatter.format(Unknown Source)
    4 frames
  3. krasa.formatter.adapter
    CppCodeFormatterFacade.format
    1. krasa.formatter.adapter.CppCodeFormatterFacade.format(CppCodeFormatterFacade.java:53)
    1 frame
  4. krasa.formatter.plugin
    EclipseCodeStyleManager.reformatText
    1. krasa.formatter.plugin.EclipseCodeFormatter.reformat(EclipseCodeFormatter.java:112)
    2. krasa.formatter.plugin.EclipseCodeFormatter.formatWhenEditorIsOpen(EclipseCodeFormatter.java:90)
    3. krasa.formatter.plugin.EclipseCodeFormatter.format(EclipseCodeFormatter.java:55)
    4. krasa.formatter.plugin.EclipseCodeStyleManager.formatWithEclipse(EclipseCodeStyleManager.java:214)
    5. krasa.formatter.plugin.EclipseCodeStyleManager.format(EclipseCodeStyleManager.java:112)
    6. krasa.formatter.plugin.EclipseCodeStyleManager.reformatText(EclipseCodeStyleManager.java:75)
    6 frames
  5. IDEA
    ReformatCodeProcessor.b
    1. com.intellij.codeInsight.actions.ReformatCodeProcessor.b(ReformatCodeProcessor.java:131)
    1 frame
  6. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    1 frame
  7. IDEA
    AbstractLayoutCodeProcessor.a
    1. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.a(AbstractLayoutCodeProcessor.java:234)
    2. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:898)
    3. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.a(AbstractLayoutCodeProcessor.java:234)
    3 frames
  8. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    1 frame
  9. IDEA
    LaterInvocator$FlushQueue.run
    1. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.a(AbstractLayoutCodeProcessor.java:332)
    2. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.b(AbstractLayoutCodeProcessor.java:406)
    3. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
    4. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)
    5. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)
    6. com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor.a(AbstractLayoutCodeProcessor.java:403)
    7. com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
    8. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:326)
    9. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
    9 frames
  10. 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:80)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    8 frames
  11. IDEA
    IdeEventQueue.dispatchEvent
    1. com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:793)
    2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:629)
    3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
    3 frames
  12. 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