Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » [Resolved] Palette is empty(Swing class palette is empty.)
[Resolved] Palette is empty [message #1843435] Thu, 29 July 2021 09:22 Go to next message
Sergejs Bure is currently offline Sergejs BureFriend
Messages: 2
Registered: July 2021
Junior Member
Hello, everyone!

WindowBuilder palette is empty.

I am using Linux Mint 20.2 Uma, openjdk 11.0.11, Eclipse IDE Version: 2021-06 (4.20.0) Build id: 20210612-2011, latest version of windowbuilder 1.9.7.

I can compile and run a Java program, but windowbuilder palette is empty.
I can't design JFrame application normally - in graphics.
I am newbie in Java. I suspect, this is because of OpenJDK.

Screenshot is in the attachment.

Log file part is below.

!ENTRY org.eclipse.ui 4 0 2021-07-29 11:11:54.588
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException: Cannot invoke "org.eclipse.wb.core.controls.palette.IPalette.addPopupActions(org.eclipse.jface.action.IMenuManager, Object)" because "this.m_palette" is null
at org.eclipse.wb.core.controls.palette.PaletteComposite.addPopupActions(PaletteComposite.java:185)
at org.eclipse.wb.core.controls.palette.PaletteComposite.access$21(PaletteComposite.java:162)
at org.eclipse.wb.core.controls.palette.PaletteComposite$2.menuAboutToShow(PaletteComposite.java:148)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:338)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:468)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:463)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:259)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5879)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1427)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1453)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1432)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:250)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:5163)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4590)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
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:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
at org.eclipse.equinox.launcher.Main.main(Main.java:1435)

[Updated on: Mon, 02 August 2021 08:08]

Report message to a moderator

Re: Palette is empty [message #1843484 is a reply to message #1843435] Mon, 02 August 2021 08:06 Go to previous message
Sergejs Bure is currently offline Sergejs BureFriend
Messages: 2
Registered: July 2021
Junior Member
Worked on Linux Mint 20.2 Uma, openjdk 11.0.11
I have found Eclipse.ini in the folder /var/lib/flatpak/app/org.eclipse.Java/x86_64/stable/419a4314389365bd6827ef05182d
and have add --illegal-access=permit
Palette is not empty, usung OpenJDK 11.0.11 on Linux Mint 20.2 Uma.

Sorry, I didn't read other topics, before creating my topic.
Previous Topic:Component field without value
Next Topic:Extended JPanel background/foreground properties blank dropdown instead of color chooser
Goto Forum:
  


Current Time: Fri Oct 07 00:51:15 GMT 2022

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

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

Back to the top