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 255956 - User can't add thread number into "Thread" field in "New Breakpoint" if number has more then 31 bits
Summary: User can't add thread number into "Thread" field in "New Breakpoint" if numbe...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: 81_HR_FIX
Depends on:
Blocks:
 
Reported: 2015-10-15 16:29 UTC by Alexander Simon
Modified: 2017-04-08 03:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (2.35 KB, patch)
2015-10-15 17:01 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-10-15 16:29:07 UTC
User can't add thread number into "Thread" field in "New Breakpoint" window.
For example thread "t@18446739679958009584".
Validation prints:
"Invalid value. The field Thread could not be set. Reason: Mailformed Thread id"

TID is unsigned long number and java signed long is valid TID (if it is treated as unsigned).
Comment 1 Vladimir Voskresensky 2015-10-15 16:38:41 UTC
If fix is safe, I think, it's worth to fix in 8.1.
Please, evaluate
Comment 2 Alexander Simon 2015-10-15 17:01:16 UTC
Created attachment 156749 [details]
proposed patch
Comment 3 Vladimir Voskresensky 2015-10-16 10:44:38 UTC
Fix looks safe. If we need it for OSS, we need to integrate into 8.1
Comment 4 Vladimir Voskresensky 2015-10-16 10:47:39 UTC
Please, push into trunk first
Comment 5 Alexander Simon 2015-10-16 11:05:46 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/e5e094d0d1e5
Comment 6 Quality Engineering 2015-10-17 02:00:53 UTC
Integrated into 'main-silver', will be available in build *201510170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e5e094d0d1e5
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #255956 User can't add thread number into "Thread" field in "New Breakpoint" if number has more then 31 bits
Comment 7 soldatov 2015-10-19 12:28:56 UTC
We used trunk in order to build OSS IDE build.
I verified bug in this build. OK.
Comment 8 ilia 2015-10-19 14:35:30 UTC
Transplanted to releases:
  http://hg.netbeans.org/releases/rev/cd41bf556d33 [ fixed Bug #255956 User can't add thread number into "Thread" field in "New Breakpoint" if number has more then 31 bits ]
Comment 9 Quality Engineering 2017-04-08 03:07:23 UTC
Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e116dfc8f437
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #255956 User can't add thread number into "Thread" field in "New Breakpoint" if number has more then 31 bits
- assert if dbx asks to set current unexisting thread