-
Notifications
You must be signed in to change notification settings - Fork 270
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
SerializationException: Type 'org.ovirt.engine.core.common.utils.SecretValue' was not included in the set of types... #900
Comments
|
Happens also on: 4.5.6-0.master.20240102080404.git8d47cd71da.el8 |
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'org.ovirt.engine.core.common.utils.SecretValue' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = *** Perhaps introduced here: |
##Fixes issue This PR fixes the oVirt#900 issue. ##Changes introduced with this PR Since the SecretValue structure is used in GWT, it should implement Serializable interface. Also couple null checks were added to avoid NPE in the scenario explained in the oVirt#900 issue. ##Are you the owner of the code you are sending in, or do you have permission of the owner? Yes
Affected version
At least 4.5.4 and 4.5.5-1
Describe the bug
When you create a VM with TPMS Support enabled, the UI for the snapshot screen doesn't work. (EG: A Windows 11 VM). Due to a serialization error.
the server.log on the engine gives a pretty clear indication of the root cause:
Looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1422841
To reproduce
Endless 500 errors just viewing the snapshots tab.
Steps to reproduce the behavior
Expected behavior
Snapshot management on VMs with TPMS should function.
Note: I've run this in a new incognito window, meaning no cache.
The text was updated successfully, but these errors were encountered: