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

Standalone GUI hangs #985

Closed
AndreasHoltmann opened this issue Apr 14, 2023 · 9 comments
Closed

Standalone GUI hangs #985

AndreasHoltmann opened this issue Apr 14, 2023 · 9 comments

Comments

@AndreasHoltmann
Copy link

Hello,

after upgrading to the newest version 2023.3.4.0 the problems with Enums seem to have gone; now I am facing a different problem: The GUI hangs for about three minutes, and then gives me this error message:

SHFB: Error BE0065: BUILD FAILED: TransformComponent: [M:msclr.lock.op_Implicit~System.String] An error occurred while attempting to transform the reflection data to a topic. The error message was: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Sandcastle.Core.PresentationStyle.Transformation.TopicTransformationCore.ApiTopicOperatorTypes(Boolean plainText)
bei Sandcastle.Core.PresentationStyle.Transformation.TopicTransformationCore.ApiTopicTitle(Boolean qualifyMembers, Boolean plainText)
bei Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderHeaderMetadata()
bei Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderTopic()
bei Sandcastle.Tools.BuildComponents.TransformComponent.Apply(XmlDocument document, String key)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.WriteMessage(String componentName, MessageLevel level, String key, String message)
bei Sandcastle.Core.BuildAssembler.BuildComponent.BuildComponentCore.WriteMessage(String key, MessageLevel level, String message, Object[] args)
bei Sandcastle.Tools.BuildComponents.TransformComponent.Apply(XmlDocument document, String key)
bei Sandcastle.Tools.BuildComponents.SwitchComponent.Apply(XmlDocument document, String key)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.Apply(IEnumerable`1 topics)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.b__27_0()
bei System.Threading.Tasks.Task.Execute()

Mindestens ein Fehler ist aufgetreten.
bei System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.BuildTopics()
bei SandcastleBuilder.Utils.BuildEngine.BuildProcess.Build()

TransformComponent: [M:msclr.lock.op_Implicit~System.String] An error occurred while attempting to transform the reflection data to a topic. The error message was: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Sandcastle.Core.PresentationStyle.Transformation.TopicTransformationCore.ApiTopicOperatorTypes(Boolean plainText)
bei Sandcastle.Core.PresentationStyle.Transformation.TopicTransformationCore.ApiTopicTitle(Boolean qualifyMembers, Boolean plainText)
bei Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderHeaderMetadata()
bei Sandcastle.PresentationStyles.VS2013.VisualStudio2013Transformation.RenderTopic()
bei Sandcastle.Tools.BuildComponents.TransformComponent.Apply(XmlDocument document, String key)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.WriteMessage(String componentName, MessageLevel level, String key, String message)
bei Sandcastle.Core.BuildAssembler.BuildComponent.BuildComponentCore.WriteMessage(String key, MessageLevel level, String message, Object[] args)
bei Sandcastle.Tools.BuildComponents.TransformComponent.Apply(XmlDocument document, String key)
bei Sandcastle.Tools.BuildComponents.SwitchComponent.Apply(XmlDocument document, String key)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.Apply(IEnumerable`1 topics)
bei SandcastleBuilder.Utils.BuildEngine.BuildAssemblerInternal.b__27_0()
bei System.Threading.Tasks.Task.Execute()

VS is Visual Studio 2019 Enterprise Edition. Any clue?

@EWSoftware
Copy link
Owner

Can you provide an example that hangs so I can duplicate the issue?

@AndreasHoltmann
Copy link
Author

AndreasHoltmann commented Apr 16, 2023 via email

@EWSoftware
Copy link
Owner

It's failing to transform an operator for some reason (M:msclr.lock.op_Implicit~System.String] ). Can you isolate that into an example that duplicates the issue? I don't need the code in the methods, just the signature that matches the failing code.

@AndreasHoltmann
Copy link
Author

AndreasHoltmann commented Apr 18, 2023 via email

@EWSoftware
Copy link
Owner

No, what I need is the operator I indicated above (msclr.lock.op_Implicit~System.String). I don't need the code within the method body, just the method declaration to compile it and run it with SHFB to duplicate the error to see what's unique about it that causes the error.

@AndreasHoltmann
Copy link
Author

AndreasHoltmann commented Apr 20, 2023 via email

@AndreasHoltmann
Copy link
Author

AndreasHoltmann commented Apr 21, 2023 via email

@EWSoftware
Copy link
Owner

I've made changes to try and fix the issue for the next release. Whether it does or not is hard to say without an example. This is an odd case since it shouldn't be possible to have an implicit conversion operator without a parameter.

@AndreasHoltmann
Copy link
Author

AndreasHoltmann commented May 2, 2023 via email

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