google / google/gapid

Unhandled exception in the UI thread.

Open
#3,151 16 comments 0 reactions 0 assignees View on GitHub
needs more information
Dominant language
Go
Stars
2.2k
Forks
329
PR merge metrics
No merged PRs in 30d

Description

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)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.