| Summary: | [GTK3] NullPointerException in TabFolder when running ControlExample | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Eric Williams <ericwill> |
| Component: | SWT | Assignee: | Eric Williams <ericwill> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ar.dev, eclipse-bugs, error-reports-inbox, gamuruva, kwpolska, maritumaa, mistria, nicola.buso, peter, psoujany, shallpion |
| Version: | 4.6 | ||
| Target Milestone: | 4.6 M6 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/64695 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=1a375bfbb7dca92b102db09891a18eeb80d671f2 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 474628, 480889 | ||
New Gerrit change created: https://git.eclipse.org/r/64695 Gerrit change https://git.eclipse.org/r/64695 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=1a375bfbb7dca92b102db09891a18eeb80d671f2 In master now. Fixes ControlExample on both both Wayland and X11 for GTK3.20+. *** Bug 491753 has been marked as a duplicate of this bug. *** Arch Linux user here, looks like there won't be updates for the 4.5 branch anymore[1], can we expect a fix before June or is there a workaround for this issue? [1]: https://wiki.eclipse.org/Simultaneous_Release *** Bug 493245 has been marked as a duplicate of this bug. *** *** Bug 493891 has been marked as a duplicate of this bug. *** *** Bug 491414 has been marked as a duplicate of this bug. *** (In reply to Peter Wu from comment #5) > Arch Linux user here, looks like there won't be updates for the 4.5 branch > anymore[1], can we expect a fix before June or is there a workaround for > this issue? > > [1]: https://wiki.eclipse.org/Simultaneous_Release You can already get this fix in the milestones/release candidate builds that occur after patch is merged: https://www.eclipse.org/downloads/index-developer.php *** Bug 493454 has been marked as a duplicate of this bug. *** *** Bug 495374 has been marked as a duplicate of this bug. *** *** Bug 495368 has been marked as a duplicate of this bug. *** *** Bug 497150 has been marked as a duplicate of this bug. *** *** Bug 514291 has been marked as a duplicate of this bug. *** *** Bug 534355 has been marked as a duplicate of this bug. *** |
On GTK3.19.5 (dev branch), launching ControlExample leads to a NullPointerException with the following stack trace: Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.TabFolder.gtk_switch_page(TabFolder.java:572) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2019) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4736) at org.eclipse.swt.internal.gtk.OS._gtk_widget_show(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_widget_show(OS.java:14956) at org.eclipse.swt.widgets.TabFolder.createItem(TabFolder.java:311) at org.eclipse.swt.widgets.TabItem.createWidget(TabItem.java:123) at org.eclipse.swt.widgets.TabItem.<init>(TabItem.java:75) at org.eclipse.swt.examples.controlexample.ControlExample.<init>(ControlExample.java:58) at org.eclipse.swt.examples.controlexample.ControlExample.main(ControlExample.java:217) This doesn't happen on GTK3.18.