Bug 565497 - Unhandled event loop exception
Summary: Unhandled event loop exception
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-23 13:10 EDT by Bryan Pauquette CLA
Modified: 2022-09-27 01:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Pauquette CLA 2020-07-23 13:10:03 EDT
eclipse.buildId=4.13.0.I20190916-1045
java.version=11.0.4
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.core.resources 2 10035 2020-07-22 15:06:52.533
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.egit.ui 2 0 2020-07-22 15:06:59.685
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\bpauquette'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2020-07-23 12:11:55.174 -----------------------------------------------
eclipse.buildId=4.13.0.I20190916-1045
java.version=11.0.4
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2020-07-23 12:12:04.037
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\bpauquette'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2020-07-23 12:24:34.008 -----------------------------------------------
eclipse.buildId=4.13.0.I20190916-1045
java.version=11.0.4
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -data file:/D:/2019-09Workspace/ -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2020-07-23 12:24:41.502
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\bpauquette'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2020-07-23 12:35:54.577 -----------------------------------------------
eclipse.buildId=4.13.0.I20190916-1045
java.version=11.0.4
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2020-07-23 12:36:02.177
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\bpauquette'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.equinox.event 4 0 2020-07-23 12:37:10.452
!MESSAGE Exception while dispatching event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/ui/ElementContainer/children/ADD] {ChangedElement=org.eclipse.ui.navigator.ProjectExplorer#PopupMenu=org.eclipse.e4.ui.model.application.ui.menu.impl.PopupMenuImpl@4349f52c (tags: [menuContribution:popup, popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu], contributorURI: null) (widget: Menu {&New, Go &Into, |, Sho&w In	Alt+Shift+W, |, &Copy	Ctrl+C, Cop&y Qualified Name, &Paste	Ctrl+V, &Delete	Delete, &Build Path, Refac&tor	Alt+Shift+T, |, &Import..., Exp&ort..., |, Re&fresh	F5, Clo&se Project, Close &Unrelated Projects, |, Wa&tch, Upgrade to EclipseLink Mapping File, |, P&roperties	Alt+Enter}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer@294aaa6, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, mnemonics: null) (enabled: true) (context: popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu, variables: null), org.eclipse.e4.data={ChangedElement=org.eclipse.ui.navigator.ProjectExplorer#PopupMenu=org.eclipse.e4.ui.model.application.ui.menu.impl.PopupMenuImpl@4349f52c (tags: [menuContribution:popup, popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu], contributorURI: null) (widget: Menu {&New, Go &Into, |, Sho&w In	Alt+Shift+W, |, &Copy	Ctrl+C, Cop&y Qualified Name, &Paste	Ctrl+V, &Delete	Delete, &Build Path, Refac&tor	Alt+Shift+T, |, &Import..., Exp&ort..., |, Re&fresh	F5, Clo&se Project, Close &Unrelated Projects, |, Wa&tch, Upgrade to EclipseLink Mapping File, |, P&roperties	Alt+Enter}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer@294aaa6, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, mnemonics: null) (enabled: true) (context: popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu, variables: null), AttName=children, EventType=ADD, Position=35, Widget=Menu {&New, Go &Into, |, Sho&w In	Alt+Shift+W, |, &Copy	Ctrl+C, Cop&y Qualified Name, &Paste	Ctrl+V, &Delete	Delete, &Build Path, Refac&tor	Alt+Shift+T, |, &Import..., Exp&ort..., |, Re&fresh	F5, Clo&se Project, Close &Unrelated Projects, |, Wa&tch, Upgrade to EclipseLink Mapping File, |, P&roperties	Alt+Enter}, NewValue=org.eclipse.jpt.jpa.eclipselink.ui.upgradeToEclipseLinkMappingFile=org.eclipse.e4.ui.model.application.ui.menu.impl.HandledMenuItemImpl@aca7766 (tags: [], contributorURI: null) (widget: MenuItem {Upgrade to EclipseLink Mapping File}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer@294aaa6, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, enabled: true, selected: false, type: Push) (mnemonics: null) (wbCommand: ParameterizedCommand(Command(org.eclipse.jpt.jpa.eclipselink.ui.upgradeToEclipseLinkMappingFile,Upgrade to EclipseLink Mapping File,
		,
		Category(org.eclipse.core.commands.categories.autogenerated,Uncategorized,Commands that were either auto-generated or have no category,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@20003af7,
		,,true),null))}, AttName=children, EventType=ADD, Position=35, Widget=Menu {&New, Go &Into, |, Sho&w In	Alt+Shift+W, |, &Copy	Ctrl+C, Cop&y Qualified Name, &Paste	Ctrl+V, &Delete	Delete, &Build Path, Refac&tor	Alt+Shift+T, |, &Import..., Exp&ort..., |, Re&fresh	F5, Clo&se Project, Close &Unrelated Projects, |, Wa&tch, Upgrade to EclipseLink Mapping File, |, P&roperties	Alt+Enter}, NewValue=org.eclipse.jpt.jpa.eclipselink.ui.upgradeToEclipseLinkMappingFile=org.eclipse.e4.ui.model.application.ui.menu.impl.HandledMenuItemImpl@aca7766 (tags: [], contributorURI: null) (widget: MenuItem {Upgrade to EclipseLink Mapping File}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer@294aaa6, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: null, iconURI: null, tooltip: null, enabled: true, selected: false, type: Push) (mnemonics: null) (wbCommand: ParameterizedCommand(Command(org.eclipse.jpt.jpa.eclipselink.ui.upgradeToEclipseLinkMappingFile,Upgrade to EclipseLink Mapping File,
		,
		Category(org.eclipse.core.commands.categories.autogenerated,Uncategorized,Commands that were either auto-generated or have no category,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@20003af7,
		,,true),null))} to handler org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler@c2c1622
