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.
Summary: | NPE from Splash.SplashComponent.paint in Japanese locale | ||
---|---|---|---|
Product: | platform | Reporter: | KISHIDA masami <kishidamasami> |
Component: | -- Other -- | Assignee: | _ ttran <ttran> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows 3.1/NT | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
KISHIDA masami
2001-02-01 08:10:36 UTC
Is there a reason for assigning the bug to the Clazz module ? I don't see any clue in the stacktrace; could you, please, describe the problem ? Sorry, I think this NullPointerException is ocurred in clazz, but not correct. This trace is a trasce of loading clazz module and I think it's mean that exception occurred during event dispatch. Never mind - reassigning to core because of org.netbeans.core.Splash$SplashComponent.paint(Splash.java:256) Please fill the "Summary" field and add more information (e.g. steps to reproduce if possible). Thank you. Sample summary, correct if necessary. An offhand analysis: - the NPE is apparently thrown from this line: graphics.drawString(text, rect.x, rect.y + fm.getAscent()); - in this context, neither 'graphics' nor 'rect' should be null - so fm is null - so java.awt.Graphics.getFontMetrics returned null - this is not mentioned in Javadoc as a possibility, so maybe JDK bug? Someone with a Japanese machine should insert debug code and figure out what is in fact null. added test against null Resolved for 3.4.x or earlier, no new info since then -> verified. Resolved for 3.4.x or earlier, no new info since then -> closing. |