Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 498558 - Opening view should logs problems instead of runtime exception
Summary: Opening view should logs problems instead of runtime exception
Status: CLOSED DUPLICATE of bug 488719
Alias: None
Product: Buildship
Classification: Tools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal
Target Milestone: 1.0.19   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: enhancement
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-27 07:00 EDT by EPP Error Reports CLA
Modified: 2016-08-30 11:12 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2016-07-27 07:00:13 EDT
The Eclipse platform sometimes unable to open views. In this case we should not throw exceptions but fail and log the event. 

The following problem was reported via the automated error reporting:

Message: 未処理のイベント・ループ例外
java.lang.RuntimeException: Cannot show view with id org.eclipse.buildship.ui.views.taskview and secondary id null.
    at org.eclipse.buildship.ui.util.workbench.WorkbenchUtils.showView(WorkbenchUtils.java:46)
    at org.eclipse.buildship.ui.wizard.project.ProjectImportWizardController$ImportWizardNewProjectHandler$1.run(ProjectImportWizardController.java:236)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4155)



Bundles:
| org.eclipse.buildship.ui | 1.0.16.v20160615-0737 | 1.0.16.v20160615-0737 |
| org.eclipse.swt | 3.104.1.v20150825-0743 | 3.104.1.v20150825-0743 |

Operating Systems:
| Windows | 6.1.0 | 6.1.0 |


The above information is a snapshot of the collected data. Visit https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/576b9b60e4b0b7376a75e341 for the latest data.

Thank you for your assistance.
 Your friendly error-reports-inbox.


Created on behalf of csdonat@xxxxxx.xxx
Comment 1 Stefan Oehme CLA 2016-08-27 07:09:13 EDT
This is actually very likely to be another duplicate of Bug 488719.

We were swallowing the root cause of the exception, which I fixed.

*** This bug has been marked as a duplicate of bug 488719 ***
Comment 2 Donat Csikos CLA 2016-08-30 11:12:46 EDT
Buildship 1.0.19 is released.