!STACK 0
java.lang.OutOfMemoryError: Requested array size exceeds VM limit
	at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.<init>(HashtableOfObject.java:41)
	at org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable(DiskIndex.java:683)
	at org.eclipse.jdt.internal.core.index.DiskIndex.addQueryResults(DiskIndex.java:204)
	at org.eclipse.jdt.internal.core.index.Index.query(Index.java:150)
	at org.eclipse.jdt.internal.core.search.matching.TypeDeclarationPattern.queryIn(TypeDeclarationPattern.java:364)
	at org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(SearchPattern.java:2390)
	at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:296)
	at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:117)
	at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:72)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:265)
	at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1851)
	at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:1100)
	at org.eclipse.jdt.core.JavaCore.updateLegacyIndex(JavaCore.java:4613)
	at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:4561)
	at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.<init>(InternalJpaProjectManager.java:265)
	at org.eclipse.jpt.jpa.core.internal.InternalJpaWorkspace.buildJpaProjectManager(InternalJpaWorkspace.java:74)
	at org.eclipse.jpt.jpa.core.internal.InternalJpaWorkspace.<init>(InternalJpaWorkspace.java:40)
	at org.eclipse.jpt.jpa.core.internal.plugin.JptJpaCorePlugin.buildJpaWorkspace(JptJpaCorePlugin.java:112)
	at org.eclipse.jpt.jpa.core.internal.plugin.JptJpaCorePlugin.getJpaWorkspace_(JptJpaCorePlugin.java:105)
	at org.eclipse.jpt.jpa.core.internal.plugin.JptJpaCorePlugin.getJpaWorkspace(JptJpaCorePlugin.java:95)
	at org.eclipse.jpt.jpa.core.internal.WorkspaceAdapterFactory.getJpaWorkspace(WorkspaceAdapterFactory.java:55)
	at org.eclipse.jpt.jpa.core.internal.WorkspaceAdapterFactory.getAdapter(WorkspaceAdapterFactory.java:46)
	at org.eclipse.jpt.jpa.core.internal.WorkspaceAdapterFactory.getAdapter(WorkspaceAdapterFactory.java:39)
	at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:85)
	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:300)
	at org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:72)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getJpaWorkspace(ResourceAdapterFactory.java:62)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getJpaPlatformManager(ResourceAdapterFactory.java:57)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getJpaPlatformConfig(ResourceAdapterFactory.java:52)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:46)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:39)
	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:340)

