Community
Participate
Working Groups
Created attachment 283250 [details] eclipse.ini IDE has crashed running when I opened a Java class in two different ways: double click in the package explorer and also with Ctrl +Shift + R. It was running with Openj9 JDK 11 on Win10, the is the stack trace (attached my ini file): !ENTRY org.eclipse.ui.workbench 4 2 2020-06-11 12:53:38.572 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.core.compiler.CharOperation.concatWith(CharOperation.java:1794) at org.eclipse.jdt.internal.compiler.SourceElementNotifier.getSuperclassName(SourceElementNotifier.java:167) at org.eclipse.jdt.internal.compiler.SourceElementNotifier.notifySourceElementRequestor(SourceElementNotifier.java:696) at org.eclipse.jdt.internal.compiler.SourceElementNotifier.notifySourceElementRequestor(SourceElementNotifier.java:473) at org.eclipse.jdt.internal.compiler.SourceElementParser.parseCompilationUnit(SourceElementParser.java:1061) at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:195) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:268) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:596) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:326) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:312) at org.eclipse.jdt.internal.core.Openable.isStructureKnown(Openable.java:440) at org.sonarlint.eclipse.jdt.internal.JdtUtils.isStructureKnown(JdtUtils.java:90) at org.sonarlint.eclipse.jdt.internal.JdtUtils.shouldExclude(JdtUtils.java:85) at org.sonarlint.eclipse.jdt.internal.JavaProjectConfiguratorExtension.exclude(JavaProjectConfiguratorExtension.java:76) at org.sonarlint.eclipse.core.internal.adapter.DefaultSonarLintAdapterFactory.getFileAdapter(DefaultSonarLintAdapterFactory.java:100) at org.sonarlint.eclipse.core.internal.adapter.DefaultSonarLintAdapterFactory.getAdapter(DefaultSonarLintAdapterFactory.java:56) at org.eclipse.core.internal.adapter.AdapterFactoryProxy.lambda$5(AdapterFactoryProxy.java:111) at org.eclipse.core.internal.adapter.AdapterFactoryProxy$$Lambda$523.00000000B0070BB0.apply(Unknown Source) at java.base/java.util.Optional.map(Optional.java:265) at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:111) at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:299) at org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:72) at org.sonarlint.eclipse.core.internal.adapter.Adapters.adapt(Adapters.java:69) at org.sonarlint.eclipse.core.internal.adapter.Adapters.adapt(Adapters.java:118) at org.sonarlint.eclipse.ui.internal.SonarLintPartListener.partOpened(SonarLintPartListener.java:52) at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:5027) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartOpened(WorkbenchPage.java:5024) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.lambda$1(CompatibilityPart.java:122) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$$Lambda$379.00000000AFC841E0.handleEvent(Unknown Source) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$$Lambda$180.0000000099D58D40.run(Unknown Source) 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:4735) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219) 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:132) 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.basic.impl.PartImpl.setObject(PartImpl.java:446) at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:133) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1000) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:660) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:737) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:731) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715) at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1294) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(LazyStackRenderer.java:75) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$$Lambda$267.00000000AFC89C70.handleEvent(Unknown Source) at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38) at org.eclipse.e4.ui.services.internal.events.UIEventHandler$$Lambda$180.0000000099D58D40.run(Unknown Source) 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:4735) at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219) 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:132) 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:658) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:622) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:790) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:404) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1266) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3195) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3100) at org.eclipse.ui.internal.WorkbenchPage$$Lambda$764.00000000B06ECD50.run(Unknown Source) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3068) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3059) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:129) at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(OpenResourceHandler.java:182) at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:288) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97) 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:319) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:253) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213) at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:308) at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:584) at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:653) at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:443) at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$2(KeyBindingDispatcher.java:386) at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:96) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1248) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1036) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1046) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1088) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1084) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1471) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4862) at org.eclipse.swt.widgets.Tree.WM_CHAR(Tree.java:5940) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4740) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5935) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4923) at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3628) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1158) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1047) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658) at org.eclipse.ui.internal.Workbench$$Lambda$104.00000000AFD96460.run(Unknown Source) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107) 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:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1447) at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
I tried with OpenJ9 JDK 13 and it did not happen (jdk-13.0.1+9)
Please provide the links to the Eclipse download/EPP and OpenJ9. To what scenario does the log belong? Does it happen on all files or just a specific one? Please check for a crash dump (should either be where the java or eclipse exe is).
at org.eclipse.jdt.internal.compiler.SourceElementNotifier.getSuperclassName(SourceElementNotifier.java:167) return superclass != null ? CharOperation.concatWith(superclass.getParameterizedTypeName(), '.') : null; getParameterizedTypeName() can call getType() which may be null (atleast there is one instance where it could be in JavadocImplicitTypeReference implementation of getType(). Until we figure out the exact issue, a null check for the return value of getPTN() can be a short term workaround. I see other instances of getPTM() as well. Since Jay is the model, add him in CC.
(In reply to Manoj Palat from comment #3) > Since Jay is the model person [Omission] ^^^^^^ Please provide a reproducible test project? Is this happening for every Java class or a particular class?
I could not reproduce this issue launching Eclipse with latest Java 11 OpenJ9 version : OpenJDK11U-jdk_x64_windows_openj9_11.0.7_10_openj9-0.20.0\jdk-11.0.7+10, Creating a sample project, Creating a class and trying to open it using both the options Double click in package explorer and Ctrl + Shift + R. Firstly, can you try with the latest Java 11 version of OpenJ9 and Can you provide further information asked in Comment 4
Created attachment 283258 [details] projectsample
Comment on attachment 283258 [details] projectsample Unfortunately, I can not share the project in which I faced the original issue, but I created another project and even the IDE crashed in the startup. This is the log: !MESSAGE Error in JDT Core during reconcile !STACK 1 Java Model Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1 at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:324) at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:346) at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:193) at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:94) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:736) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802) at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1315) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:131) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.access$0(JavaReconcilingStrategy.java:113) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:93) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:90) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:188) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(CompositeReconcilingStrategy.java:125) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconcile(JavaCompositeReconcilingStrategy.java:139) at org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.java:98) at org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.java:423) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:177)
(In reply to Dani Megert from comment #2) > Please provide the links to the Eclipse download/EPP and OpenJ9. > > To what scenario does the log belong? Does it happen on all files or just a > specific one? > > Please check for a crash dump (should either be where the java or eclipse > exe is). This is the Openj9 version I used: https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/tag/jdk-11.0.4%2B11.2_openj9-0.15.1 The eclipse one: https://www.eclipse.org/downloads/packages/release/2020-06/rc1
(In reply to Fernando Cortes from comment #8) > (In reply to Dani Megert from comment #2) > > Please provide the links to the Eclipse download/EPP and OpenJ9. > > > > To what scenario does the log belong? Does it happen on all files or just a > > specific one? > > > > Please check for a crash dump (should either be where the java or eclipse > > exe is). > > This is the Openj9 version I used: > > https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/tag/jdk-11.0.4%2B11.2_openj9-0.15.1 Please switch to the latest as suggested in comment 5. > The eclipse one: > > https://www.eclipse.org/downloads/packages/release/2020-06/rc1 Please try with https://download.eclipse.org/eclipse/downloads/drops4/S-4.16RC2-202006040540/download.php?dropFile=eclipse-SDK-4.16RC2-win32-x86_64.zip > the IDE crashed in the startup Is it because you open a workspace that has some open editors? If so, try with a new workspace. Also, as requested, we need exact steps.
Created attachment 283269 [details] stepbysteplatestjdk Hi Dani, I attached the video clip. In that, I tried with the latest JDK 11 version (jdk-11.0.7+10.1_openj9-0.20.0), and the Java editor is open, also I attached the log file and the dmp if that is useful.
Created attachment 283270 [details] error.log
Created attachment 283271 [details] errornewworkspace.log Dani, I did another test creating a new workspace, these are the steps: - Create a new workspace - Open the IDE - Import the project I shared - Closed / Open IDE (worked normally) - Open Solution class - IDE crashes again after open the class. I saw in the progress bar that sonarlint was running at that time. Now let me try removing sonarlint.
Created attachment 283272 [details] errornosonarlint Dani, I tried now removing sonarlint in a new workspace, attached a video clip with the behavior: - Uninstall sonarlint - Restart IDE - Open any Java class with double click, I got different errors that you can see in the clip - Also, I tried with Ctrl + Shift + R with the same result.
Dani(In reply to Dani Megert from comment #9) > (In reply to Fernando Cortes from comment #8) > > (In reply to Dani Megert from comment #2) > > > Please provide the links to the Eclipse download/EPP and OpenJ9. > > > > > > To what scenario does the log belong? Does it happen on all files or just a > > > specific one? > > > > > > Please check for a crash dump (should either be where the java or eclipse > > > exe is). > > > > This is the Openj9 version I used: > > > > https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/tag/jdk-11.0.4%2B11.2_openj9-0.15.1 > Please switch to the latest as suggested in comment 5. > > > The eclipse one: > > > > https://www.eclipse.org/downloads/packages/release/2020-06/rc1 > Please try with > https://download.eclipse.org/eclipse/downloads/drops4/S-4.16RC2-202006040540/ > download.php?dropFile=eclipse-SDK-4.16RC2-win32-x86_64.zip > > > the IDE crashed in the startup > Is it because you open a workspace that has some open editors? If so, try > with a new workspace. > > Also, as requested, we need exact steps. I tried with RC2, it did not happen again, but I think that is not the same test given that the RC1 I have is EE version so.
(In reply to Fernando Cortes from comment #12) > Created attachment 283271 [details] > errornewworkspace.log > > Dani, > > I did another test creating a new workspace, these are the steps: > > - Create a new workspace > - Open the IDE > - Import the project I shared > - Closed / Open IDE (worked normally) > - Open Solution class > - IDE crashes again after open the class. > > I saw in the progress bar that sonarlint was running at that time. Now let > me try removing sonarlint. I have tried to reproduce the reported issue with the attached java project using the new Open J9 Java 11 on Win10 using the below Eclipse IDE Eclipse IDE for Enterprise Java Developers. Version: 2020-06 RC1 (4.16.0RC1) Build id: 20200604-2245 But I could not reproduce this issue.
Hi(In reply to Kalyan Prasad Tatavarthi from comment #15) > (In reply to Fernando Cortes from comment #12) > > Created attachment 283271 [details] > > errornewworkspace.log > > > > Dani, > > > > I did another test creating a new workspace, these are the steps: > > > > - Create a new workspace > > - Open the IDE > > - Import the project I shared > > - Closed / Open IDE (worked normally) > > - Open Solution class > > - IDE crashes again after open the class. > > > > I saw in the progress bar that sonarlint was running at that time. Now let > > me try removing sonarlint. > > I have tried to reproduce the reported issue with the attached java project > using the new Open J9 Java 11 on Win10 using the below Eclipse IDE > > Eclipse IDE for Enterprise Java Developers. > > Version: 2020-06 RC1 (4.16.0RC1) > Build id: 20200604-2245 > > > But I could not reproduce this issue. I found out that -Xshareclasses property in the eclipse.ini file produced that behavior. Could you verify it?
(In reply to Fernando Cortes from comment #16) > Hi(In reply to Kalyan Prasad Tatavarthi from comment #15) > > (In reply to Fernando Cortes from comment #12) > > > Created attachment 283271 [details] > > > errornewworkspace.log > > > > > > Dani, > > > > > > I did another test creating a new workspace, these are the steps: > > > > > > - Create a new workspace > > > - Open the IDE > > > - Import the project I shared > > > - Closed / Open IDE (worked normally) > > > - Open Solution class > > > - IDE crashes again after open the class. > > > > > > I saw in the progress bar that sonarlint was running at that time. Now let > > > me try removing sonarlint. > > > > I have tried to reproduce the reported issue with the attached java project > > using the new Open J9 Java 11 on Win10 using the below Eclipse IDE > > > > Eclipse IDE for Enterprise Java Developers. > > > > Version: 2020-06 RC1 (4.16.0RC1) > > Build id: 20200604-2245 > > > > > > But I could not reproduce this issue. > > I found out that -Xshareclasses property in the eclipse.ini file produced > that behavior. Could you verify it? I fixed that defining shareclasses like this: -Xshareclasses:cacheDir=C:/tmp/java11sharedresources