UPDATE: Error message: The object reference is not set to an instance of an object.

If you see the following error message in Clickker, it is related to a bug in IIS (Internet Information Services):

Object reference not set to an instance of an object. [TypeInitializationException: The type initializer for '' threw an exception]. Clickker.API.MvcApplication.Application_Start() +0

Solution:

Restart the Clickker website within the IIS or restart the IIS in its entirety.

  • Via Start - Run, type in "inetmgr" followed by
  • Unfold "Sites" in left-hand section
  • Right-click on the Clickker website
  • Choose "Manage website"
  • Choose "Restart"
  • Should this not lead to a solution, the entire IIS should be rebooted
  • To do so, in left-hand section, click on most high level (the name of the server) and;
  • Click on right mouse button and choose "Stop" and then start or click on "Restart" on the far right under "Actions".

Clickker will do it again now!

Prevent the issue by the following action

This issue can sometimes occur regularly. To prevent this, you can perform the action below to prevent automatic restarts which may be the cause.

  • Via Start - Run, type in "inetmgr" followed by
  • Click on "Application groups" in left-hand section
  • This will include an application group "Clickker" or something similar
  • Right-click on this and choose "Advanced Settings"
  • Scroll down to "regular time interval" and set it to 0 if it is not already there
  • Down there under "Specific times", click TimeSpan[]-matrix at the back of that line and a button with the 3 dots will appear at the back of it
  • Make sure everything here is removed in terms of times as shown below.
image -

The error message is related to an issue with Microsoft .NET 4.7 for which new updates are also no longer appearing. Both Exact Globe and Clickker use .NET 4.7. You could update these to .NET 4.7.2 (this is the very latest version included in .NET 4.8).

Should the issue occur frequently, you can also consider:

  • Perform a restart of the IIS via a scheduled task (iisreset.exe)
  • Perform a restart of the Clickker website via a scheduled task:

    Verify the name of the website:
    For 32-bit OS: %windir%windir site
    For 64-bit OS: %windir%syswow64appcmd list site

    In scheduled task stop and then start again:
    %windir%yswow64appcmd stop site /site.name: "Clickker website" (sytem32 in case of 32-bit)
    %windir%yswow64appcmd stop site /site.name: "Clickker website" (sytem32 in case of 32-bit)

en_GBEnglish (UK)