Skip to content
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

[NETBEANS-2350]NPE while doing auto complete in rule switch block #1211

Merged
merged 1 commit into from May 2, 2019

Conversation

vikasprabhakar
Copy link
Contributor

Null pointer exception while doing auto complete in rule switch block

Code scenario:

enum Days{MON, TUES, WED, THUR, FRI};

private static void test1(Days day) {
switch (day)

{ case FRI -> System.out.println("javaapplication2.JavaApplication2.test1()");
--> Auto complete press 'Ctrl+Space' throw Null pointer exception }
}

@vikasprabhakar vikasprabhakar force-pushed the NPE_Switch_expression branch 2 times, most recently from 0b9fc68 to b1f5fc7 Compare April 29, 2019 05:50
@arusinha-zz arusinha-zz merged commit 3c8e4f4 into apache:master May 2, 2019
@vikasprabhakar vikasprabhakar deleted the NPE_Switch_expression branch May 2, 2019 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants