HR fix review: 229708 - NPE in AsynchronousGenerator

David Konecny <[email protected]> Thu, 16 May 2013 20:07:04 +1200
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
https://netbeans.org/bugzilla/show_bug.cgi?id=229708
NullPointerException at 
org.netbeans.modules.websvc.rest.editor.AsynchronousGenerator.invoke

Problem: one of new EE7 Insert Code actions throws NPE when triggered in 
"wrong" place in Java file

Fix: enable action only when it makes sense

Risk: low

Diff: http://hg.netbeans.org/main-golden/rev/76b555d3f89a

Thanks,
-David