| Summary: | NPE in Performance Tests run on N20111105-2000 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Ankur Sharma <ankur_sharma> | ||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | curtis.windatt.public, satyam.kandula | ||||
| Version: | 3.8 | ||||||
| Target Milestone: | 3.8 M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ankur Sharma
I have the fix. Will be attaching the patch shortly Created attachment 206762 [details]
Patch to ix NPE
The suggested fix is not correct. runInWorkspace() specifies that null can be passed in for the progress monitor. Correct fix is to create a nullprogressmonitor if null is passed as an argument. This was fixed when I added the performance tests but got overwritten when the target API changes were merged. I also made a change to the persistence helper to not store the document builder in a static field. The document builder stores way too much information and needs to be GC'd. I am still having memory issues running the tests and will investigate further. Ran the tests with code prior to the target API changes and still have the same memory issues. I will continue to investigate, but this NPE bug can be closed. Verified the performance tests are running correctly |