Bug 1250669 - Upgraded globaldb to 5.4 error when selecting VM's Error caught: [NoMethodError] undefined method `base_class' for NilClass:Class
Summary: Upgraded globaldb to 5.4 error when selecting VM's Error caught: [NoMethodErr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Gregg Tanzillo
QA Contact: Jan Krocil
URL:
Whiteboard:
: 1331034 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 18:01 UTC by Jared Deubel
Modified: 2019-09-12 08:43 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-24 14:23:55 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jared Deubel 2015-08-05 18:01:03 UTC
Description of problem:

In preparation for upgrading to CF 5.4, upgraded our Global DB. All appears to be functioning correctly, but when I go to infrastructure -> Virtual machines. I get the following error: 

 Error text:
======================================================================
undefined method `base_class' for NilClass:Class [vm_infra/explorer]

Hide Section - Tags
======================================================================

[----] I, [2015-08-04T15:09:29.723027 #2591:d01eac]  INFO -- : Started GET "/vm_infra/explorer" for 152.144.161.11 at 2015-08-04 15:09:29 +0100
[----] I, [2015-08-04T15:09:29.734489 #2591:d01eac]  INFO -- : Processing by VmInfraController#explorer as HTML
[----] F, [2015-08-04T15:09:41.128655 #2591:d01eac] FATAL -- : Error caught: [NoMethodError] undefined method `base_class' for NilClass:Class
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:100:in `block in sort_tree'
/var/www/miq/lib/util/extensions/miq-hash.rb:14:in `each'
/var/www/miq/lib/util/extensions/miq-hash.rb:14:in `sort_by'
/var/www/miq/lib/util/extensions/miq-hash.rb:14:in `sort_by!'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:98:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:95:in `block in sort_tree'
/var/www/miq/vmdb/app/presenters/tree_builder_vms_and_templates.rb:94:in `each



Version-Release number of selected component (if applicable):
5.4.1.0

How reproducible:


Steps to Reproduce:
1. Select Infra-> Virtual Machines
2. 
3.

Actual results:
Get unexpected error

Expected results:
Navigate to VM screen without any problems

Additional info:

Comment 11 Josh Carter 2016-06-21 17:23:47 UTC
*** Bug 1331034 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.