Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWTException occurs always on opening gfxtrace file #1305

Open
artrointel opened this issue Jun 20, 2023 · 0 comments
Open

SWTException occurs always on opening gfxtrace file #1305

artrointel opened this issue Jun 20, 2023 · 0 comments

Comments

@artrointel
Copy link

Environment information:

  • AGI version: 3.3.1
  • Host OS: Windows
    If tracing on Android:
  • Device model: private
  • Android Version: 13

Bug description
A clear and concise description of what the bug is.
SWTException occurs always on opening gfxtrace file

Reproduction steps
Steps to reproduce the behavior:
Just opened gfxtrace file and the error occurred.

Stacktrace
Please paste a stacktrace here if it's available.

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.reflect.UndeclaredThrowableException)
	at org.eclipse.swt.SWT.error(SWT.java:4918)
	at org.eclipse.swt.SWT.error(SWT.java:4833)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4043)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3648)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
	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)
Caused by: java.lang.reflect.UndeclaredThrowableException
	at com.sun.proxy.$Proxy9.onCommandsLoaded(Unknown Source)
	at com.google.gapid.models.CommandStream.fireLoadedEvent(CommandStream.java:181)
	at com.google.gapid.models.ModelBase.updateError(ModelBase.java:120)
	at com.google.gapid.models.ModelBase$1.onUiThreadError(ModelBase.java:85)
	at com.google.gapid.rpc.UiErrorCallback.onUiThread(UiErrorCallback.java:36)
	at com.google.gapid.rpc.UiErrorCallback.onUiThread(UiErrorCallback.java:25)
	at com.google.gapid.rpc.UiCallback.lambda$onFinish$0(UiCallback.java:46)
	at com.google.gapid.widgets.Widgets.ifNotDisposed(Widgets.java:141)
	at com.google.gapid.widgets.Widgets.lambda$scheduleIfNotDisposed$1(Widgets.java:169)
	at com.google.gapid.widgets.Widgets.lambda$schedule$0(Widgets.java:161)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
	... 6 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gapid.util.Events$ListenerCollectionImpl.invoke(Events.java:167)
	... 18 more
Caused by: java.lang.NullPointerException
	at com.google.gapid.views.CommandTree$TreeState.expandChildren(CommandTree.java:1363)
	at com.google.gapid.views.CommandTree$TreeState.reset(CommandTree.java:1295)
	at com.google.gapid.views.CommandTree.onCommandsLoaded(CommandTree.java:542)
	... 23 more

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

Additional debugging information

  • Please attach the generated gapis.log and gapic.log files you will find in the temp folder (e.g. /tmp/ on linux).
  • If using Android: Please attach a full logcat dump (adb logcat -d > logcat-full.txt) that contains logs since AGI was started.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant