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.
>Log Session: 2001N21ú 1603ª08bJST >System Info: Product Version = Forte(tm) for Java(tm), release 2.0, Community Edition (Build 1160) IDE Versioning = IDE/1 spec=1.1.0.1 impl=Build 1160 Operating System = Windows NT Version 4.0 Running on x86 Java Version = 1.3.0 Java VM Version = Java HotSpot(TM) Client VM 1.3.0-C Java Vendor = Sun Microsystems Inc. Java Vendor URL = http://java.sun.com/ Java Home = C:\jdk1.3\jre Java Class Version = 47.0 System Locale = ja_JP JIT = unknown or not used Home Dir = C:\WINNT\Profiles\mkishida Current Directory = o:\forte4j Forte for Java Home = O:\forte4j Forte for Java User Home = O:\forte4j System Directory = O:\forte4j\system CLASSPATH = O:\forte4j\lib\patches\openide-compat.jar;O:\forte4j\lib\developer.jar;O:\forte4 j\lib\openide.jar;O:\forte4j\lib\updater.jar;O:\forte4j\lib\ext\AbsoluteLayout.j ar;O:\forte4j\lib\ext\icebrowserlitebean.jar;O:\forte4j\lib\ext\javac.jar;O:\for te4j\lib\ext\jaxp.jar;O:\forte4j\lib\ext\jh.jar;O:\forte4j\lib\ext\parser.jar;O: \forte4j\lib\ext\regexp.jar;O:\forte4j\lib\ext\servlet.jar;C:\jdk1.3\lib\dt.jar; C:\jdk1.3\lib\tools.jar [snip] [INFO] Loaded modules: org.netbeans.modules.clazz/1 (1.2.1/1160); org.netbeans.modules.html/1 (1.2.1/1160); org.netbeans.modules.httpserver/1 (1.2.1/1160); org.netbeans.modules.icebrowser/1 (1.2.1/1160); org.netbeans.modules.image/1 (1.2.1/1160); org.netbeans.modules.properties/1 (1.2.1/1160); org.netbeans.modules.text/1 (1.2.1/1160); org.netbeans.modules.usersguide/1 (1.2.1/1160); org.openidex.util/1 (1.2.1/1160); org.netbeans.modules.autoupdate/1 (1.3.1/1160); org.netbeans.modules.debugger.core/1 (1.1.5/1160); org.netbeans.modules.applet/1 (1.2.1/1160); org.netbeans.modules.debugger.debug/1 (1.4.1/1160); org.netbeans.modules.debugger.jpda/1 (1.4.1/1160); org.netbeans.modules.editor/1 (1.4.1/1160); org.netbeans.modules.jarpackager/1 (1.2.1/1160); org.netbeans.modules.java/1 (1.2.1/1160); org.netbeans.modules.beans/1 (1.2.1/1160); org.netbeans.modules.form/1 (1.2.1/1160); org.netbeans.modules.i18n/1 (1.2.1/1160); org.netbeans.modules.javadoc/1 (1.2.1/1160); org.netbeans.modules.objectbrowser/1 (1.2.1/1160); org.netbeans.modules.projects/1 (1.2.1/1160); org.netbeans.modules.utilities/1 (1.2.1/1160); org.netbeans.modules.vcs.cmdline/1 (1.3.1/1160); org.netbeans.modules.web.core/1 (1.1.3/1160) Exception occurred during event dispatching: java.lang.NullPointerException at org.netbeans.core.Splash$SplashComponent.paint(Splash.java:256) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:54) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91) at java.awt.Container.paint(Container.java:960) at sun.awt.RepaintArea.paint(RepaintArea.java:298) at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:193) at java.awt.Component.dispatchEventImpl(Component.java:2665) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
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.