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.
Inspector window shows a bug description. The description window supports html content and support links. It is OK. Please provide an opening link on needed line. For example C/C++ static analyzer produces description like this: ------------------8<----------------- Null pointer dereference Read from null pointer at line 215 of /export1/home/alsimon/LLVM34/llvm/tools/clang/include/clang/AST/TemplateBase.h in function 'clang::TemplateArgument::getKind() const'. Function clang::DeclRefExpr::getTemplateArgs may return constant 'NULL' at line 1103, called at line 1989 of /export1/home/alsimon/LLVM34/llvm/tools/clang/include/clang/AST/RecursiveASTVisitor.h in function 'clang::RecursiveASTVisitor(anonymous namespace)::AnalysisConsumer>::TraverseDeclRefExpr(clang::DeclRefExpr*)'. Constant 'NULL' passed into function clang::RecursiveASTVisitor, argument TAL, from call at line 1989. Constant 'NULL' passed into function clang::RecursiveASTVisitor, argument ArgLoc, from call at line 1673 in function 'clang::RecursiveASTVisitor(anonymous namespace)::AnalysisConsumer>::TraverseTemplateArgumentLocsHelper(clang::TemplateArgumentLoc const*, unsigned int)'. Constant 'NULL' passed into function clang::TemplateArgumentLoc::getArgument, argument this, from call at line 766 in function 'clang::RecursiveASTVisitor(anonymous namespace)::AnalysisConsumer>::TraverseTemplateArgumentLoc(clang::TemplateArgumentLoc const&)'. Function clang::TemplateArgumentLoc::getArgument may return constant 'NULL' at line 460, called at line 766 in function 'clang::RecursiveASTVisitor ::TraverseTemplateArgumentLoc(clang::TemplateArgumentLoc const&)'. Constant 'NULL' passed into function clang::TemplateArgument::getKind, argument this, from call at line 768. Null pointer introduced at line 1103 of /export1/home/alsimon/LLVM34/llvm/tools/clang/include/clang/AST/Expr.h in function 'clang::DeclRefExpr::getTemplateArgs() const'. ------------------8<----------------- All links in should be clickable and open source file on needed line.
Created attachment 145778 [details] proposed patch
fixed, change set: http://hg.netbeans.org/cnd-main/rev/5fd0e74974cb
Integrated into 'main-silver', will be available in build *201403100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5fd0e74974cb User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #242577 Inspector bug description does not support opening source file on needed line
Alex, will you as Author push this fix to patch1 or you expect me to push it? Thanks.
(In reply to Milutin Kristofic from comment #4) > Alex, will you as Author push this fix to patch1 or you expect me to push > it? Thanks. Please push the fix in releases. Thanks, Alexander
Milutin, CND team going to transplant fix in releases branch release80 tomorrow. Thanks, Alexander.
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/043cfd72736d User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #242577 Inspector bug description does not support opening source file on needed line (transplanted from 5fd0e74974cbeac1c1fc3fac277ad4d33e536bcd)