Opened 9 years ago
Closed 9 years ago
#14402 closed defect (worksforme)
VirtualBox web service Machine::restoreSnapshot is not implemented
| Reported by: | DavidPrg | Owned by: | |
|---|---|---|---|
| Component: | webservices | Version: | VirtualBox 5.0.0 |
| Keywords: | Cc: | ||
| Guest type: | Windows | Host type: | Windows |
Description
SDK 5.0.0-101573, using vboxjws.jar
– IMachine::restoreSnapshot() replaces IConsole::restoreSnapshot()
calling IMachine.restoreSnapshot results in not implemented exception..
Tested on VirtualBox-5.0.0-101573 and VirtualBox-5.0.1-101939-Win.exe
00:01:44.545539 ERROR [COM]: aRC=E_NOTIMPL (0x80004001) aIID={f30138d4-e5ea-4b3a-8858-a059de4c93fd} aComponent={MachineWrap} aText={Method Machine::restoreSnapshot is not implemented}, preserve=false aResultDetail=0
Attachments (1)
Change History (2)
by , 9 years ago
| Attachment: | web_service_log.txt added |
|---|
comment:1 by , 9 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.


Actually it is implemented. You need to use a SessionMachine, not a Machine for restoring a snapshot! Do IMachine::lockMachine() and IMachine::machine().