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 35326 - Running NetBeans 3.5 for first time causes java.lang.NullPointerException
Summary: Running NetBeans 3.5 for first time causes java.lang.NullPointerException
Status: VERIFIED DUPLICATE of bug 31760
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 16:43 UTC by jzoch
Modified: 2008-12-22 18:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jzoch 2003-08-07 16:43:07 UTC
I installed J2SE v 1.4.2 with NetBeans IDE v 3.5 Cobundle 
from Sun's website. Installation went flawlessly.  After 
double clicking on "NetBeans IDE 3.5" and specifying a new 
first time run (not the import from old IDE option) 
resulted in the following error:

A java.lang.NullPointerException exception has occured.

Attached is the log file.  Hope this helps.


------------------------------------------------------------
-------------------
>Log Session: Thursday, August 7, 2003 10:01:40 AM CDT
>System Info: 
  Product Version       = NetBeans IDE 3.5 (Build 
200306022350)
  IDE Versioning        = IDE/1 spec=3.42.1 
impl=200306022350
  Operating System      = Windows XP version 5.1 running on 
x86
  Java; VM; Vendor      = 1.4.2; Java HotSpot(TM) Client VM 
1.4.2-b28; Sun Microsystems Inc.
  Java Home             = C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre
  System Locale; Encod. = en_US; Cp1252
  Home Dir; Current Dir = C:\Documents and Settings\jzoch; 
C:\Documents and Settings\jzoch\Desktop
  IDE Install; User Dir = C:\Program 
Files\j2sdk_nb\netbeans3.5; C:\Documents and 
Settings\jzoch\.netbeans\3.5
  CLASSPATH             = C:\Program 
Files\j2sdk_nb\netbeans3.5\lib\ext\boot.jar;C:\Program 
Files\j2sdk_nb\netbeans3.5\lib\ext\crimson-
1.1.3.jar;C:\Program Files\j2sdk_nb\netbeans3.5
\lib\ext\regexp-1.2.jar;C:\Program 
Files\j2sdk_nb\netbeans3.5\lib\ext\xerces-
2.0.2.jar;C:\Program Files\j2sdk_nb\netbeans3.5\lib\ext\xml-
apis-1.0b2.jar;C:\Program Files\j2sdk_nb\j2sdk1.4.2
\lib\dt.jar;C:\Program Files\j2sdk_nb\j2sdk1.4.2
\lib\tools.jar
  Boot & ext classpath  = C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\rt.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\i18n.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\sunrsasign.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\jsse.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\jce.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\charsets.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\classes;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\ext\dnsns.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2
\jre\lib\ext\ldapsec.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2
\jre\lib\ext\localedata.jar;C:\Program 
Files\j2sdk_nb\j2sdk1.4.2\jre\lib\ext\sunjce_provider.jar
  Dynamic classpath     = C:\Program 
