| Summary: | NPE in thread "Decay Ant Data Structures" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | Ant | Assignee: | Michael Rennie <Michael_Rennie> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Michael_Rennie, Olivier_Thomann | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.7 M6 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
Steps:
1. open the following build file
<?xml version="1.0" encoding="UTF-8"?>
<project name="project" default="default">
<target name="default" description="description">
<property name="xml" value="C:\use\xml/"/>
<apitooling.apiuse
report="${xml}"
scopepattern=".*"
considerapi="true"
location="C:\eclipse\eclipse\"
apipatterns=".*"
internalpatterns=".*"
debug="true"
/>
</target>
</project>
2. activate content assist immediately following apitooling in the <apitooling.apiuse line
3. close the build file and wait a minute or so
4. reopen the build file
5. close it again and wait about a minute - NPE
The problem is that we dispose held proposal infos after the last build file editor has been closed + a delay. It can happen that the proposal infos were not populated again after the editor was reopened even though the proposal computer is active - we do this intentionally to avoid reading a large XML unless we have to.
Created attachment 189116 [details]
fix
patch checks if the description provider has been initialized prior to trying to reset it - a null check.
applied to HEAD *** Bug 338037 has been marked as a duplicate of this bug. *** |