auto import not working after adding the first one

Using version 11.1.5

This is a really strange problem but really annoying.
The auto add package is not working after i add one successfully. Really Strange.
For example: I have this piece of code
Document doc = dBuilder.parse(is);
NodeList nList = doc.getElementsByTagName("staff");
Document and NodeList do not have the packages added yet and are highlighted red.
I select Document and i am given the option to add the package.
the ide will not prompt me for NodeList. If i close the IDE and reopen the project and select NodeList i will be prompted. So it only works once.

I have Invalidated the caches
i have re-installed

Any ideas?

Please sign in to leave a comment.