| Summary: | [registry] NPE on startup | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Pascal Rapicault <pascal> | ||||
| Component: | p2 | Assignee: | DJ Houghton <dj.houghton> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, david_williams, overholt, pascal, thomas | ||||
| Version: | 3.7 | Flags: | dj.houghton:
review?
(pascal) |
||||
| Target Milestone: | 3.7 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 336435 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Pascal Rapicault
The log for the NPE is attached: https://bugs.eclipse.org/bugs/attachment.cgi?id=188393 Not sure if it is related to installing everything. These are NPEs in the profile registry when we are trying to restore it. They are coming from calling File#listFiles and getting back null. This can happen when the receiver is not a directory or if an NPE happens when we are making the call. I will add code to protect against the NPE and try and track down how we can get in this state but at first glance I don't see it, assuming we are dealing with a single thread and people aren't changing the file-system from under us. *** Bug 336837 has been marked as a duplicate of this bug. *** Created attachment 195141 [details]
patch
Patch released. |