Con risposta Can't generate Sequence diagram

  • lunedì 19 aprile 2010 15:09
     
     

    Can not generate sequence diagram from code:

    right-click on method, select 'Generate Sequence Diagram' and get error message: Object reference not set to an instance of an object.

    Any idea what could cause it?

    Thanks

    Victor

     

     

Tutte le risposte

  • martedì 20 aprile 2010 09:57
    Moderatore
     
     

    Hello Victor,

    The function works fine in my Visual Studio 2010 Ultimate. So what version and edition IDE are you using? And what do the codes look like? Could you plesae share more information on this so that I can reproduce it in my side?

    Best regards,
    Ji Zhou
    MSDN Subscriber Support in Forum 


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • mercoledì 28 aprile 2010 03:06
    Moderatore
     
     Con risposta

    Any update on this? Does it fail for all languages and all functions? If you create a new project, does it work?

    Try uninstalling any extensions, then run devenv /resetuserdata to reset. If still doesn’t help – attach to VS when the error occurs and check the call stack.

    Best regards,
    Ji Zhou
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • mercoledì 25 agosto 2010 12:53
     
     
    Its not working even in Visual studio 2010 ultimate..... It shows the following error: "VS1716:Cannot generate a sequence diagram due to the following possible reasons:...." Once you click ok.. It wont show GenerateSequenceDiagram once again in the properties, when you right click any method.
  • martedì 10 luglio 2012 13:59
     
     

    I got the same error. one issue could be I have selected the class name in the class declaration for SD generation.

    Now, just selected the constructor (in my case) and tried to generate the Seq Diagram. Its working... :-)


    ram