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 132812 - NullPointerException at javax.swing.JTable.prepareRenderer
Summary: NullPointerException at javax.swing.JTable.prepareRenderer
Status: RESOLVED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Petrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 22:16 UTC by mjdivan
Modified: 2009-02-19 23:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 29576


Attachments
stacktrace (2.35 KB, text/plain)
2008-04-14 22:16 UTC, mjdivan
Details
stacktrace (2.83 KB, text/plain)
2008-05-30 23:01 UTC, javalive
Details
stacktrace (2.52 KB, text/plain)
2008-05-30 23:46 UTC, javalive
Details
stacktrace (2.82 KB, text/plain)
2008-09-30 11:28 UTC, jfeid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mjdivan 2008-04-14 22:16:32 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_03-b05
OS: Linux, 2.6.24.3-50.fc8, amd64

User Comments: 
When I try to search a class by description , I receive a blank grid and in the bottom section of screen I can see "2 elements found" but I can't see anything
Comment 1 mjdivan 2008-04-14 22:16:37 UTC
Created attachment 60151 [details]
stacktrace
Comment 2 Jiri Prox 2008-04-18 10:46:42 UTC
Although there is nothing from netbeans in the stacktraces, the reports say this exception occurs when searching in UML
model, please evaluate.
Comment 3 javalive 2008-05-30 23:01:15 UTC
Created attachment 62194 [details]
stacktrace
Comment 4 javalive 2008-05-30 23:46:09 UTC
Created attachment 62195 [details]
stacktrace
Comment 5 Trey Spiva 2008-09-15 21:54:45 UTC
I am not able to reproduce this problem.  When I search for a class by description the table is updated correctly.  You may want to check if this issue was 
fixed in NB 6.1 or NB 6.5.
Comment 6 jfeid 2008-09-30 11:24:52 UTC
I confirm this problem (NullPointerException at javax.swing.JTable.prepareRenderer) when searching with the "Find in 
UML Model..." dialog.

Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Comment 7 jfeid 2008-09-30 11:28:52 UTC
Created attachment 70883 [details]
stacktrace
Comment 8 Sergey Petrov 2008-11-18 10:04:28 UTC
can you attach project on which it's possible to reproduce?
Comment 9 Sergey Petrov 2008-12-23 12:40:05 UTC
reproducible on linux+jdk6 (openjdk?)
can't reproduce with jdk5.
Comment 10 Sergey Petrov 2008-12-23 18:29:51 UTC
417f23c9f43b integrated in team repository
Comment 11 Quality Engineering 2008-12-24 16:55:49 UTC
Integrated into 'main-golden', will be available in build *200812241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/417f23c9f43b
User: sergeyp@netbeans.org
Log: fix #132812 - avoid double set of table model in one method (cause problems in java6), uncomment preference accessor because it's used in related code.