Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException on build #196

Open
picrap opened this issue Jun 2, 2023 · 0 comments
Open

NullReferenceException on build #196

picrap opened this issue Jun 2, 2023 · 0 comments
Labels

Comments

@picrap
Copy link
Member

picrap commented Jun 2, 2023

10>""C:\Users\Pascal\.nuget\packages\versionstitcher\1.1.11\build\..\tools\net6.0\VersionStitcher.exe"" AssemblyPath="obj\Debug\net6.0\ArxOne.Server.Core.dll" AssemblyOriginatorKeyFile="..\ArxOne.Backup.Core\ArxOne.snk" SignAssembly="false"
10>dotnet "C:\Users\Pascal\.nuget\packages\mradvice\2.12.2\build\..\tools\net6.0/MrAdvice.Weaver.dll" AssemblyPath="obj\Debug\net6.0\ArxOne.Server.Core.dll" ReferencePath="@obj\Debug\net6.0\ArxOne.Server.Core.dll.MrAdvice.ReferencePath.txt" ReferenceCopyLocalPaths="@obj\Debug\net6.0\ArxOne.Server.Core.dll.MrAdvice.LocalReferencePath.txt" AssemblyOriginatorKeyFile="..\ArxOne.Backup.Core\ArxOne.snk" SignAssembly="false"
10>* Internal error during Types weaving advice: System.NullReferenceException: Object reference not set to an instance of an object.
10>   at ArxOne.MrAdvice.Utility.TypeDefinitionExtensions.GetAllInterfacesRaw(TypeDef typeDefinition, TypeResolver typeResolver) in C:\projects\mradvice\MrAdvice.Weaver\Utility\TypeDefinitionExtensions.cs:line 77
10>   at ArxOne.MrAdvice.Utility.TypeDefinitionExtensions.GetAllInterfacesRaw(TypeDef typeDefinition, TypeResolver typeResolver) in C:\projects\mradvice\MrAdvice.Weaver\Utility\TypeDefinitionExtensions.cs:line 83
10>   at ArxOne.MrAdvice.Utility.TypeDefinitionExtensions.GetAllInterfaces(TypeDef typeDefinition, TypeResolver typeResolver) in C:\projects\mradvice\MrAdvice.Weaver\Utility\TypeDefinitionExtensions.cs:line 72
10>   at ArxOne.MrAdvice.Utility.TypeDefinitionExtensions.FindMethodCheckBaseTypeAndInterfaces(TypeDef typeDefinition, MethodInfo methodInfo, TypeResolver typeResolver) in C:\projects\mradvice\MrAdvice.Weaver\Utility\TypeDefinitionExtensions.cs:line 210
10>   at ArxOne.MrAdvice.Weaver.TypeWeaver.After(MethodInfo methodInfo, Delegate advice, WeaverAddFlags flags) in C:\projects\mradvice\MrAdvice.Weaver\Weaver\TypeWeaver.cs:line 95
10>   at ArxOne.Aspect.LightDispose.Advise(WeavingContext context)
10>   at ArxOne.MrAdvice.Weaver.AspectWeaver.RunTypesWeavingAdvices(MarkedNode markedType, WeavingContext context) in C:\projects\mradvice\MrAdvice.Weaver\Weaver\AspectWeaver.Weave.cs:line 325
10>   at ArxOne.MrAdvice.Weaver.AspectWeaver.<>c__DisplayClass16_1.<Weave>b__2(MarkedNode t) in C:\projects\mradvice\MrAdvice.Weaver\Weaver\AspectWeaver.cs:line 84
10>   at ArxOne.MrAdvice.Utility.EnumerableExtensions.ForAll[TItem](IEnumerable`1 enumerable, Action`1 action) in C:\projects\mradvice\MrAdvice.Weaver\Utility\EnumerableExtensions.cs:line 46
10>   at ArxOne.MrAdvice.Weaver.AspectWeaver.Weave(ModuleDefMD moduleDefinition) in C:\projects\mradvice\MrAdvice.Weaver\Weaver\AspectWeaver.cs:line 84
10>* Please complain, whine, cry, yell at https://github.com/ArxOne/MrAdvice/issues/new
@picrap picrap added the bug label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant