facebook

“org.eclipse.core.runtime.Platform.getBundle(String)” is null errors

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #702313 Reply

    roelof1
    Participant

    During startup of a fresh install of MyEclipse I get an error stating a “cli error”.
    The error log of MyEclipse is full with the same repetitive errors:
    !ENTRY org.eclipse.lsp4e 4 0 2024-09-11 08:09:57.151
    !MESSAGE java.lang.NullPointerException: Cannot invoke “org.osgi.framework.Bundle.getEntry(String)” because the return value of “org.eclipse.core.runtime.Platform.getBundle(String)” is null
    !STACK 0
    java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke “org.osgi.framework.Bundle.getEntry(String)” because the return value of “org.eclipse.core.runtime.Platform.getBundle(String)” is null
    at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
    at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
    at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
    Caused by: java.lang.NullPointerException: Cannot invoke “org.osgi.framework.Bundle.getEntry(String)” because the return value of “org.eclipse.core.runtime.Platform.getBundle(String)” is null
    at org.eclipse.wildwebdeveloper.jsts.JSTSLanguageServer.getInitializationOptions(JSTSLanguageServer.java:88)
    at org.eclipse.lsp4e.LanguageServerWrapper.lambda$0(LanguageServerWrapper.java:309)
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
    … 6 more

    !ENTRY org.eclipse.lsp4e 4 0 2024-09-11 08:09:57.152
    !MESSAGE java.util.concurrent.CancellationException
    !STACK 0
    java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException
    at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
    at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2096)
    at org.eclipse.lsp4e.outline.EditorToOutlineAdapterFactory.getAdapter(EditorToOutlineAdapterFactory.java:75)
    at org.eclipse.core.internal.runtime.AdapterManager.lambda$13(AdapterManager.java:316)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
    at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
    at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
    at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
    at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:318)
    at org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterManager.java:342)
    at org.eclipse.core.runtime.Adapters.queryAdapterManager(Adapters.java:150)
    at org.eclipse.core.runtime.Adapters.adapt(Adapters.java:86)
    at org.eclipse.core.runtime.Adapters.adapt(Adapters.java:115)
    at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:136)
    at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:693)
    at org.eclipse.ui.part.PageBookView$1.partActivated(PageBookView.java:998)
    at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:4896)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
    at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4893)
    at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:215)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$2.run(PartServiceImpl.java:250)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:47)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:247)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:780)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:686)
    at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:95)
    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.lambda$0(ContributedPartRenderer.java:63)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4274)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1090)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1075)
    at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1529)
    at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1492)
    at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2955)
    at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2321)
    at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:5425)
    at org.eclipse.swt.widgets.Canvas.WM_SETFOCUS(Canvas.java:437)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4816)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:5039)
    at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
    at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1092)
    at org.eclipse.swt.widgets.Control.setFocus(Control.java:3440)
    at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1081)
    at org.eclipse.swt.custom.StyledText.setFocus(StyledText.java:8740)
    at org.eclipse.ui.texteditor.AbstractTextEditor.setFocus(AbstractTextEditor.java:6202)
    at org.eclipse.ui.texteditor.StatusTextEditor.setFocus(StatusTextEditor.java:149)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.delegateSetFocus(CompatibilityPart.java:226)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:298)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:304)
    at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:226)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:148)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.focusGui(PartRenderingEngine.java:789)
    at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer$1.setFocus(ContributedPartRenderer.java:106)
    at org.eclipse.swt.custom.CTabItem.setFocus(CTabItem.java:379)
    at org.eclipse.swt.custom.CTabFolder.setFocus(CTabFolder.java:2700)
    at org.eclipse.swt.widgets.Control.fixFocus(Control.java:1049)
    at org.eclipse.swt.widgets.Control.setVisible(Control.java:3952)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3253)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3210)
    at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1391)
    at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(LazyStackRenderer.java:84)
    at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:183)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4803)
    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:206)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:201)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
    ………………
    (character limit hit)

    #702314 Reply

    roelof1
    Participant

    Additional info:
    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 2024.1.1
    Build id: 16.0.0-20240903

    *** System properties:
    OS=win32
    OS version=10.0.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=17.0.11

    #702330 Reply

    Brian Fernandes
    Moderator

    Sorry to hear you ran into this! Please check for updates (our use our new installers) to pick up 2024.1.2 which has a fix for this issue.

    The 2024.1.1 release was actually pulled from our servers a little over a day after its release last week (on September 4th), once we found this problem. Could you share how you installed MyEclipse? Did you get an update or did you use a 2024.1.1 installer?

    #702354 Reply

    roelof1
    Participant

    Hi, As far as I remember I did a clean install after the initial update failed.
    I’ve been working with MyEclipse quite some time and downloaded several eclipse modules over the years which broke my install at the end.

    Based on the file in my Download folder, I used the myeclipse-2024.1.0-offline-installer-windows.exe around 3th of July. and updated to 1.1 later on.

    #702355 Reply

    roelof1
    Participant

    I am updating now to 1.2. There were no new updates last week, but today there are indeed.

    #702356 Reply

    roelof1
    Participant

    The update didn’t bring a solution so I de-installed 2024.1.1 and installed 2024.1.2

    Little side-note: When installed the 1.2. “Delivery log” shows version 2024.1.1, although the “about” screen show 2024.1.2

    • This reply was modified 1 month, 4 weeks ago by roelof1. Reason: side note, not site ;-)
    #702362 Reply

    roelof1
    Participant

    I uninstalled 2024.1.1 and installed 2024.1.2 but I still get the following error:

    An internal error occurred during: "Register for CLI".
    java.lang.ExceptionInInitializerError
Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: “org.eclipse.core.runtime.Platform.getBundle(String)” is null errors

You must be logged in to post in the forum log in