Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Components and Pallete are empty(WindowBuilder design view has failed)
Components and Pallete are empty [message #1840181] Thu, 08 April 2021 08:35 Go to next message
Jerzy KaczorekFriend
Messages: 2
Registered: April 2021
Location: Polska
Junior Member
Hello Everybody!

After months I've opened Eclipse to work on old swing projects and I've got a sight of my IDE with broken design view. In the meantime I uninstelled some old jdks - it could be a reason however WindowBuilder doesn't work now in any old or new project.
Yes, installing new eclipse environment and installing and running WindowBuilder causes the same problem. Logs are fullfilled with erros I do not understand so I'm conpletely confused.

Could anyone help me?
Thank you in advance.

example log fragment:

!ENTRY org.eclipse.ui 4 0 2021-04-08 10:27:23.837
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.jface.viewers.ISelectionProvider.addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)" because "this.m_selectionProvider" is null
at org.eclipse.wb.internal.core.editor.UndoManager.addSelectionListener(UndoManager.java:187)
at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:382)
at org.eclipse.wb.internal.core.editor.UndoManager.activate(UndoManager.java:90)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState_True(DesignPage.java:263)
at org.eclipse.wb.internal.core.editor.DesignPage.handleActiveState(DesignPage.java:241)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode.showPage(DefaultMultiMode.java:125)
at org.eclipse.wb.internal.core.editor.multi.DefaultMultiMode$1.widgetSelected(DefaultMultiMode.java:63)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
Re: Components and Pallete are empty [message #1840206 is a reply to message #1840181] Thu, 08 April 2021 15:46 Go to previous messageGo to next message
Jerzy KaczorekFriend
Messages: 2
Registered: April 2021
Location: Polska
Junior Member
Solved:

So I reply to myself:
I re-installed removed jdks and set compiler compliance level to earlier version - so now it works. However it is sad, that the new Java versions have problems with older environments.

If someone knows how to force jdk 16 to work with older projects based on WindowBuilder, I will be grateful to her/him.
Re: Components and Pallete are empty [message #1841426 is a reply to message #1840181] Sun, 16 May 2021 08:18 Go to previous message
Marcel Austenfeld is currently offline Marcel AustenfeldFriend
Messages: 160
Registered: July 2009
Senior Member
See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=572210

If I add

--illegal-access=permit

to the Eclipse.ini it seems to work (with OpenJDK 16).
Previous Topic:Window Builder no me muestra ni los componentes ni sus propiedades
Next Topic:windowbuilder
Goto Forum:
  


Current Time: Sat Nov 26 17:18:17 GMT 2022

Powered by FUDForum. Page generated in 0.02102 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top