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

Summary: IssueTable and NodeTableModel problems
Product: connecteddeveloper Reporter: junichi11
Component: Issuetracking FrameworkAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal CC: tstupka
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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