Security Developer Center > Security Forums > CAT.NET > Key cannot be null error
Ask a questionAsk a question
 

QuestionKey cannot be null error

  • Wednesday, September 30, 2009 1:41 PMKevinEarley Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    When trying to run cat.net against any of our main projects, I get a key cannot be null error.  It seems to work with are utility programs.  I am not sure wether it is project size or has something to do with having multiple projects in the solution that reference each other, or code that is common in all our projects.  Does anybody have any ideas?  Thanks.


    C:\Program Files\Microsoft\CAT.NET>catnetcmd /file:c:\soskbsource\nc_branch\proj
    ects\soskb.main\bin\soskb.main.exe
    Microsoft (R) Code Analysis Tool for .NET (CAT.NET) Version 1.1.1.9
    Copyright (C) Microsoft Corporation.  All rights reserved.

    Running in 32-bit mode

    9/30/2009 9:36:57 AM:Info : Starting analysis [1 modules]
    9/30/2009 9:36:57 AM:Info : Analyzing module Soskb.Main...
    Key cannot be null.
    Parameter name: key

All Replies

  • Sunday, October 18, 2009 5:18 PMTrevor S. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am also getting this error on an ASP.NET application, but only after I had made countless changes (IOW, it worked, then it stopped working) so I wouldn't be able to track it down to a particular change.
    http://sharepoint.nauplius.net