Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 559603

Summary: AST must not be null When using organize imports
Product: [Eclipse Project] JDT Reporter: Choi SeongMin <wing963>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: stephan.herrmann
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
screen shot file none

Description Choi SeongMin CLA 2020-01-27 21:53:38 EST
Created attachment 281617 [details]
screen shot file

First of all, I am not good at English, so please understand that sentence may not be smooth.

I used Lombok and I wanted to use @Data Annotation.
And tried to use @JasonProperty defaultValue.

But if both of the above are used,
@Data Annotation is shown in black.
An error occurs when using the organize exports shortcut.
(Note to screen shot - Problem Screen.png)

Removing defaultValue or @Data(@Setter) resolves the problem
(Note to screen show - Modified Screen.png)

I don't know why this problem occurs. When I asked the person I worked with, Intellij said there was no problem.