Bug 257897 - Regex search in any folder tree with an empty file fails
Regex search in any folder tree with an empty file fails
Status: NEW
Product: utilities
Classification: Unclassified
Component: Search
8.2
PC Windows 7
: P3 with 1 vote (vote)
: TBD
Assigned To: Jaroslav Havlin
issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-09 00:03 UTC by peterkehl
Modified: 2016-02-18 00:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peterkehl 2016-02-09 00:03:32 UTC
Use NetBeans Dev 201602080002 for PHP Projects, run x64 version on Win x64.

Have a PHP project with the attached file selenium-api-override.js (which is a part of Selenium IDE 2.9.1).

In Projects navigator, left click at that file selenium-api-override.js. Then Ctrl+F (Search in Projects rather than editor search) and search for the following regex:
function\s+TreeView[^a-zA-Z0-9_]|[^a-zA-Z0-9_]TreeView\s*[:=]\s*function|\[\s*['"]TreeView['"]\s*\]\s*=\s*function

In Search Results, you get 'Warnings and Errors':
java.io.IOException: java.lang.IllegalArgumentException: Buffer size <= 0
Comment 1 peterkehl 2016-02-09 23:56:08 UTC
Bugzilla doesn't allow me to attach an example file (selenium-api-override.js) for this. However, the problem is reproducible with any *empty* file (0 bytes in length).

(See https://github.com/SeleniumHQ/selenium/blob/master/ide/main/src/content/selenium-api-override.js)


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo