| Summary: | [12] NPE when opening Compile compliance configuration dialog | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jay Arthanareeswaran <jarthana> |
| Component: | UI | Assignee: | Noopur Gupta <noopur_gupta> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, kalyan_prasad |
| Version: | 4.10 | Flags: | kalyan_prasad:
review+
|
| Target Milestone: | BETA J12 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/136762 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=d4b293106058130913dc1f2e5112999dcf7ecdbe https://git.eclipse.org/r/137353 https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=f9a1a1ea2cece3ca9bd17d44215532966b8337be |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 545120 | ||
|
Description
Jay Arthanareeswaran
This may be related to the new options we added for preview features on this page. FWIW, I am opening an existing workspace with the new build. I am not able to reproduce this issue with latest changes from beta branches of core, ui and debug, even with a Java 8 project in my workspace. Kalyan was getting this issue but is not getting it anymore after pulling the latest changes which also contain the fix for bug 544266, which may be the cause. However, even after reverting the fix for bug 544266, I am still not getting this issue. Jay, can you please pull the latest code in all branches and check if you can reproduce it in your use case? I am able to reproduce it now. The difference was in Compiler preferences and properties page. New Gerrit change created: https://git.eclipse.org/r/136762 (In reply to Eclipse Genie from comment #4) > New Gerrit change created: https://git.eclipse.org/r/136762 The issue was that the EE options were not returning the preview properties for a project < 11 but we were still checking for their default values in UI. The same will also be applicable to the options returned from JavaCore i.e. we won't get the preview options for a project < 11. I made a pass over all the related code in UI and updated it. It will be good to get another check over this. Kalyan, can you please have a look? (In reply to Eclipse Genie from comment #4) > New Gerrit change created: https://git.eclipse.org/r/136762 Can we get this in soon please? It's impossible for me to do any work on the Y build now. Gerrit change https://git.eclipse.org/r/136762 was merged to [BETA_JAVA_12]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=d4b293106058130913dc1f2e5112999dcf7ecdbe New Gerrit change created: https://git.eclipse.org/r/137353 Gerrit change https://git.eclipse.org/r/137353 was merged to [BETA_JAVA_12]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=f9a1a1ea2cece3ca9bd17d44215532966b8337be |