AnsweredAssumed Answered

ArcMap crashing Caused By Add-In

Question asked by shaningesri on May 12, 2017
Latest reply on May 19, 2017 by shaningesri

I developed an Add-In in VS2012 on my development environment.  But when I deployed on other CPU's, the Add-In causes ArcMap crashing.  The exception received shows that

System.NullReferenceException: Object reference not set to an instance of an object at ... Line 76

Line 76:      m_mxDoc = (IMxDocument)m_app.Document;   

                   // where the IApplication m_app is null;

What's the possible solution for solving this problem?  Thanks.

Outcomes