-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java autocomplete throws NullPointerException
in Eclipse EE 2023-06 RC1
#813
Comments
Looks like the complete stack is missing. Can you please share it if possible? |
Yeah, sorry; not sure what happened. I pasted the stack trace and then suddenly it disappeared and the issue was posted. Must be some secret accelerator key for the "Submit new issue" button I don't know about. Anyway I updated the ticket. Hope it's helpful. |
Did it happen just once or is it something that happens repeatedly? |
This particular thing happened only once. This is a multi-project POM. I did the following:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.globalmentor</groupId>
<artifactId>globalmentor-web-bom</artifactId>
<version>0.7.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependencies>
<dependency>
<groupId>com.globalmentor</groupId>
<artifactId>globalmentor-xml-def</artifactId>
</dependency>
import com.globalmentor.xml.def.XML; I may have typed That's about all the information I have. I understand that it may have to do with the specifics of my large workspace and decades of Eclipse workspace evolution, so it may be hard to reproduce on your end. However with the stack trace, at least you can put more preconditions up the chain so that in the future if |
Note that this morning my error log is full of various things, including multiple "Could not get hover information due to timeout after 1000 miliseconds" (yes, it is misspelled in the log) and "Could not get hover region due to timeout after 1000 miliseconds", both from |
Why is this Bug reported on platform when the NPE happens in JDT UI? |
I'm using Eclipse EE 2023-06 RC1 on Windows 10.
I added a library to Maven POM
<dependencies>
and tried to do aCtrl+Space
autocomplete on a static field of an imported class. The platform threw aNullPointerException
:Unfortunately I don't have time to send you a complete test case. Please don't think it cavalier or lazy of me. I've been busy filing Eclipse bugs left and right for days (eclipse-m2e/m2e-wtp#26, eclipse-jdt/eclipse.jdt.core#1131, eclipse-wildwebdeveloper/wildwebdeveloper#1216, eclipse-m2e/m2e-core#1414, #805, ….) At some point I have to get some work done on my own projects. I hope the stack trace can give you some hints about the problem. Good luck.
The text was updated successfully, but these errors were encountered: