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 165867

Summary: NullPointerException: HDC for component
Product: platform Reporter: familygw <familygw>
Component: -- Other --Assignee: mslama <mslama>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=151661
Issue Type: DEFECT Exception Reporter: 151661
Attachments: stacktrace

Description familygw 2009-05-23 02:19:58 UTC
Build: NetBeans IDE 6.5 (Build 200812050001)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.1, x86

Stacktrace: 
java.lang.NullPointerException: HDC for component
        at sun.java2d.loops.Blit.Blit(Blit.java:0)
        at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:927)
        at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:550)
        at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:54)
        at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:982)
        at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:168)
Comment 1 familygw 2009-05-23 02:20:06 UTC
Created attachment 82682 [details]
stacktrace
Comment 2 mslama 2009-05-26 11:20:24 UTC
Looks like JDK issue. I will file issue against JDK. I assume it is random and no more info is available.
Comment 3 mslama 2009-06-02 13:59:29 UTC
I filed issue #6847157 against JDK java/classes_2d.
Comment 4 familygw 2009-06-02 14:31:33 UTC
The problem isn't in Netbeans, the origin is in the Windows Vista or Windows 7.
Now, if I install the JDK & JRE 1.5 (update 18) everything is ok, but if I install the version 1.6 (update 13 or 
update 14) everything is wrong, the application Java (java(w).exe) takes the 100% of the CPU (single core) or the 50% 
of the CPU (dual core) and the user interfaces doesn't show and Windows turns so slow.

If anybody knows how to fix it, please share it.
Comment 5 mslama 2009-06-05 13:46:29 UTC
URL for JDK issue is http://bugs.sun.com/view_bug.do?bug_id=6847157