gapid: Unhandled exception in the UI thread.
GAPID Version: 1.6.1:338bb67b0fe291f56f31d69f11ea1a45ed7cfeb6 OS: linux amd64
Please provide detailed steps that led to the error and copy-paste the stack trace. Extra details from the logs and the trace file would be extra helpful.
Take the trace with unlimited number of frames. Do couple of actions in the app. Try to open the trace.
1.6.1 stack trace:
java.lang.NullPointerException
at com.google.gapid.widgets.TabArea.layoutComputeSize(TabArea.java:344)
at com.google.gapid.widgets.TabArea$1.computeSize(TabArea.java:68)
at org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:243)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:825)
at org.eclipse.swt.layout.FormData.computeSize(FormData.java:120)
at org.eclipse.swt.layout.FormData.getWidth(FormData.java:149)
at org.eclipse.swt.layout.FormData.getRightAttachment(FormData.java:250)
at org.eclipse.swt.layout.FormLayout.computeWidth(FormLayout.java:271)
at org.eclipse.swt.layout.FormLayout.layout(FormLayout.java:338)
at org.eclipse.swt.layout.FormLayout.computeSize(FormLayout.java:245)
at org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:243)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:825)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:494)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:224)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:167)
at org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:243)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:825)
at org.eclipse.swt.layout.FillData.computeSize(FillData.java:29)
at org.eclipse.swt.layout.FillLayout.computeChildSize(FillLayout.java:155)
at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.java:126)
at org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:243)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:825)
at org.eclipse.swt.custom.StackLayout.computeSize(StackLayout.java:101)
at org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:243)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:825)
at org.eclipse.swt.custom.StackLayout.computeSize(StackLayout.java:101)
at org.eclipse.swt.widgets.Composite.computeSizeInPixels(Composite.java:243)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:825)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:494)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:224)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:200)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1847)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1853)
at org.eclipse.swt.widgets.Composite.setLayoutDeferred(Composite.java:1694)
at org.eclipse.swt.widgets.Display.runDeferredLayouts(Display.java:5075)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4570)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:821)
at org.eclipse.jface.window.Window.open(Window.java:797)
at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:161)
at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:62)
at com.google.gapid.Main$UI.lambda$registerWindowExceptionHandler$0(Main.java:113)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:797)
at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:161)
at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:62)
at com.google.gapid.Main$UI.lambda$registerWindowExceptionHandler$0(Main.java:113)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:797)
at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:161)
at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:62)
at com.google.gapid.Main$UI.lambda$registerWindowExceptionHandler$0(Main.java:113)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:797)
at com.google.gapid.Main$UI.show(Main.java:119)
at com.google.gapid.Main.main(Main.java:68)
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 16 (4 by maintainers)
yep, that’s correct
sudo apt-get install libx11-dev
fixed the issue for me, so probably you should add it as a dependency for the ubuntu package.Sorry I though it was some kind of UI issue, as original stack trace doesn’t show the problem.
Thanks for the stack trace. Yes, it would be nice to automatically include it, however, GH is very limiting in that it has to be a HTTP GET request, which is rather limited in how big it can be…
Unfortunately, the stack trace shown is an error that happened while trying to show the error dialog due to another error. This specific error-while-showing-an-error has been fixed, but it would still be great to get the original error. Do you see another stack trace in the log before any ones that reference
ErrorDialog.showErrorDialog
?