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 248504 - IssueTable and NodeTableModel problems
Summary: IssueTable and NodeTableModel problems
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 244551 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-07 21:48 UTC by junichi11
Modified: 2014-11-20 04:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description junichi11 2014-11-07 21:48:12 UTC
I think that seen column is not counted[1] So, It seems that last index of visible property array will be overridden.

getRecentChangesColumn() method should be check -1 value[2]. Probably, java.lang.ArrayIndexOutOfBoundsException: -1 will be occurred.

Could you try to check those? I'm sorry if I'm wrong.

[1] http://hg.netbeans.org/web-main/file/422fe6a674b0/bugtracking.commons/src/org/netbeans/modules/bugtracking/issuetable/NodeTableModel.java#l736

[2] http://hg.netbeans.org/web-main/file/422fe6a674b0/bugtracking.commons/src/org/netbeans/modules/bugtracking/issuetable/IssueTable.java#l627

Thanks.
Comment 1 Tomas Stupka 2014-11-14 15:30:51 UTC
indeed, good catch

thanks
Comment 2 Tomas Stupka 2014-11-14 15:35:39 UTC
*** Bug 244551 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Stupka 2014-11-14 16:47:19 UTC
fixed in core-main #f449dc307e7f
Comment 4 junichi11 2014-11-14 20:59:54 UTC
Thanks a lot!

Is [2] OK?
I think -1 is returned if recent changes column is not visible.
Comment 5 Quality Engineering 2014-11-16 04:35:47 UTC
Integrated into 'main-silver', will be available in build *201411160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f449dc307e7f
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #248504 - IssueTable and NodeTableModel problems
Comment 6 Tomas Stupka 2014-11-18 09:21:18 UTC
> Thanks a lot!
> Is [2] OK?
no, will fix as well ...

thanks again
Comment 7 Quality Engineering 2014-11-20 04:25:52 UTC
Integrated into 'main-silver', will be available in build *201411200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b29ece133b61
User: Tomas Stupka <tstupka@netbeans.org>
Log: issue #248504 - IssueTable and NodeTableModel problems