!ENTRY org.eclipse.ui 4 0 2020-07-23 12:43:53.090
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.OutOfMemoryError: Requested array size exceeds VM limit
	at org.eclipse.jdt.internal.compiler.util.HashtableOfObject.<init>(HashtableOfObject.java:41)
	at org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable(DiskIndex.java:683)
	at org.eclipse.jdt.internal.core.index.DiskIndex.addQueryResults(DiskIndex.java:204)
	at org.eclipse.jdt.internal.core.index.Index.query(Index.java:150)
	at org.eclipse.jdt.internal.core.search.matching.TypeDeclarationPattern.queryIn(TypeDeclarationPattern.java:364)
	at org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(SearchPattern.java:2390)
	at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:296)
	at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:117)
	at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:72)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:265)
	at org.eclipse.jdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1851)
	at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEngine.java:1100)
	at org.eclipse.jdt.core.JavaCore.updateLegacyIndex(JavaCore.java:4613)
	at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:4561)
	at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.<init>(InternalJpaProjectManager.java:265)
	at org.eclipse.jpt.jpa.core.internal.InternalJpaWorkspace.buildJpaProjectManager(InternalJpaWorkspace.java:74)
	at org.eclipse.jpt.jpa.core.internal.InternalJpaWorkspace.<init>(InternalJpaWorkspace.java:40)
	at org.eclipse.jpt.jpa.core.internal.plugin.JptJpaCorePlugin.buildJpaWorkspace(JptJpaCorePlugin.java:112)
	at org.eclipse.jpt.jpa.core.internal.plugin.JptJpaCorePlugin.getJpaWorkspace_(JptJpaCorePlugin.java:105)
	at org.eclipse.jpt.jpa.core.internal.plugin.JptJpaCorePlugin.getJpaWorkspace(JptJpaCorePlugin.java:95)
	at org.eclipse.jpt.jpa.core.internal.WorkspaceAdapterFactory.getJpaWorkspace(WorkspaceAdapterFactory.java:55)
	at org.eclipse.jpt.jpa.core.internal.WorkspaceAdapterFactory.getAdapter(WorkspaceAdapterFactory.java:46)
	at org.eclipse.jpt.jpa.core.internal.WorkspaceAdapterFactory.getAdapter(WorkspaceAdapterFactory.java:39)
	at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:85)
	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:300)
	at org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:72)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getJpaWorkspace(ResourceAdapterFactory.java:62)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getJpaPlatformManager(ResourceAdapterFactory.java:57)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getJpaPlatformConfig(ResourceAdapterFactory.java:52)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:46)
	at org.eclipse.jpt.jpa.core.internal.platform.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:39)
	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:340)
!SESSION 2020-07-23 12:42:59.600 -----------------------------------------------
eclipse.buildId=4.13.0.I20190916-1045
java.version=11.0.4
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.egit.ui 2 0 2020-07-23 12:44:19.686
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\bpauquette'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations
Comment 1 Bryan Pauquette CLA 2020-07-23 13:12:02 EDT
Please break up the request into smaller values so the limit is not exceeded.
Comment 2 Rolf Theunissen CLA 2020-07-25 07:41:43 EDT
Your report is very cryptic, but I think I manged to decipher it.

A 'java.lang.OutOfMemoryError: Requested array size exceeds VM limit' is thrown in org.eclipse.jdt.internal.core.index.DiskIndex.readCategoryTable, this should be prevented.

Moving the issue to JDT.
Comment 3 Eclipse Genie CLA 2022-09-27 01:26:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.