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 121696 - NullPointerException at javax.swing.JComponent.repaint
Summary: NullPointerException at javax.swing.JComponent.repaint
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-11-12 07:27 UTC by ramanakallil
Modified: 2008-12-22 11:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 10849


Attachments
stacktrace (4.18 KB, text/plain)
2008-02-28 05:18 UTC, kk_sriram
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ramanakallil 2007-11-12 07:27:49 UTC
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows XP, 5.1, x86

User Comments: 
I ran the Desktop Application which i created. Then i selected a row in the Application window. This error occurs. The problem is the Date Field I think. Even in earlier versions the Date field column is a problem. Thanks
Comment 1 Milos Kleint 2007-11-12 08:07:19 UTC
either awt/swing issue or j2ee/tomcat.
reassigning
Comment 2 kk_sriram 2008-02-28 05:18:23 UTC
Build: NetBeans IDE Dev (Build 200801280931)
VM: Java HotSpot(TM) Client VM, 10.0-b18
OS: Windows XP, 5.1, x86

User Comments: 
I was trying to install netbeans plugins.this error popped up when i clciked on "Add Plugins" unders Tools->plugins->Downloaded

Comment 3 kk_sriram 2008-02-28 05:18:26 UTC
Created attachment 57406 [details]
stacktrace
Comment 4 ramanakallil 2008-02-29 06:16:26 UTC
The problem when using JDesktop applications is that 
the corresponding textfield is for a date column below the table and when the row is selected in the table there is a
class cast exception. If the textfield is removed then there is no exception. That means the textfield takes a String
and hence the Date column when assigned to the textfield when selected should be cast to a String.

This is what i suppose the problem is.

thanks
ramana
Comment 5 David Simonek 2008-02-29 13:33:42 UTC
Probably Swing problem...is error reproducible somehow reliably? I guess it is random, isn't it?
Comment 6 David Simonek 2008-03-12 11:32:01 UTC
I found that this is already reported JDK bug, seems to be fixed in JDK 1.7

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6493542