• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    18
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wayne WorkmanW
      Wayne Workman @chaonatic
      last edited by

      @chaonatic Was this image created in a VM? Also, I’ll get some SQL to you sometime this evening that should list all the MAC addresses associated with one of these hosts - that should give light on what the issue is.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      C 1 Reply Last reply Reply Quote 0
      • C
        chaonatic @Wayne Workman
        last edited by

        @wayne-workman Yeah, the master image is a VM.

        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman @chaonatic
          last edited by

          @chaonatic said in Fog Client 0.11.15 ERROR: Object reference not set to an instance of an object.:

          Yeah, the master image is a VM.

          OK. This is a typical problem with images created from VMs. usually there’s a MAC address in the VM that gets captured with the image - you have to find that MAC address and put it into FOG’s MAC exception list. On windows, you can get all mac addresses via the command prompt with getmac. The exception list is somewhere in the FOG Settings area, I don’t remember exactly where.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          C 1 Reply Last reply Reply Quote 0
          • C
            chaonatic @Wayne Workman
            last edited by

            @wayne-workman I found an exception list in the “FOG Client - Host Register” --> “QUICKREG PENDING MAC FILTER”, though this doesn’t seem like the one you’re referring to… I’ll keep looking if this is incorrect, just lemme know.

            1 Reply Last reply Reply Quote 0
            • J
              Joe Schmitt Senior Developer
              last edited by Joe Schmitt

              @chaonatic the simplest way to find the duplicate mac is to open a sql prompt on your FOG server;

              Run: mysql -u root -p, and enter your sql root password.

              Then run the following commands (replacing the list of macs with the ones the client is using):

              use fog;
              SELECT * FROM hostMAC WHERE hmMAC IN ('00:01:00:00:00:66', '00:01:00:00:00:67');
              exit;
              

              Ideally each mac address should only appear once in the hmMAC result column. If there is one that appears multiple times, that is the culprit.

              In general though, these kinds of errors are usually caused by virtual network adapters in your image.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              C 1 Reply Last reply Reply Quote 1
              • C
                chaonatic @Joe Schmitt
                last edited by

                @joe-schmitt I ran that command. Both of our gold image VM MAC addresses is only listed once in the resulting table. What should I try next?

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer
                  last edited by Joe Schmitt

                  @chaonatic okay, so that points to the virtual network adapter theory. Does your VM have any software-defined adapters that would be copied during imaging? Such as for a VPN, VirtualBox, or some other tunnel?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  C 1 Reply Last reply Reply Quote 1
                  • Wayne WorkmanW
                    Wayne Workman @chaonatic
                    last edited by

                    @chaonatic Use the getmac command on Windows.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • C
                      chaonatic @Joe Schmitt
                      last edited by

                      @joe-schmitt No, I just looked and there are no virtual NIC’s that I can see. Our VPN is only installed after the image rollout via a snapin.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Schmitt Senior Developer
                        last edited by Joe Schmitt

                        I remoted in and helped identify the problematic adapter.

                        I’m currently working on a way for the client to automatically filter out virtual interfaces to help prevent these kinds of issues in the future.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post

                        217

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project