-
Notifications
You must be signed in to change notification settings - Fork 121
Catch IllegalArgumentException when resolving target definition #2142
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
Conversation
|
See #2141 |
5bab230 to
3c47c01
Compare
laeubi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable to me
3c47c01 to
389fb89
Compare
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
When the target editor is opened, PDE tries to delete the old target handle as part of "Bug 545681 - UI Freeze of >800s in TargetEditor when opening editor". If the profile is not locked (due to whatever reasons), an IllegalArgumentException is thrown, blocking the resolution of this file.
3cb0e67 to
7e5e593
Compare
|
Looks good, only the commit message and PR description seem to have a typo. @ptziegler I think the NOT is incorrect, I did not test but would assume that the exception is thrown if the profile is locked.
|
|
Yes. The problem is that PDE forgot that it had already unlocked the profile in the past. So when trying to unlock this already unlocked profile, the exception occurs. |
|
I suggest to merge this one |
|
It looks fine to me as well. |
|
I'm not a committer. Whoever wants to merge this has to be someone other than me. |

When the target editor is opened, PDE tries to delete the old target handle as part of "Bug 545681 - UI Freeze of >800s in TargetEditor when opening editor".
If the profile is not locked (due to whatever reasons), an IllegalArgumentException is thrown, blocking the resolution of this file.