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

An error occurred while attempting to transform the reflection data to a topic. The error message was: System.NullReferenceException #1055

Open
mgzhenhong opened this issue Apr 26, 2024 · 1 comment

Comments

@mgzhenhong
Copy link

SHFB: Error BE0065: BUILD FAILED: TransformComponent: [Overload:ASW.Utility.ActionResult.WhenSuccessRun] An error occurred while attempting to transform the reflection data to a topic. The error message was: System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderApiTypeMemberLists(TopicTransformationCore transformation)
在 Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderApiMemberList(TopicTransformationCore transformation)
在 Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderTopic()
在 Sandcastle.Tools.BuildComponents.TransformComponent.Apply(XmlDocument document, String key)
在 SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.WriteMessage(String componentName, MessageLevel level, String key, String message) 位置 C:\GH\SHFB\SHFB\Source\SandcastleBuilderUtils\BuildEngine\BuildAssemblerInternal.cs:行号 275
在 Sandcastle.Core.BuildAssembler.BuildComponent.BuildComponentCore.WriteMessage(String key, MessageLevel level, String message, Object[] args) 位置 C:\GH\SHFB\SHFB\Source\SandcastleCore\BuildAssembler\BuildComponent\BuildComponentCore.cs:行号 160
在 Sandcastle.Tools.BuildComponents.TransformComponent.Apply(XmlDocument document, String key)
在 Sandcastle.Tools.BuildComponents.SwitchComponent.Apply(XmlDocument document, String key)
在 SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.Apply(IEnumerable`1 topics) 位置 C:\GH\SHFB\SHFB\Source\SandcastleBuilderUtils\BuildEngine\BuildAssemblerInternal.cs:行号 431
在 SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.<BuildTopics>b__27_0() 位置 C:\GH\SHFB\SHFB\Source\SandcastleBuilderUtils\BuildEngine\BuildAssemblerInternal.cs:行号 339
在 System.Threading.Tasks.Task.Execute()

发生一个或多个错误。
在 System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
在 SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.BuildTopics() 位置 C:\GH\SHFB\SHFB\Source\SandcastleBuilderUtils\BuildEngine\BuildAssemblerInternal.cs:行号 365
在 SandcastleBuilder.Utils.BuildEngine.BuildProcess.Build() 位置 C:\GH\SHFB\SHFB\Source\SandcastleBuilderUtils\BuildEngine\BuildProcess.cs:行号 1272

SHFB Version is 2023.7.8.0

code_capture

@EWSoftware
Copy link
Owner

I can't duplicate this error with the latest release. Can you try it with that? If it still fails, attach an example that I can use to reproduce the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants