68_HR_FIX for #176875, #176887

Daniel Prusa <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
https://netbeans.org/bugzilla/show_bug.cgi?id=176875
https://netbeans.org/bugzilla/show_bug.cgi?id=176887

Description & Impact:
Both issues are related to one regression, caused by 
http://hg.netbeans.org/main-silver?cmd=changeset;node=16b5c55166cb
NPE can be thrown quite often when setting breakpoints, debugging, etc. 
It could be highly visible and annoying.

Risk assessment:
It is sufficient to check whether a file object passed to methods of 
EditorContextImpl (debugger.jpda.projects) is a Java source file. This 
is a safe fix.

Changeset:
http://hg.netbeans.org/main/rev/236e034e97bd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.