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.
NPE when created project from existent code for OpenSolaris. Bug in discovery wizard in provider by build log. It make impossible to use discovery by build log log.
Created attachment 59461 [details] NPE
Sorry, StringIndexOutOfBoundsException
Escaled to P1. Must fix in NetBeans 6.1.
can be fixed by patch: --- a/cnd.dwarfdiscovery/src/org/netbeans/modules/cnd/dwarfdiscovery/provider/LogReader.java Fri Mar 28 19:04:19 2008 +0300 +++ b/cnd.dwarfdiscovery/src/org/netbeans/modules/cnd/dwarfdiscovery/provider/LogReader.java Tue Apr 01 19:26:18 2008 +0400 @@ -96,7 +96,7 @@ public class LogReader { if (oneMoreLine == null) { break; } - line = line.substring(0, line.length()-2) + " " + oneMoreLine.trim(); //NOI18N + line = line.substring(0, line.length() - 1) + " " + oneMoreLine.trim(); //NOI18N } line = trimBackApostropheCalls(line); Alexander, please, review fix.
The fix is verified in trunk
fix integrated to release61: http://hg.netbeans.org/main?cmd=changeset;node=9d6ce36365c9
edit: actual integration is here: http://hg.netbeans.org/release61/rev/d74196677725
verified in NB6.1 build 200804040802