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

    Fog client 0.10.6 error "Object Reference not set to an instance of an object"

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    14
    5.7k
    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.
    • I
      ITCC
      last edited by

      I’m on 7601 and have the same issue, only just updated from 7561, was fine before. I am pushing a new image.

      1 Reply Last reply Reply Quote 0
      • fry_pF
        fry_p Moderator @Tom Elliott
        last edited by fry_p

        @Tom-Elliott I am now on 7605 and it appears to be doing the same thing:

        ------------------------------------------------------------------------------
        ---------------------------------SnapinClient---------------------------------
        ------------------------------------------------------------------------------
         5/13/2016 7:53 AM Client-Info Client Version: 0.10.6
         5/13/2016 7:53 AM Client-Info Client OS:      Windows
         5/13/2016 7:53 AM Client-Info Server Version: 7605
         5/13/2016 7:53 AM Middleware::Response ERROR: Unable to get subsection
         5/13/2016 7:53 AM Middleware::Response ERROR: Object reference not set to an instance of an object.
         5/13/2016 7:53 AM Service ERROR: Unable to run module
         5/13/2016 7:53 AM Service ERROR: Object reference not set to an instance of an object.
        

        EDIT: now the Apache logs say line 7 FYI

        Like open source community computing? Why not do it for a good cause?
        Use your computer/server for humanitarian projects when it is idle!
        https://join.worldcommunitygrid.org?recruiterId=1026912

        1 Reply Last reply Reply Quote 0
        • fry_pF
          fry_p Moderator @Tom Elliott
          last edited by

          @Tom-Elliott new Apache error in log:

          Fri May 13 08:00:25.107051 2016] [:error] [pid 17793] [client 10.1.106.146:49243] PHP Fatal error:  Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
          

          Like open source community computing? Why not do it for a good cause?
          Use your computer/server for humanitarian projects when it is idle!
          https://join.worldcommunitygrid.org?recruiterId=1026912

          1 Reply Last reply Reply Quote 0
          • I
            ITCC
            last edited by

            just rolled back to 7561, all working again.

            1 Reply Last reply Reply Quote 0
            • fry_pF
              fry_p Moderator @Tom Elliott
              last edited by

              @Tom-Elliott I’m not helping by posting snippets of the apache log. Want the full one? I’m noticing errors on different lines now.
              0_1463141143175_error.log

              Like open source community computing? Why not do it for a good cause?
              Use your computer/server for humanitarian projects when it is idle!
              https://join.worldcommunitygrid.org?recruiterId=1026912

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @fry_p
                last edited by

                @fry_p Printer Client message should be fixed.

                With any luck the db lost issue should be corrected for again. Please try and thank you for the info so far.

                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.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                fry_pF 1 Reply Last reply Reply Quote 0
                • fry_pF
                  fry_p Moderator @Tom Elliott
                  last edited by

                  @Tom-Elliott On 7609, the client is back to normal. In fact, my snapin fired off too! Thank you my friend!

                  Like open source community computing? Why not do it for a good cause?
                  Use your computer/server for humanitarian projects when it is idle!
                  https://join.worldcommunitygrid.org?recruiterId=1026912

                  1 Reply Last reply Reply Quote 0
                  • x23piracyX
                    x23piracy
                    last edited by

                    Hi,

                    with latest trunk (about 1 hour ago 7645) i also receive: Object Reference not set to an instance of an object
                    for printer section, (client 10.6) i have two printer active for installing but the log only shows:


                    --------------------------------PrinterManager--------------------------------

                    16.05.2016 11:47 Client-Info Client Version: 0.10.6
                    16.05.2016 11:47 Client-Info Client OS: Windows
                    16.05.2016 11:47 Client-Info Server Version: 7645
                    16.05.2016 11:47 Middleware::Response No Printers
                    16.05.2016 11:47 Service ERROR: Unable to run module
                    16.05.2016 11:47 Service ERROR: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

                    Regards X23

                    ║▌║█║▌│║▌║▌█

                    1 Reply Last reply Reply Quote 0
                    • x23piracyX
                      x23piracy
                      last edited by

                      Solved for me:
                      https://forums.fogproject.org/topic/7441/fog-7645-and-client-10-6-printers-and-snapins-not-working/7

                      ║▌║█║▌│║▌║▌█

                      1 Reply Last reply Reply Quote 1
                      • A
                        antoniosarco @fry_p
                        last edited by

                        The message “Object not set to instance of Object” means that you are trying to use an object which has not been initialized. That is, you either set it to null, or you never set it to anything at all. The runtime throwing a NullReferenceException always means the same thing: you are trying to use a reference. The reference is not initialized (or it was initialized, but is no longer initialized).

                        Antonio

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

                        242

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project