HandyOrg / HandyOrg/HandyControl

Dialog 发生错误,在采用MEF模式变成时

Open
#949 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
7.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
在做MEF插件开发时,在插件中使用 Dialog 时系统报错:
System.StackOverflowException
HResult=0x800703E9
Source=<无法计算异常源>
StackTrace:
[<无法计算异常堆栈跟踪>]

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Environment (please complete the following information):

  • .net: [e.g. 4.5.2]
  • IDE [e.g. vs2019]
  • Version [e.g. 3.2.0]

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, complete reproduction steps, or confirmed environment is provided. Start by locating the Dialog control and MEF integration points in the WPF project, then reproduce the StackOverflowException with a minimal plugin setup. Done means the failure is reproducible, its cause is identified, and the fix is covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.