This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 200810290201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32 OS: Windows Vista, 6.0, x86 User Comments: sunbiz: Pressed diff on a Implementation Test for a BPEL project and got this exception Stacktrace: java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291) at java.util.regex.Matcher.<init>(Matcher.java:211) at java.util.regex.Pattern.matcher(Pattern.java:888) at org.netbeans.modules.compapp.test.ui.DiffStreamSource.getXMLEncoding(DiffStreamSource.java:162) at org.netbeans.modules.compapp.test.ui.DiffStreamSource.createReader(DiffStreamSource.java:134)
Created attachment 72898 [details] stacktrace
Reassigning to diff.
Reassigning to compapp for evaluation. Please look at this issue - to acquire a content reader the diff module calls method org.netbeans.modules.compapp.test.ui.DiffStreamSource.createReader, which I guess internally calls java.util.regex.Pattern.matcher() with a null parameter.