dgzyk / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

error reported while taking snapshot of vm #625

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If you have just updated phpVirtualBox, don't forget to clear your
browser's cache!!!

Please see the Common Errors and Issues wiki page located at
http://code.google.com/p/phpvirtualbox/wiki/CommonErrors before posting
here.

What steps will reproduce the problem?
1.perform snapshot of stopped vm by clicking on the camera icon
2.enter a name for snapshot
3.enter description

What is the expected output? What do you see instead?
I would expect it to take a snapshot and it apears to do so but gives an error

What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?

phpvirtualbox is running on ubuntu 12.04 86 (3.2.0-29generic-pae) using 
virtualbox 4.2.4(81684) with php virtualbox 4.2.4

using apache/2.2.22
using php 5.3.10 with suhosin patch

and have tried this in the following browsers
chrome Version 23.0.1271.64 m
opera version 12(1467)
IE 9.02

on windows 7 x64

Please provide any additional information below.

error message

VirtualBox error: Invalid managed object reference 
"87db3898e018e01d-00000000000043ac"

SoapFault Object
(
    [message:protected] => VirtualBox error: Invalid managed object reference "87db3898e018e01d-00000000000043ac"
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /var/www/phpvirtualbox/lib/vboxServiceWrappers.php
    [line:protected] => 9664
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxServiceWrappers.php
                    [line] => 9664
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ISnapshotEvent_getSnapshotId
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_this] => 87db3898e018e01d-00000000000043ac
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxServiceWrappers.php
                    [line] => 54
                    [function] => getSnapshotId
                    [class] => ISnapshotEvent
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 785
                    [function] => __get
                    [class] => VBox_ManagedObject
                    [type] => ->
                    [args] => Array
                        (
                            [0] => snapshotId
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 387
                    [function] => _getEventData
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IEvent Object
                                (
                                    [connection:protected] => SoapClient Object
                                        (
                                            [location] => http://127.0.0.1:18083/
                                            [_features] => 5
                                            [_connection_timeout] => 20
                                            [_soap_version] => 1
                                            [sdl] => Resource id #10
                                            [httpurl] => Resource id #49
                                            [httpsocket] => Resource id #40
                                            [_use_proxy] => 0
                                        )

                                    [handle:protected] => 87db3898e018e01d-00000000000043ac
                                )

                            [1] => vbox
                        )

                )

            [4] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 918
                    [function] => remote_getEvents
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [_persist] => Array
                                        (
                                            [vboxEventListeners] => Array
                                                (
                                                    [vbox] => Array
                                                        (
                                                            [listener] => 87db3898e018e01d-0000000000004340
                                                            [source] => 87db3898e018e01d-000000000000433f
                                                        )

                                                )

                                            [vboxHandle] => 87db3898e018e01d-000000000000433e
                                        )

                                    [fn] => getEvents
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/ajax.php
                    [line] => 306
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => getEvents
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_persist] => Array
                                                (
                                                    [vboxEventListeners] => Array
                                                        (
                                                            [vbox] => Array
                                                                (
                                                                    [listener] => 87db3898e018e01d-0000000000004340
                                                                    [source] => 87db3898e018e01d-000000000000433f
                                                                )

                                                        )

                                                    [vboxHandle] => 87db3898e018e01d-000000000000433e
                                                )

                                            [fn] => getEvents
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [responseData] => Array
                                                                (
                                                                    [0] => Array
                                                                        (
                                                                            [eventType] => OnSessionStateChanged
                                                                            [sourceId] => vbox
                                                                            [dedupId] => vbox-OnSessionStateChanged-f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [machineId] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [state] => Locked
                                                                        )

                                                                    [1] => Array
                                                                        (
                                                                            [eventType] => OnMachineStateChanged
                                                                            [sourceId] => vbox
                                                                            [dedupId] => vbox-OnMachineStateChanged-f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [machineId] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [state] => PoweredOff
                                                                            [enrichmentData] => Array
                                                                                (
                                                                                    [lastStateChange] => 1352463413.919
                                                                                    [currentStateModified] => 
                                                                                )

                                                                        )

                                                                    [2] => Array
                                                                        (
                                                                            [eventType] => OnMachineDataChanged
                                                                            [sourceId] => vbox
                                                                            [dedupId] => vbox-OnMachineDataChanged-f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [machineId] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [enrichmentData] => Array
                                                                                (
                                                                                    [id] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                                    [name] => Casino app server VM
                                                                                    [OSTypeId] => Windows2003
                                                                                    [owner] => 
                                                                                    [groups] => Array
                                                                                        (
                                                                                            [0] => /
                                                                                        )

                                                                                )

                                                                        )

                                                                )

                                                            [success] => 1
                                                            [key] => b4863d2664764dc00ff22c83b2d23842
                                                            [persist] => Array
                                                                (
                                                                    [vboxEventListeners] => Array
                                                                        (
                                                                            [vbox] => Array
                                                                                (
                                                                                    [listener] => 87db3898e018e01d-0000000000004340
                                                                                    [source] => 87db3898e018e01d-000000000000433f
                                                                                )

                                                                        )

                                                                    [vboxHandle] => 87db3898e018e01d-000000000000433e
                                                                )

                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                    [messages] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/ajax.php
                    [line] => 306
                    [function] => getEvents
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [_persist] => Array
                                        (
                                            [vboxEventListeners] => Array
                                                (
                                                    [vbox] => Array
                                                        (
                                                            [listener] => 87db3898e018e01d-0000000000004340
                                                            [source] => 87db3898e018e01d-000000000000433f
                                                        )

                                                )

                                            [vboxHandle] => 87db3898e018e01d-000000000000433e
                                        )

                                    [fn] => getEvents
                                )

                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [data] => Array
                                                (
                                                    [responseData] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [eventType] => OnSessionStateChanged
                                                                    [sourceId] => vbox
                                                                    [dedupId] => vbox-OnSessionStateChanged-f475f541-d8d1-488c-b818-cd1560780d91
                                                                    [machineId] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                    [state] => Locked
                                                                )

                                                            [1] => Array
                                                                (
                                                                    [eventType] => OnMachineStateChanged
                                                                    [sourceId] => vbox
                                                                    [dedupId] => vbox-OnMachineStateChanged-f475f541-d8d1-488c-b818-cd1560780d91
                                                                    [machineId] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                    [state] => PoweredOff
                                                                    [enrichmentData] => Array
                                                                        (
                                                                            [lastStateChange] => 1352463413.919
                                                                            [currentStateModified] => 
                                                                        )

                                                                )

                                                            [2] => Array
                                                                (
                                                                    [eventType] => OnMachineDataChanged
                                                                    [sourceId] => vbox
                                                                    [dedupId] => vbox-OnMachineDataChanged-f475f541-d8d1-488c-b818-cd1560780d91
                                                                    [machineId] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                    [enrichmentData] => Array
                                                                        (
                                                                            [id] => f475f541-d8d1-488c-b818-cd1560780d91
                                                                            [name] => Casino app server VM
                                                                            [OSTypeId] => Windows2003
                                                                            [owner] => 
                                                                            [groups] => Array
                                                                                (
                                                                                    [0] => /
                                                                                )

                                                                        )

                                                                )

                                                        )

                                                    [success] => 1
                                                    [key] => b4863d2664764dc00ff22c83b2d23842
                                                    [persist] => Array
                                                        (
                                                            [vboxEventListeners] => Array
                                                                (
                                                                    [vbox] => Array
                                                                        (
                                                                            [listener] => 87db3898e018e01d-0000000000004340
                                                                            [source] => 87db3898e018e01d-000000000000433f
                                                                        )

                                                                )

                                                            [vboxHandle] => 87db3898e018e01d-000000000000433e
                                                        )

                                                )

                                            [errors] => Array
                                                (
                                                )

                                            [persist] => Array
                                                (
                                                )

                                            [messages] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => VirtualBox error: Invalid managed object reference "87db3898e018e01d-00000000000043ac"
    [faultcode] => SOAP-ENV:Client
    [detail] => stdClass Object
        (
            [InvalidObjectFault] => stdClass Object
                (
                    [badObjectID] => 87db3898e018e01d-00000000000043ac
                )

        )

)

Original issue reported on code.google.com by richard....@gmail.com on 9 Nov 2012 at 12:25

GoogleCodeExporter commented 8 years ago
i had also cleared my cache when retesting this

Original comment by richard....@gmail.com on 9 Nov 2012 at 12:25

GoogleCodeExporter commented 8 years ago

Original comment by imooreya...@gmail.com on 9 Nov 2012 at 12:31

GoogleCodeExporter commented 8 years ago
I have the same error.
phpvirtualbox is running on Debian squeeze (2.6.32-5-amd64) using virtualbox 
4.2.4(81684) with php virtualbox 4.2.4

PHP 5.3.3-7+squeeze14 with Suhosin-Patch
Apache/2.2.16 (Debian)

Original comment by MorF...@gmail.com on 13 Nov 2012 at 5:16

GoogleCodeExporter commented 8 years ago
I have the same issue.
phpvirtualbox 4.2-4 is running on seperate ubuntu 12.04 server and Virtualbox 
4.2.8 is running on several ubuntu 12.04 servers.

Original comment by Magnu...@gmail.com on 15 Apr 2013 at 4:05