VirtualBox

Opened 9 years ago

Closed 9 years ago

Last modified 14 months 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)

web_service_log.txt (1.9 KB ) - added by DavidPrg 9 years ago.

Download all attachments as: .zip

Change History (3)

by DavidPrg, 9 years ago

Attachment: web_service_log.txt added

comment:1 by Frank Mehnert, 9 years ago

Resolution: worksforme
Status: newclosed

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

comment:2 by grim, 14 months ago

Note for java developers. Please notice that a sessionMachine is gathered by the session using session.getMachine()!!!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use