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.

Bug 48437 - VCSGeneric: RegExp evaluation problems
Summary: VCSGeneric: RegExp evaluation problems
Status: CLOSED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Richard Gregor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 09:14 UTC by Pavel Rehak
Modified: 2006-03-24 09:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception description. (1.30 KB, patch)
2004-09-03 09:14 UTC, Pavel Rehak
Details | Diff
dialog screenshot (8.96 KB, image/jpeg)
2004-09-06 13:00 UTC, Richard Gregor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Rehak 2004-09-03 09:14:11 UTC
System Info:
  Product Version       = NetBeans IDE Dev (Build
200409011800)
  Operating System      = Windows XP version 5.1
running on x86
  Java; VM; Vendor      = 1.5.0-rc; Java
HotSpot(TM) Client VM 1.5.0-rc-b63; Sun
Microsystems Inc.
===================================================
Create new Context Command (Generic VCS Profiles)
for CVS and set it expert property "Data Regex" to
invalid [ for example ^(*.) ] - regular expression.
And try invoke this command.
Exception appears.
Comment 1 Pavel Rehak 2004-09-03 09:14:43 UTC
Created attachment 17347 [details]
Exception description.
Comment 2 Richard Gregor 2004-09-06 08:04:27 UTC
In case of invalid regexp I would expect this exception. Do you
propose something different?
Comment 3 Pavel Rehak 2004-09-06 09:43:42 UTC
I would expect (instead of thrown exception) system dialog box appear
with warning that entered regexp is not valid and application should
refuse invoke command with this regexp.
Comment 4 Richard Gregor 2004-09-06 12:34:23 UTC
Not bad idea, I'll take over.
Comment 5 Richard Gregor 2004-09-06 12:59:24 UTC
There is a system dialog box not with warnig but with annotated
exception- it is standard one.
Comment 6 Richard Gregor 2004-09-06 13:00:20 UTC
Created attachment 17391 [details]
dialog screenshot
Comment 7 Richard Gregor 2004-09-06 15:09:45 UTC
OK, signing as invalid.
Comment 8 Pavel Rehak 2005-06-16 17:03:17 UTC
V.