Help with JIT error

Help with JIT error

Ed__Jobe
Mentor Mentor
731 Views
6 Replies
Message 1 of 7

Help with JIT error

Ed__Jobe
Mentor
Mentor

Hi, just recently my AutoCAD has started giving runtime errors. The text is below. If you hit Continue on the dialog, it always shows the error one more time. You can still use acad, but you never know when it will throw an error again. Mostly it happens if I'm not using acad and I activate it again.

Application does not support just-in-time (JIT)
debugging. See the end of this message for details.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Autodesk.AutoCAD.Windows.AcMgPaletteSet.ThemeModified(AcMgPaletteSet* , AdUiThemeElement element)

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
732 Views
6 Replies
Replies (6)
Message 2 of 7

kerry_w_brown
Advisor
Advisor

Can we assume that error is from an AutoDesk assembly Ed ??  not one of yours ?

There is a lot of 'unsafe' code in the PaletteSet it seems.


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 3 of 7

daniel_cadext
Advisor
Advisor

I didn’t see anything related to CAdUiThemeModifiedReactor::ThemeModified exposed to .NET.

I could be wrong though. If I had to guess, there’s a managed palette that's dangling.

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 4 of 7

Ed__Jobe
Mentor
Mentor

@kerry_w_brown wrote:

Can we assume that error is from an AutoDesk assembly Ed ??  not one of yours ?

There is a lot of 'unsafe' code in the PaletteSet it seems.


Yes, it must be something from adesk. I don't do anything with palettes.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 5 of 7

Ed__Jobe
Mentor
Mentor

@daniel_cadext wrote:

I didn’t see anything related to CAdUiThemeModifiedReactor::ThemeModified exposed to .NET.

I could be wrong though. If I had to guess, there’s a managed palette that's dangling.


Thanks for checking Daniel. I did a web search yesterday and didn't find anything either. I guess I'll just have to put in a tech support call.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 6 of 7

daniel_cadext
Advisor
Advisor

Id try creating a new profile

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes
Message 7 of 7

Ed__Jobe
Mentor
Mentor

Thx, I'll keep that in mind.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes