yck1509 / ConfuserEx

An open-source, free protector for .NET applications
http://yck1509.github.io/ConfuserEx/
Other
3.57k stars 1.64k forks source link

NullException in Renamer #356

Open lafrank opened 9 years ago

lafrank commented 9 years ago

Recently I have bumped into an error when ConfuserEx returns a NullException. Debugging revealed that the exception occurs at multiple places, such as in LdtokenEnumAnalyzer.Analyze method and also in WPFAnalyzer.AnalyzeMethod. Reason is that (IMethod)instr.Operand returns null and the code is not prepared for this.

My c# project is built upon .NET4. I must also say that I have been using ConfuserEx since a year for the same code and up until now it proved to be very realiable and robust. Some later code modification has triggered this error but I just can't find out which one.

Nevertheless, I find ConfuserEx a great tool, thanks for it !

yck1509 commented 8 years ago

Hi, Have you tried the latest builds at CI Server? If the problem remains, can you provide a stack trace?