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 - NullPointerException: HDC for component
Summary: NullPointerException: HDC for component
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
Depends on:
Reported: 2009-05-23 02:19 UTC by familygw
Modified: 2009-06-05 13:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151661

stacktrace (1.88 KB, text/plain)
2009-05-23 02:20 UTC, familygw

Note You need to log in before you can comment on or make changes to this bug.
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

java.lang.NullPointerException: HDC for component
        at sun.java2d.loops.Blit.Blit(
        at sun.java2d.pipe.DrawImage.blitSurfaceData(
        at sun.java2d.pipe.DrawImage.renderImageCopy(
        at sun.java2d.pipe.DrawImage.copyImage(
        at sun.java2d.pipe.DrawImage.copyImage(
        at sun.java2d.pipe.ValidatePipe.copyImage(
Comment 1 familygw 2009-05-23 02:20:06 UTC
Created attachment 82682 [details]
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