Files\j2sdk_nb\netbeans3.5\lib\core-windows.jar;C:\Program 
Files\j2sdk_nb\netbeans3.5\lib\core.jar;C:\Program 
Files\j2sdk_nb\netbeans3.5\lib\openide.jar
------------------------------------------------------------
-------------------
[org.netbeans.core.modules #4] Warning: the module 
org.netbeans.modules.projects uses org.openide.deprecated 
which is deprecated: Clients of obsoleted Open APIs are 
encouraged to remove this dependency. See 
http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/op
enide/doc-files/upgrade.html#3.5i-sep
Turning on modules:
	org.openide/1 [3.42.1 200306022350]
	org.netbeans.modules.html/1 [1.11.1 200306022350]
	org.netbeans.modules.servletapi/1 [1.2.1 
200306022350]
	org.netbeans.modules.httpserver/1 [1.12.1 
200306022350]
	org.netbeans.libs.xalan/1 [1.1.1 2.3.1]
	org.netbeans.libs.jaxp/1 [1.1.1 1.1.2]
	org.netbeans.api.xml/1 [1.1.1 200306022350]
	org.openide.io [1.0.1 200306022350]
	org.openide.execution [1.0.1 200306022350]
	org.netbeans.core/1 [1.12.1 200306022350]
	org.netbeans.lib.terminalemulator [1.0.1 
200306022350]
	org.netbeans.core.output/1 [1.0.1 200306022350]
	org.netbeans.modules.xml.core/2 [0.8.1 XMLr35]
	org.netbeans.modules.xsl/1 [0.8.1 XMLr35]
	org.openide.src [1.0.1 200306022350]
	org.openide.compiler [1.0.1 200306022350]
	org.netbeans.core.compiler/1 [1.3.1 200306022350]
	org.openide.debugger [1.0.1 200306022350]
	org.netbeans.core.execution/1 [1.2.1 200306022350]
	org.openide.deprecated [1.2.1 200306022350]
	org.netbeans.core.deprecated [1.2.1 200306022350]
	org.netbeans.modules.projects/1 [1.12.2 
200306022350]
	org.netbeans.modules.properties/1 [1.10.1 
200306022350]
	org.netbeans.modules.schema2beans/1 [1.4.1 
200306022350]
	org.netbeans.modules.web.monitor/1 [1.8.1 
200306022350]
	org.openidex.util/2 [2.6.1 200306022350]
	org.netbeans.modules.debugger.core/3 [2.8.1 
200306022350]
	org.netbeans.modules.debugger.jpda/1 [1.14.1 
200306022350]
	org.netbeans.modules.javahelp/1 [1.2.1 200306022350]
	org.netbeans.modules.j2eeserver/2 [1.7.1 
200306022350]
	org.netbeans.modules.jarpackager/2 [1.13.1 
200306022350]
	org.netbeans.modules.classfile/1 [1.7.1 
200306022350]
	org.netbeans.api.java/1 [1.2.1 200306022350]
	org.netbeans.modules.java/1 [1.15.1 200306022350]
	org.netbeans.modules.web.core/1 [1.16.1 
200306022350]
	org.netbeans.modules.editor/1 [1.13.1 200306022350]
	org.netbeans.modules.css/2 [0.8.1 200306022350]
	org.netbeans.modules.diff/1 [1.6.1 200306022350]
	org.netbeans.modules.vcscore/1 [1.8.1 200306022350]
	org.netbeans.modules.vcs.advanced/1 [1.8.1 
200306022350]
	org.netbeans.modules.vcs.cmdline.compat/1 [1.2.1 
200306022350]
	org.netbeans.modules.beans/1 [1.10.1 200306022350]
	org.netbeans.modules.xml.catalog/2 [0.9.1 XMLr35]
	org.netbeans.modules.web.ie/1 [1.15.1 200306022350]
	org.netbeans.modules.web.taglibed/1 [1.11.1 
200306022350]
	org.netbeans.modules.vcs.profiles.vss/1 [1.2.1 
200306022350]
	org.netbeans.modules.web.debug/1 [1.8.1 
200306022350]
	org.netbeans.modules.settings/1 [1.3.1]
	org.netbeans.modules.usersguide/1 [1.12.1 
200306022350]
	org.netbeans.modules.cvsclient/1 [1.7.1 
200306022350]
	org.netbeans.modules.vcs.profiles.pvcs/1 [1.2.1 
200306022350]
	org.netbeans.modules.utilities/1 [1.13.1 
200306022350]
	org.netbeans.modules.group/1 [0.1.1 200306022350]
	org.netbeans.modules.xml.tax/2 [0.8.1 XMLr35]
	org.netbeans.modules.properties.syntax/1 [1.10.1 
200306022350]
	org.netbeans.core.windows/1 [1.1.1 200306022350]
	org.netbeans.modules.applet/1 [1.12.1 200306022350]
	org.netbeans.modules.form/2 [1.12.1 200306022350]
	org.netbeans.modules.i18n/1 [1.12.1 200306022350]
	org.netbeans.modules.i18n.form/2 [1.11.1 
200306022350]
	org.netbeans.modules.text/1 [1.11.1 200306022350]
	org.netbeans.modules.servletapi23/1 [1.3.1 
200306022350]
	org.netbeans.modules.web.jspparser/1 [1.5.1 
200306022350]
	org.netbeans.modules.web.tomcat.tomcat40/1 [1.8.1 
200306022350]
	org.netbeans.modules.web.tomcat.tomcat40.autocompile
/1 [1.5.1 200306022350]
	org.netbeans.modules.xml.tools/2 [0.8.1 
200306022350]
	org.netbeans.modules.db/1 [1.7.1 200306022350]
	org.netbeans.modules.javadoc/1 [1.10.1 200306022350]
	org.netbeans.modules.web.tomcat.bundled/1 [1.3.1 
200306022350]
	org.netbeans.modules.vcs.profiles.cvsprofiles/1 
[1.2.1 200306022350]
	org.netbeans.modules.extbrowser/1 [0.7.1 
200306022350]
	org.netbeans.core.ui/1 [1.1.1 200306022350]
	org.netbeans.modules.autoupdate/1 [2.7.1 
200306022350]
	org.netbeans.modules.welcome/1 [1.4.1 200306022350]
	org.netbeans.modules.xml.schema/1 [0.8.1 
200306022350]
	org.netbeans.modules.image/1 [1.10.1 200306022350]
	org.netbeans.modules.xml.text/2 [0.8.1 XMLr35]
	org.netbeans.modules.web.core.syntax/1 [1.12.1 
200306022350]
	org.apache.tools.ant.module/2 [2.16.1 200306022350]
	org.netbeans.modules.clazz/1 [1.12.1 200306022350]
	org.netbeans.core.ide/1 [1.2.1 200306022350]
Starting system in full screen (MDI) UI mode.
*********** Exception occurred ************ at Thu Aug 07 
10:02:23 CDT 2003
java.lang.NullPointerException
	at javax.swing.text.html.ParagraphView.paint
(ParagraphView.java:217)
	at javax.swing.text.html.TableView.paint
(TableView.java:745)
	at javax.swing.text.BoxView.paintChild
(BoxView.java:144)
	at javax.swing.text.BoxView.paint(BoxView.java:407)
	at javax.swing.text.html.BlockView.paint
(BlockView.java:264)
	at javax.swing.text.BoxView.paintChild
(BoxView.java:144)
	at javax.swing.text.BoxView.paint(BoxView.java:407)
	at javax.swing.text.html.TableView$RowView.paint
(TableView.java:1405)
	at javax.swing.text.html.TableView.paint
(TableView.java:745)
	at javax.swing.text.BoxView.paintChild
(BoxView.java:144)
	at javax.swing.text.BoxView.paint(BoxView.java:407)
	at javax.swing.text.html.BlockView.paint
(BlockView.java:264)
	at javax.swing.text.BoxView.paintChild
(BoxView.java:144)
	at javax.swing.text.BoxView.paint(BoxView.java:407)
	at javax.swing.text.html.BlockView.paint
(BlockView.java:264)
	at javax.swing.plaf.basic.BasicTextUI$RootView.paint
(BasicTextUI.java:1319)
	at javax.swing.plaf.basic.BasicTextUI.paintSafely
(BasicTextUI.java:636)
	at javax.swing.plaf.basic.BasicTextUI.paint
(BasicTextUI.java:770)
	at javax.swing.plaf.basic.BasicTextUI.update
(BasicTextUI.java:749)
	at javax.swing.JComponent.paintComponent
(JComponent.java:541)
	at javax.swing.JComponent.paint(JComponent.java:808)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JViewport.paint(JViewport.java:722)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at 
org.netbeans.core.windows.frames.CloseButtonTabbedPane.paint
(CloseButtonTabbedPane.java:209)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at 
org.netbeans.core.windows.frames.PerimeterPane.paint
(PerimeterPane.java:103)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JLayeredPane.paint
(JLayeredPane.java:557)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JLayeredPane.paint
(JLayeredPane.java:557)
	at 
org.netbeans.core.windows.frames.DesktopPane$CenterDesktopPa
ne.paint(DesktopPane.java:427)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JViewport.paint(JViewport.java:722)
	at javax.swing.JComponent.paintChildren
(JComponent.java:647)
	at javax.swing.JComponent.paint(JComponent.java:817)
	at javax.swing.JComponent.paintWithOffscreenBuffer
(JComponent.java:4795)
	at javax.swing.JComponent.paintDoubleBuffered
(JComponent.java:4748)
	at javax.swing.JComponent._paintImmediately
(JComponent.java:4692)
	at javax.swing.JComponent.paintImmediately
(JComponent.java:4495)
	at javax.swing.RepaintManager.paintDirtyRegions
(RepaintManager.java:410)
	at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.r
un(SystemEventQueueUtilities.java:117)
	at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent
(EventQueue.java:454)
[catch] at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
Comment 1 pzajac 2003-08-07 17:15:39 UTC
Bug is in swing html renderer. Please report this bug to bugparade on 
www.javasoft.com. 
Comment 2 iformanek 2003-08-07 17:38:44 UTC
Reopening, the justification for closing the bug is 
insufficient.

It is similar as if I bought a car and on the way from the 
dealership to my home suddenly the tires came of. I get 
back to the dealer, and he says "the fact that tires come 
off of each care we sell is not my problem, go figure this 
out with the tires vendor".

Petr, if you believe this is a Java bug (not sure if I 
would jump to this conclusion this quickly), please file a 
bug against the JDK, and put the Bugparade link to this 
bug. You are in much better position to do this than the 
poor user, and it *is* in our best interest to track this 
bug down.

And perhaps even fix on our size in the meantime if 
necessary, we have plenty of workarounds in the code for 
known JDK issues.
Comment 3 wolface 2003-08-08 22:08:32 UTC
The same Problem with the same software and content on the log file is
presented in two Compaq Presario 900 laptops not only at first run but
when debbuging *.java files
Comment 4 brotherE 2003-08-18 14:27:14 UTC
I think this is the same issue as 35391.  If that is 
correct, it seems to occur on all of Win98, 2000 and XP.
Comment 5 Marian Mirilovic 2003-08-25 14:10:28 UTC
DOn't forget to reassigne to responsible owner !
Comment 6 Marian Mirilovic 2003-08-25 14:10:51 UTC

*** This issue has been marked as a duplicate of 31760 ***
Comment 7 Marian Mirilovic 2003-09-03 16:25:47 UTC
verifying