Object reference not set.. when StartTransaction()

Object reference not set.. when StartTransaction()

alain.holloway
Contributor Contributor
291 Views
2 Replies
Message 1 of 3

Object reference not set.. when StartTransaction()

alain.holloway
Contributor
Contributor

Hi there

 

I'm receiving a NullReferenceException when I am calling StartTrasaction() from the active document database transaction manager.

 

Why?

 

Thank you

 

Using the 2018 ObjectARX in Visual Studio Enterprise 2019 .NET Framework 4.7.2

0 Likes
Accepted solutions (1)
292 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant
Accepted solution

You should show the related code, so that we can see the context this exception occurs (CommandMethod, IExtensionApplication.Initalize, ...)



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

alain.holloway
Contributor
Contributor

Thank you Gile,

 

I've figure out that I already had a opened transaction.

 

 

0 Likes