org.eclipse.e4.core.di.InjectionException: org.eclipse.core.commands.ExecutionException: While executing the action, an exception occurred

jkiss.org | 8 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

    DBeaver Forum • View topic - Error formatting sql

    jkiss.org | 8 months ago
    org.eclipse.e4.core.di.InjectionException: org.eclipse.core.commands.ExecutionException: While executing the action, an exception occurred

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jkiss.dbeaver.model.sql.format.tokenized.SQLTokensParser.nextToken()
    2. org.jkiss.dbeaver
      SQLFormattingStrategy.format
      1. org.jkiss.dbeaver.model.sql.format.tokenized.SQLTokensParser.nextToken(SQLTokensParser.java:179)
      2. org.jkiss.dbeaver.model.sql.format.tokenized.SQLTokensParser.parse(SQLTokensParser.java:220)
      3. org.jkiss.dbeaver.model.sql.format.tokenized.SQLTokenizedFormatter.format(SQLTokenizedFormatter.java:52)
      4. org.jkiss.dbeaver.ui.editors.sql.syntax.SQLFormattingStrategy.format(SQLFormattingStrategy.java:62)
      4 frames
    3. JFace Text
      ProjectionViewer.doOperation
      1. org.eclipse.jface.text.formatter.ContentFormatter.format(ContentFormatter.java:518)
      2. org.eclipse.jface.text.formatter.ContentFormatter.formatRegion(ContentFormatter.java:429)
      3. org.eclipse.jface.text.formatter.ContentFormatter.format(ContentFormatter.java:381)
      4. org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:1023)
      5. org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1501)
      5 frames
    4. Text Editor Framework
      TextOperationAction$1.run
      1. org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:128)
      1 frame
    5. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    6. Text Editor Framework
      TextOperationAction.run
      1. org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:126)
      1 frame
    7. JFace
      ActionHandler.execute
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      2. org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:122)
      2 frames
    8. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    10. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      5 frames
    11. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
      2 frames
    12. org.eclipse.e4
      KeyBindingDispatcher$KeyDownFilter.handleEvent
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      2. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
      3. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
      4. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
      5. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
      6. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
      7. org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
      7 frames
    13. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.filterEvent(Display.java:1266)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1112)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)
      6. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1164)
      7. org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1160)
      8. org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1883)
      9. org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:5049)
      10. org.eclipse.swt.widgets.Canvas.WM_KEYDOWN(Canvas.java:428)
      11. org.eclipse.swt.widgets.Control.windowProc(Control.java:4708)
      12. org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
      13. org.eclipse.swt.widgets.Display.windowProc(Display.java:5050)
      13 frames
    14. org.eclipse.swt
      OS.DispatchMessage
      1. org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
      2 frames
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3767)
      1 frame
    16. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    19. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    20. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
      1 frame
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    24. org.jkiss.dbeaver
      DBeaverApplication.start
      1. org.jkiss.dbeaver.core.application.DBeaverApplication.start(DBeaverApplication.java:107)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    26. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    28. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      3 frames