Red Hat Bugzilla – Bug 173297
Ant Editor code assist throws NullPointerException
Last modified: 2007-11-30 17:11:17 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
When I press Ctrl+Space to auto-complete an Ant build.xml file, whether the file is empty or has some tags already in, I get the following error message:
"Content Assist" did not complete normally. Please see the log for more information.
Clicking on Details just repeat 'java.lang.NullPointerException in the details window.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Eclipse
2. Create a new file inside a project, call it build.xml
3. Open build.xml using the Ant Editor
Actual Results: NullPointerException thrown
Expected Results: Code-assist should either drop down a list of suggestions or auto-complete, based on the content of the file at the moment
I can duplicate this with or without org.eclipse.ant.ui_3.1.1.jar.db so I guess
it's a library issue. I will investigate.
Created attachment 121456 [details]
relevant stack trace snippet
Here's a snippet of <workspace>/.metadata/.log with the relevant information.
This is fixed in Rawhide.