Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TargetEditor.TargetChangedListener appears to expect to run on the UI thread #1505

Open
merks opened this issue Dec 4, 2024 · 0 comments · May be fixed by #1511
Open

TargetEditor.TargetChangedListener appears to expect to run on the UI thread #1505

merks opened this issue Dec 4, 2024 · 0 comments · May be fixed by #1511

Comments

@merks
Copy link
Contributor

merks commented Dec 4, 2024

I'm not sure what I did for this to happen:

org.eclipse.swt.SWTException: Invalid thread access
	at org.eclipse.swt.SWT.error(SWT.java:4922)
	at org.eclipse.swt.SWT.error(SWT.java:4837)
	at org.eclipse.swt.SWT.error(SWT.java:4808)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:500)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:420)
	at org.eclipse.swt.widgets.Tree.getItems(Tree.java:3389)
	at org.eclipse.jface.viewers.TreeViewer.getChildren(TreeViewer.java:165)
	at org.eclipse.jface.viewers.AbstractTreeViewer.internalCollectVisibleExpanded(AbstractTreeViewer.java:3163)
	at org.eclipse.jface.viewers.AbstractTreeViewer.getVisibleExpandedElements(AbstractTreeViewer.java:3158)
	at org.eclipse.pde.internal.ui.shared.target.TargetLocationsGroup.setInput(TargetLocationsGroup.java:417)
	at org.eclipse.pde.internal.ui.editor.targetdefinition.TargetEditor$TargetChangedListener.contentsChanged(TargetEditor.java:660)
	at org.eclipse.pde.internal.ui.editor.targetdefinition.TargetEditor$InputHandler.loadTargetDefinition(TargetEditor.java:535)
	at org.eclipse.pde.internal.ui.editor.targetdefinition.TargetEditor$InputHandler.getTarget(TargetEditor.java:510)
	at org.eclipse.pde.internal.ui.editor.targetdefinition.TargetEditor.getTarget(TargetEditor.java:308)
	at org.eclipse.pde.internal.ui.editor.targetdefinition.TargetEditor$TargetChangedListener$1.run(TargetEditor.java:678)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant