Summary: | NPE in Link handlers | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> | ||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Lars.Vogel, ma.becker, marcus.hoepfner, michael.keppler | ||||
Version: | 4.14 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Lars Vogel
2019-10-28 04:44:42 EDT
Created attachment 280441 [details]
Screenshot
Platform.getProduct().getName() throws that NPE, since you are not running a product. I don't use Linux, therefore I cannot say whether the .desktop file really needs that name. If so, the default constructor needs to be changed to handle the null product and to use a fixed value like "Eclipse" in that case. (In reply to Michael Keppler from comment #2) > Platform.getProduct().getName() throws that NPE, since you are not running a > product. I don't use Linux, therefore I cannot say whether the .desktop file > really needs that name. If so, the default constructor needs to be changed > to handle the null product and to use a fixed value like "Eclipse" in that > case. Michael, thanks for the analysis. Would you like to provide a gerrit? |