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.
from CR7097409 The reason is that SourceFileInfo sourceFileInfo1 = dataProvider.getSourceFileInfo(call1); returns null due to incorrect path translation in org.netbeans.modules.dlight.perfan.lineinfo.impl.SSSourceFileInfoSupport
Created attachment 111608 [details] patch 3/3 correctly provide file paths
Created attachment 111609 [details] patch 2/3 use PathUtilities instead of java.io.File
Created attachment 111610 [details] patch 1/3 er_print can be null when storage is not created successfully due to any kind of exception => prevent NPE
Andrew, I have prepared patch and split it by topics Please, review.
I agree with proposed fixes. 2 small notes: please do: remove unneeded imports (java.io.File) use Boolean.getBoolean() for FULL_REMOTE_KEY
fixed on e**f changeset: 204895:e300f50ac19c branch: release701_fixes tag: tip user: Vladimir Voskresensky <vv159170@netbeans.org> date: Thu Oct 06 20:59:09 2011 +0400 summary: fixed #203232 NPE in THAHintsProvider changeset: 204894:d84362715cc1 branch: release701_fixes user: Vladimir Voskresensky <vv159170@netbeans.org> date: Thu Oct 06 20:57:55 2011 +0400 summary: fixing #203232 NPE in THAHintsProvider changeset: 204893:6f10c7a82d57 branch: release701_fixes user: Vladimir Voskresensky <vv159170@netbeans.org> date: Thu Oct 06 20:56:58 2011 +0400 summary: fixing #203232 NPE in THAHintsProvider
Checked in oss dev build #3383 in DD on Windows NPE does not appear any more but navigation from stack still does not work (see CR 7097412).
it looks like the bug should be checked in oss dev build #3384
verified in oss dev build #3385 in DD on Windows
http://hg.netbeans.org/releases/rev/6f10c7a82d57 http://hg.netbeans.org/releases/rev/d84362715cc1 http://hg.netbeans.org/releases/rev/e300f50ac19c
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/6f10c7a82d57 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing #203232 NPE in THAHintsProvider - use PathUtilities instead of java.io.File
*** Bug 199414 has been marked as a duplicate of this bug. ***
Verified in Oracle Solaris Studio 12.3 (2011/10/10)