Skip to content
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

Null Reference Exception when trying to import disk image #123

Closed
devscott opened this issue Dec 14, 2018 · 1 comment
Closed

Null Reference Exception when trying to import disk image #123

devscott opened this issue Dec 14, 2018 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@devscott
Copy link

Describe the bug
NullReferenceException while importing OVF file in XCP-NG Center 7.6.1.16

To Reproduce
Use the import wizard to try an import a ova file that was created from virtualbox

Log output:
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - Version: 7.6.1.16
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - .NET runtime version: 4.0.30319.42000
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - OS version: Microsoft Windows NT 10.0.17134.0
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - UI Culture: English (United States)
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - Bitness: 64-bit
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - Log Application State
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - ExitCode: 0
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - Time since process started: 00:01:06.8886947
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - Handles open: 1324
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - USER handles open: 442
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - GDI handles open: 169
2018-12-11 22:18:04,697 INFO XenAdmin.Program [Main program thread] - Thread count: 47
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Virtual memory size: 39748177920 B(37 GB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Working set: 176619520 B(168 MB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Private memory size: 109871104 B(105 MB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Nonpaged system memory size: 94640 B(92 kB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Paged memory size: 109871104 B(105 MB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Paged system memory size: 1031104 B(1007 kB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Peak paged memory size: 115085312 B(110 MB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Peak virtual memory size: 39764881408 B(37 GB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Peak working set: 180789248 B(172 MB)
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Process priority class: Normal
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Privileged processor time: 00:00:05.3750000
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - Total processor time: 00:00:15.8593750
2018-12-11 22:18:04,712 INFO XenAdmin.Program [Main program thread] - User processor time: 00:00:10.4843750
2018-12-11 22:20:03,553 INFO XenOvf.OVF [Main program thread] - Import.Process: Found an Unknown Virtual Hardware Section (Rating: 5) [virtualbox-2.2]
2018-12-11 22:20:03,553 INFO XenOvf.OVF [Main program thread] - Import.Process: Results may vary depending on hard disk image format.
2018-12-11 22:20:04,538 FATAL XenAdmin.Program [Main program thread] - Uncaught exception
System.NullReferenceException: Object reference not set to an instance of an object.
at XenAdmin.Wizards.ImportWizard.OvfStorageResource.get_RequiredDiskCapacity()
at XenAdmin.Wizards.GenericPages.SelectVMStorageWithMultipleVirtualDisksPage.PopulateSrComboBox(List`1 commonSRs)
at XenAdmin.Wizards.GenericPages.SelectVMStorageWithMultipleVirtualDisksPage.PopulatePage()
at XenAdmin.Controls.XenTabPage.PageLoaded(PageLoadedDirection direction)
at XenAdmin.Wizards.XenWizardBase.WizardProgress_EnteringStep(Object sender, WizardProgressEventArgs e)
at XenAdmin.Wizards.WizardProgress.OnEnteringStep(Boolean isForwardsTransition)
at XenAdmin.Wizards.WizardProgress.NextStep()
at XenAdmin.Wizards.XenWizardBase.buttonNext_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@borzel borzel added not reproduced bug Something isn't working in progress 🏃‍♂️ Someone is working on that and removed not reproduced labels Dec 21, 2018
@borzel borzel self-assigned this Dec 25, 2018
@borzel borzel added this to the 7.6.2 milestone Dec 25, 2018
@borzel borzel added reported to upstream and removed in progress 🏃‍♂️ Someone is working on that labels Dec 25, 2018
@borzel borzel closed this as completed Dec 25, 2018
@borzel
Copy link
Member

borzel commented Dec 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants