2 Replies Latest reply: Sep 16, 2010 11:42 AM by Martin Gleeson RSS

    Restart QVS service: "System.NullReferenceException: Object reference not set to an instance of an object"

      Hi all,

      I've had a look around and the closest post I can find is this one (which doesn't help much unfortunately):


      Due to resource limitations and user behaviour/expectations we've set up a Windows scheduled task to restart the service every morning. It's a very simple batch file which issues a NET STOP, waits for 5 mins then issues a NET START. When this happens the following event is logged to the Applicaiton Log:

      Event Type: Error
      Event Source: CommandCenterService
      Event Category: None
      Event ID: 0
      Date: 13/09/2010
      Time: 07:02:38
      User: N/A
      System.NullReferenceException: Object reference not set to an instance of an object.
      at QlikView.Backstage.Wrappers.QvsWrapper.CallFunction(String methodname, String iStartElement, String iStartAttribute, IXmlSerializable arguments, IXmlSerializable outpar)
      at QlikView.Backstage.Wrappers.QvsWrapper.GetServerStatus()
      at QVPublisherCommandCenterService.ServiceImpl.DoGetServiceStatuses()

      This is occurring on all our QlikView Server 9.0 SR5 servers including our test server which is a very modest Windows Server 2003 R2 SP2 server with 2 cores and 8Gb RAM. Activity on this server is minimal at present.

      Does anyone know why this error is occuring and/or how to fix it?