| Summary: | Unwanted errors appear if the Yocto Project ADT isn’t configured in Preferences | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] Eclipse Plugin | Reporter: | Alexandru Georgescu <alexandru.c.georgescu> | ||||||||
| Component: | eclipse-plugin | Assignee: | Jessica <jessica.zhang> | ||||||||
| Status: | RESOLVED WONTFIX | QA Contact: | Andra Necula <andrax.g.necula> | ||||||||
| Severity: | minor | ||||||||||
| Priority: | Medium | CC: | andrax.g.necula, ioanax.grigoropol, jessica.zhang, yp.ep.watcher, yp.watcher | ||||||||
| Version: | 1.4 | ||||||||||
| Target Milestone: | 1.5.4 | ||||||||||
| Hardware: | x86 | ||||||||||
| OS: | Multiple | ||||||||||
| Whiteboard: | |||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||||||
| Bug Depends on: | 4009 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Alexandru Georgescu
2012-12-05 13:05:21 UTC
Created attachment 971 [details]
err screen shot
Created attachment 1109 [details]
error mesage
Reopening sice the error message still isn't clear.
Please see the new print screen attached
The eclipse-plugin commit id i have retested is: d18c45e0f5367979f7402380ee123242da2b57d5 After further investigation, I have realized that the problem here is the use of ProcessFailureException when we validate the project name. It seems that in the upstream code, even if this error is thrown and shown, after caching it, the process still continues and somehow manages to hit a point where the project configuration is null, showing a second exception. When using a different type of exception, such as OperationCanceledException, only one error message is shown, but whitout offering the possibility to configure the message shown(except for the details). Doesn't reproduce anymore on Juno and Kepler. Created attachment 2095 [details]
outcome error
Verified with eclipse Kepler poky: 52b788c6df9201764130ab744bf67b770b24b896 eclipse-poky-kepler: 4a167fd662262ebdaa3cf0d332ac0debb52d7904 Ubuntu 14.04, x86_64 Cheers! Andra N. This is the best we can achieve to prompt the user with the info on the error by clicking the details due to limitation of underline upstream code |