Uploaded image for project: 'Development'
  1. Development
  2. DEV-6841

Setting background image to NULL in SY_File will cause an error on login : "Object reference not set to an instance of an object"Object reference not set to an instance of an object"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Backlog
    • Resolution: Done
    • Affects Version/s: 07.02.00.00
    • Fix Version/s: 07.02.02.00
    • Component/s: General
    • Labels:
      None

      Description

      Setting background image to NULL in SY_File will cause an error on login : "Object reference not set to an instance of an object"Object reference not set to an instance of an object".

      Steps to reproduce:

      • Open System configuration form, System tab - check "UseBackgroundPicture" setting.
      • Save and logout
      • Run the following script to set the image to NULL :
        UPDATE SY_File SET FileBinary = NULL WHERE FileID = (SELECT TOP 1 Contents FROM SY_SysValues WHERE IDKey = 'BackgroundPicture' AND Section = 'System')
        

      The error will then occur on login.

      Note that scripts often used to remove all attachments / documents from databases will cause this issue also.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikes@jiwa.com.au Mike Sheen
                Reporter:
                mikes@jiwa.com.au Mike Sheen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: