keeper013 / CrossCutterN

A light weight tool to inject customized AOP code into existing assemblies using IL weaving
MIT License
79 stars 10 forks source link

Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: nameSpace #8

Closed jiaxiang8756 closed 3 years ago

jiaxiang8756 commented 3 years ago
image

and Reflector msg

image

config:

image image
keeper013 commented 3 years ago

could I confirm with you that you injected a class that is not in any namespace?

jiaxiang8756 commented 3 years ago

impossible

image image

both have namespace....

keeper013 commented 3 years ago

Is it possible for you to send the source code to keeper013@gmail.com for me to reproduce this issue?

jiaxiang8756 commented 3 years ago

OK

keeper013 commented 3 years ago

Hi Jiaxiang, I can't open the URL in your email, could you a zip file of your code to keeper013@gmail.com?

jiaxiang8756 commented 3 years ago

sorry,Gmail doesn't allow some attachments to be uploaded because they don't think they're secure

jiaxiang8756 commented 3 years ago

https://www.dropbox.com/s/0yfaxgyoc1vw0u2/project.zip?dl=0

keeper013 commented 3 years ago

Hi Jiaxiang, there are 2 missing files in the uploaded web app project (Please refer to the attached screenshot). Though I managed to build the dll by excluding them from the project, it seems I can't run the web app without them. Could you provide these files so I can try to reproduce this problem?

Thanks.

missingFiles

if possible, could you also provide the call stack when the exception happens? According to the reflector message the nameSpace parameter has been passed the value "WebApplication1", so I doubt if the exception comes from GetUserById method.

keeper013 commented 3 years ago

Got no following up from the issue submitter