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.
The following code in DVPC void setCurrentRows(List<Object[]> rows) { synchronized(rows) { this.rows = rows; } } doesn't do any meaningful synchronization: you need to synchnonize on the same object -- in this case, on this. Moreover, the reads of the rows field are not sychnronized throughout the class, which results in data races.
Agree this synchronized is not required. Removed it http://hg.netbeans.org/dbdataview/rev/d6668a77eae4
Synchronization is needed, since you set the rows in the execution thread, but also read the rows in the AWT thread. Actually, this seems to be the case for the whole DataViewPageContext class.
Then may be you can help me point out where we need Synchronization.
You need synchronization whenever you read and write a field from multiple threads. http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html
http://hg.netbeans.org/dbdataview/rev/818bfa913213 I think this is fixed. If you still find issues, be specific and reopen.
Verified with build 080709.