google / agi

Android GPU Inspector
https://gpuinspector.dev
Apache License 2.0
944 stars 138 forks source link

The application encountered an error: Unhandled exception in the UI thread. #1123

Closed linxs0211 closed 2 years ago

linxs0211 commented 2 years ago

Environment information:

Bug description Crash happened when Click the RenderPass Item in Performance Tab image

Reproduction steps

Stacktrace java.lang.NullPointerException at com.google.gapid.views.PipelineView.lambda$createPipelineTabs$4(PipelineView.java:272) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4524) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1522) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1545) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1530) at org.eclipse.swt.widgets.Control.drawWidget(Control.java:1270) at org.eclipse.swt.widgets.Button.drawWidget(Button.java:547) at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:776) at org.eclipse.swt.widgets.Display.windowProc(Display.java:6124) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5398) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5802) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:92) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3877) at org.eclipse.jface.window.Window.runEventLoop(Window.java:823) at org.eclipse.jface.window.Window.open(Window.java:799) at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:67) at com.google.gapid.views.ErrorDialog.showErrorDialog(ErrorDialog.java:59) at com.google.gapid.Main$UI.lambda$registerWindowExceptionHandler$0(Main.java:133) at org.eclipse.jface.window.Window.runEventLoop(Window.java:827) at org.eclipse.jface.window.Window.open(Window.java:799) at com.google.gapid.Main$UI.show(Main.java:140) at com.google.gapid.Main.main(Main.java:80)

Screenshots If applicable, add screenshots to help explain your problem.

Additional debugging information

ttanatb commented 2 years ago

Thanks for reporting this, could you provide more info to this issue?

Specifically, if you could provide the following, it'll really help with triaging this issue:

pmuetschard commented 2 years ago

I think this has been fixed in 3.0.1 release. Can you please confirm the version of AGI you are using and try 3.0.1?

ttanatb commented 2 years ago

Closing this issue due to staleness, please let us know if you still run into this problem in the latest release