#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 (3)
by , 10 years ago
Attachment: | web_service_log.txt added |
---|
comment:1 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 2 years ago
Note for java developers. Please notice that a sessionMachine is gathered by the session using session.getMachine()!!!
Actually it is implemented. You need to use a SessionMachine, not a Machine for restoring a snapshot! Do IMachine::lockMachine() and IMachine::machine().