Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28390

application.properties cannot be opened with Generic text editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 4.23.0.Final
    • 4.23.0.AM1
    • quarkus
    • None
    • Sprint #216 Mar 2022
    • Hide

      open quarkus perspective -> create quarkus maven project -> open application.properties

      Show
      open quarkus perspective -> create quarkus maven project -> open application.properties

    Description

      org.eclipse.tm4e.core.TMException: Unknown location for grammar <text.qute>
          at org.eclipse.tm4e.core.registry.Registry._loadGrammar(Registry.java:118)
          at org.eclipse.tm4e.core.registry.Registry.loadGrammar(Registry.java:72)
          at org.eclipse.tm4e.registry.internal.AbstractGrammarRegistryManager.getGrammar(AbstractGrammarRegistryManager.java:151)
          at org.eclipse.tm4e.registry.internal.AbstractGrammarRegistryManager.getGrammarForScope(AbstractGrammarRegistryManager.java:94)
          at org.eclipse.tm4e.registry.internal.AbstractGrammarRegistryManager.getGrammarForFileType(AbstractGrammarRegistryManager.java:110)
          at org.eclipse.tm4e.ui.text.TMPresentationReconciler$InternalListener.findGrammar(TMPresentationReconciler.java:404)
          at org.eclipse.tm4e.ui.text.TMPresentationReconciler$InternalListener.findGrammar(TMPresentationReconciler.java:270)
          at org.eclipse.tm4e.ui.text.TMPresentationReconciler$InternalListener.inputDocumentChanged(TMPresentationReconciler.java:220)
          at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2845)
          at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2886)
          at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:663)
          at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:368)
          at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:613)
          at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3974)
          at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3466)
          at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:64)
          at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:454)
          at org.eclipse.ui.internal.genericeditor.ExtensionBasedTextEditor.createPartControl(ExtensionBasedTextEditor.java:166)
          at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:158)
          at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
          at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:365)
          at jdk.internal.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
          at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:995)
          at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:960)
          at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:140)
          at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:403)
          at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:330)
          at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
          at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
          at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
          at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
          at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:995)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:659)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:763)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:728)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:712)
          at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:105)
          at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
          at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
          at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
          at org.eclipse.swt.widgets.Display.syncExec(Display.java:6012)
          at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34)
          at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
          at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
          at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
          at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
          at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
          at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
          at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:133)
          at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
          at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
          at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
          at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
          at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
          at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
          at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
          at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:660)
          at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624)
          at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787)
          at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401)
          at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261)
          at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3207)
          at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74)
          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095)
          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065)
          at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:325)
          at org.eclipse.ui.actions.OpenWithMenu.lambda$0(OpenWithMenu.java:182)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
          at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
          at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
          at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
          at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
          at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
      Caused by: java.io.FileNotFoundException: /language-support/qute-txt.tmLanguage.json
          at org.eclipse.osgi.storage.url.bundleentry.Handler.findBundleEntry(Handler.java:55)
          at org.eclipse.osgi.storage.url.BundleResourceHandler.openConnection(BundleResourceHandler.java:182)
          at java.base/java.net.URL.openConnection(URL.java:1099)
          at org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:115)
          at org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:96)
          at org.eclipse.core.internal.boot.PlatformURLConnection.getInputStream(PlatformURLConnection.java:231)
          at java.base/java.net.URL.openStream(URL.java:1165)
          at org.eclipse.tm4e.registry.TMResource.getInputStream(TMResource.java:76)
          at org.eclipse.tm4e.registry.internal.AbstractGrammarRegistryManager$EclipseRegistryOptions.getInputStream(AbstractGrammarRegistryManager.java:59)
          at org.eclipse.tm4e.core.registry.Registry._loadGrammar(Registry.java:102)
          ... 99 more

      Attachments

        Issue Links

          Activity

            People

              jmaury@redhat.com Jeff MAURY
              rh-ee-olkornii Oleksii Korniienko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: