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.
Created attachment 128127 [details] sample project I know David mentioned it in some previous email but I haven't noticed it until now. Sometimes stacktrace in browser log is not clickable, so you cannot click on it and navigate to given line. I'm attaching sample project, just run it and check output: TypeError: Cannot read property 'length' of undefined at Object.MyCtrl1.$scope.fetch (app/js/controllers.js:12:36) at new MyCtrl1 (app/js/controllers.js:17:12) at invoke (app/lib/angular/angular.js:2795:28) at Object.instantiate (app/lib/angular/angular.js:2805:23) at http://localhost:8383/HTML5Application25/lib/angular/angular.js:4621:24 .... This: http://localhost:8383/HTML5Application25/lib/angular/angular.js:4621:24 is not clickable. I noticed it in some other projects with angular and it happens when there is URL instead of function name. Product Version: NetBeans IDE Dev (Build web-main-9266-on-20121120) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Reproduced. The parsing of messages needs to be adjusted...
Fixed by changeset: 239939:d4c2ace75c2f http://hg.netbeans.org/web-main/rev/d4c2ace75c2f
Thanks Martin for fixing it in jstestdriver too. Awesome! :-)
Integrated into 'main-golden', will be available in build *201211220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d4c2ace75c2f User: mentlicher@netbeans.org Log: #222463: Test an URL in the output for a project's file, to add the appropriate link. JSTestDriverSupport.LineConvertorImpl.convert() made in sync with BrowserConsoleLogger.tryToConvertLineToHyperlink().
It looks fine in case it comes from running page but ouput from jstestdriver is not correctly formatted, please check the screenshot. To reproduce: - download sampleApp from https://github.com/ladariha/sampleapp/downloads - download jstestdriver 1.3.4b - test the project => output in test results and also Output|Running JS unit tests is badly formatted Product Version: NetBeans IDE Dev (Build web-main-9421-on-20121203) Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 128831 [details] screenshot
This concerns debugger, where it was fixed. Please submit a separate issue for the test output.
I'm sorry, my bad. I didn't realize that it applies only to Browser log. The output in likely formatted from JSTestDriver as such. Verified
I filed misconfigured output of jstestdriver output as issue 223355.