| Summary: | BrowserFormPage.getBrowser throws NPE if not yet initialized | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||||
| Component: | Mylyn | Assignee: | Thomas Ehrnhoefer <thomas.ehrnhoefer> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | steffen.pingel | ||||||
| Version: | unspecified | Keywords: | contributed | ||||||
| Target Milestone: | 3.6.4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Ehrnhoefer
pushed a patch to gerrit, but build fails, not sure, but it's such a simple fix, I don't want to waste time investigating. Surely my change doesn't break the build, but me using git/gerrit wrong.
The proposed change is:
bc.. public Browser getBrowser() {
if (browserViewer == null) {
return null;
}
return browserViewer.getBrowser();
}
Thanks. Can you please attach a patch with your fix? Didn't you approve the review and merged the changes already? http://review.mylyn.org/#change,95 Why a patch? The Mylyn Gerrit instance is not part of Eclipse.org. I have updated the contributors guide to explain why we still need patches in order to accept contributions in accordance with the Eclipse development process: http://wiki.eclipse.org/Mylyn/Contributor_Reference#Merging_Contributions . For simple changes you can always directly attach a patch without creating a code review if you prefer that. Would you be able to attach your changes as a patch? Created attachment 206498 [details]
patchv1
Created attachment 206499 [details]
mylyn/context/zip
Great! Thanks. I have applied the patch to the e_3_7_m_3_6_x branch and master. |