System.NullReferenceException in Microsoft.Ccr.Core.CausalityThreadContext.RequiresDebugBreak RRS feed

  • Question

  • CCR team,

    After upgrading CCR from 2.0.913.0 to we started randomly getting System.NullReferenceException in Microsoft.Ccr.Core.CausalityThreadContext.RequiresDebugBreak()

    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Ccr.Core.CausalityThreadContext.RequiresDebugBreak(CausalityThreadContext context)
       at Microsoft.Ccr.Core.TaskExecutionWorker.ExecuteTaskHelper(ITask currentTask)
       at Microsoft.Ccr.Core.TaskExecutionWorker.ExecuteTask(ITask& currentTask, DispatcherQueue p, Boolean bypassExecute)
       at Microsoft.Ccr.Core.TaskExecutionWorker.ExecutionLoop()

    Quick look into the code using Reflector showed that that RequiresDebugBreak() didn't even exist in the old version so it must be something new introduced in the latest one.

    Do you think we do something wrong and this is why we get the exception or it's a bug in the new version.

    If it's a bug can we get it fixed?










    Tuesday, November 2, 2010 8:08 PM


All replies

  • I remember readin in he forum RequiresDebugBreak should not have been public method. You should have not use this method. Ido
    Thursday, November 4, 2010 4:36 PM
  • I don't use that method directly. CCR throws that exception internally 
    Thursday, November 4, 2010 7:22 PM
  • This is fixed in RDS4
    Tuesday, October 4, 2011 6:45 PM