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.
Issue transfered from BugTraq : http://developer.java.sun.com/developer/bugParade/bugs/4760540.html P4/S4 ----------------------------- Product Version: Forte for Java 4, Community Edition (Build 020521) IDE Versioning: spec=1.43.3; impl=020521 Language;Country: English;null Operating System: Windows 2000 version 5.0 running on x86 Java; VM; Vendor: 1.4.1; Java HotSpot(TM) Client VM; Sun Microsystems Inc. User Dir: C:\Documents and Settings\ara Install Dir: D:\Java\apps\ffj4 EXTRA RELEVANT SYSTEM CONFIGURATION : I use Perforte for my Perforce SCS integration to Forte (http://www.ubiqsoft.com/projects.PerForte.htm) Also, while searching for a possible resolution to this issue on developer.java.sun.com, I came across a bug that had this exact same stacktrace, but the bug was unfortunately marked as "Closed, not reproducible." The bug ID was 4708042. Unfortunately, this is a major issue keeping my company from migrating to Forte Enterprise instead of JBuilder, since I can't demo the use of Forte without this exception popping up some of the time. The inconsistency of it makes it even worse... A DESCRIPTION OF THE PROBLEM : Inconsistent NullPointerException (happens roughly 3 out of 4 attempts) when I try to build the whole project I have loaded. The project itself is setup to build successfully, since it completes with no errors once the build starts. This only started happening with Forte 4.0. I used 3.0 for the same project, and it never happened then. Also, I use the latest version of Perforte for my Perforce (SCS) integration to Forte, but I used this product with 3.0 as well, so I don't think this is the culprit, but you never know. This is the error I keep receiving (it's been happening since day one of my switchover to Forte 4.0) and it's very annoying: Mon Oct 07 09:34:35 PDT 2002: java.lang.NullPointerException: <no message> java.lang.NullPointerException at org.openide.compiler.Graph.computeDepth(Graph.java:219) at org.openide.compiler.Graph.computeDepth(Graph.java:238) at org.openide.compiler.Graph.computeDepth(Graph.java:238) at org.openide.compiler.Graph.depth(Graph.java:171) at org.openide.compiler.Graph.getLevels(Graph.java:77) at org.openide.compiler.CompilerJob.computationLevels(CompilerJob.java:171) at org.openide.compiler.CompilationEngine.createComputationLevels(CompilationEngine.java:48) at org.netbeans.core.compiler.CompilationEngineImpl.createLevels(CompilationEngineImpl.java:123) [catch] at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.r REGRESSION. Last worked in version 4_fcs STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1) Start Forte 4.0 2) Activate "Project X" tab in Explorer 3) Right-click on "Project X" node at the root and select "Build Project" EXPECTED VERSUS ACTUAL BEHAVIOR : Expected - Roughly 25% of the time, the "Build Project" works as expected and builds the project successfully. Actual - Roughly 75% of the time, I get an error dialog shortly after selecting "Build Project" with the exception I pasted in the description to this bug, and the output windows displays: "Errors compiling Project X." Here is the exception again: Mon Oct 07 09:34:35 PDT 2002: java.lang.NullPointerException: <no message> java.lang.NullPointerException at org.openide.compiler.Graph.computeDepth(Graph.java:219) at org.openide.compiler.Graph.computeDepth(Graph.java:238) at org.openide.compiler.Graph.computeDepth(Graph.java:238) at org.openide.compiler.Graph.depth(Graph.java:171) at org.openide.compiler.Graph.getLevels(Graph.java:77) at org.openide.compiler.CompilerJob.computationLevels(CompilerJob.java:171) at org.openide.compiler.CompilationEngine.createComputationLevels(CompilationEngine.java:48) at org.netbeans.core.compiler.CompilationEngineImpl.createLevels(CompilationEngineImpl.java:123) [catch] at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.r ERROR MESSAGES/STACK TRACES THAT OCCUR : Mon Oct 07 09:34:35 PDT 2002: java.lang.NullPointerException: <no message> java.lang.NullPointerException at org.openide.compiler.Graph.computeDepth(Graph.java:219) at org.openide.compiler.Graph.computeDepth(Graph.java:238) at org.openide.compiler.Graph.computeDepth(Graph.java:238) at org.openide.compiler.Graph.depth(Graph.java:171) at org.openide.compiler.Graph.getLevels(Graph.java:77) at org.openide.compiler.CompilerJob.computationLevels(CompilerJob.java:171) at org.openide.compiler.CompilationEngine.createComputationLevels(CompilationEngine.java:48) at org.netbeans.core.compiler.CompilationEngineImpl.createLevels(CompilationEngineImpl.java:123) [catch] at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.r This bug can be reproduced often. CUSTOMER WORKAROUND : It's inconsistent, but happens more often than not, and only when I try to build the whole project. CLASSPATH : D:\Java\apps\ffj4\lib\patches\openide-compat.jar;D:\Java\apps\ffj4\lib\locale\core_f4j.jar;D:\Java\apps\ffj4\lib\locale\core_f4j_ce.jar;D:\Java\apps\ffj4\lib\locale\openide_f4j.jar;D:\Java\apps\ffj4\lib\core.jar;D:\Java\apps\ffj4\lib\openide.jar;D:\Java\apps\ffj4\lib\ext\aspectjrt.jar;D:\Java\apps\ffj4\lib\ext\bsh-1_0-fj.jar;D:\Java\apps\ffj4\lib\ext\CLooks_120.jar;D:\Java\apps\ffj4\lib\ext\cmd.jar;D:\Java\apps\ffj4\lib\ext\crimson.jar;D:\Java\apps\ffj4\lib\ext\ddl.jar;D:\Java\apps\ffj4\lib\ext\fjscript.jar;D:\Java\apps\ffj4\lib\ext\jaas.jar;D:\Java\apps\ffj4\lib\ext\jcert.jar;D:\Java\apps\ffj4\lib\ext\jh.jar;D:\Java\apps\ffj4\lib\ext\jnet.jar;D:\Java\apps\ffj4\lib\ext\jsse.jar;D:\Java\apps\ffj4\lib\ext\kunststoff.jar;D:\Java\apps\ffj4\lib\ext\logger.jar;D:\Java\apps\ffj4\lib\ext\nextlf.jar;D:\Java\apps\ffj4\lib\ext\oracle-jdbc-8.1.7.1.jar;D:\Java\apps\ffj4\lib\ext\parser.jar;D:\Java\apps\ffj4\lib\ext\regexp.jar;D:\Java\apps\ffj4\lib\ext\SBSErrorManager.jar;D:\Java\apps\ffj4\lib\ext\terminalemulator.jar;D:\Java\apps\ffj4\lib\ext\xerces.jar;D:\Java\apps\ffj4\lib\ext\jdbc20x.zip;N:\sahara-bin\jdk-1.4.0\lib\dt.jar;N:\sahara-bin\jdk-1.4.0\lib\tools.jar LOADED MODULES : org.netbeans.modules.jarpackager (1.9.3/020521/enabled) org.netbeans.modules.utilities (1.7.3/020521/enabled) org.netbeans.modules.applet (1.7.3/020521/enabled) org.exolab.castor.xml (0.9.3.9/0.9.3.9/enabled) org.netbeans.modules.web.debug (1.0.2/020521/enabled) org.netbeans.modules.jdbc (1.2.1/020521/enabled) org.netbeans.modules.xml.tools (0.2.9/200206171534/enabled) org.netbeans.modules.autoupdate (2.1.2/020521/enabled) org.netbeans.modules.xml.core (0.2.9/200206171534/enabled) org.apache.soap2 (2.2/SOAP 2.2 release/enabled) org.netbeans.modules.apisupport (2.10.2/200201182009/enabled) org.netbeans.modules.web.tomcat.tomcat40 (1.1.2/020521/enabled) com.gentleware.poseidon.sequence (1.3/1/enabled) com.sun.forte4j.modules.dbmodel.jdbcimpl (1.2.1/020521/enabled) org.netbeans.modules.servletapi (1.0.3/020521/enabled) com.sun.forte4j.modules.depclass (2.1/020521/enabled) org.netbeans.modules.xml.catalog (0.2.9/200206171534/enabled) org.netbeans.modules.web.monitor (1.5.1/020521/enabled) org.netbeans.modules.logger (1.4.1/020521/enabled) com.sun.xml.registry1 (1.0/1.0/enabled) org.netbeans.modules.diff (1.2/${buildnumber}/enabled) org.netbeans.modules.debugger.core (2.1.3/020521/enabled) org.netbeans.modules.xml.text (0.2.9/200206171534/enabled) com.xpdev.refactory (1.1.2/1.1.2, 200208211349/enabled) com.sun.forte4j.j2ee.lib (1.1/020521/enabled) org.netbeans.modules.extbrowser (0.3.3/020521/enabled) org.netbeans.modules.web.assemblee (1.0.1/020521/enabled) org.netbeans.modules.web.dd.editors (1.0.1/020521/enabled) org.netbeans.modules.form (1.7.3/020521/enabled) com.gentleware.poseidon.core (1.3.1/1.3.1/enabled) org.netbeans.modules.sim.sunbridge (1.17/20020716/enabled) org.apache.commons.logging (1.0/1.0/enabled) org.netbeans.modules.servletapi23 (1.1.1/020521/enabled) org.netbeans.modules.xml (0.2.9/200206171534/enabled) org.netbeans.modules.usersguide (1.9.3/020521/enabled) org.netbeans.modules.schema2beans (1.2/020521/enabled) org.netbeans.modules.xml.tree (0.2.9/200206171534/enabled) org.netbeans.modules.j2eeserver (1.3/020521/enabled) org.netbeans.modules.java (1.7.3/020521/enabled) org.netbeans.modules.vcs.cmdline.compat (1.0.2/020521/enabled) org.netbeans.modules.remotefs (1.4/20020103/enabled) org.netbeans.modules.classfile (1.3.3/020521/enabled) org.netbeans.modules.editor (1.8.3/020521/enabled) org.netbeans.modules.filecopy (1.7/20020103/enabled) javax.mail (1.1.3/1.1.3/enabled) com.gentleware.poseidon.enhancedEditor (1.3/1/enabled) com.sun.jndi.fscontext (1.2/1.2/enabled) org.netbeans.modules.cvsclient (1.4.3/020521/enabled) org.netbeans.modules.xml.editor.coloring (0.2.8/020521/enabled) org.netbeans.modules.httpserver (1.7.3/020521/enabled) com.gentleware.poseidon.usecase (1.3/1/enabled) com.sun.ffj.modules.registration (1.1/020521/enabled) org.netbeans.modules.web.ie (1.6.2/020521/enabled) org.netbeans.modules.sim.bugsubmitter (2.1.1/20020828/enabled) org.netbeans.modules.image (1.7.2/020521/enabled) org.netbeans.modules.properties.syntax (1.7.3/020521/enabled) org.netbeans.modules.debugger.jpda (1.9.3/020521/enabled) org.netbeans.modules.web.core.syntax (1.6.2/020521/enabled) org.netbeans.modules.web.tomcat.tomcat40.autocompile (1.1.2/020521/enabled) org.netbeans.modules.xml.tax (0.5.9/200206171534/enabled) com.gentleware.poseidon.collaboration (1.3/1/enabled) com.gentleware.poseidon.classes (1.3/1/enabled) org.netbeans.modules.vcs.advanced (1.5.3/020521/enabled) com.sun.xml.messaging (1.0/1.0/enabled) org.netbeans.modules.beans (1.7.3/020521/enabled) com.gentleware.poseidon.state (1.3/1/enabled) org.openidex.util (2.2.3/020521/enabled) org.netbeans.modules.debugger.debug (1.9.3/020521/enabled) org.netbeans.modules.text (1.7.3/020521/enabled) com.gentleware.poseidon.deployment (1.3/1/enabled) org.apache.tools.ant.module (2.7.3/020521/enabled) org.netbeans.modules.db (1.5.3/020521/enabled) org.netbeans.modules.javadoc (1.7.3/020521/enabled) org.netbeans.modules.vcscore (1.5.3/020521/enabled) org.netbeans.modules.properties (1.7.3/020521/enabled) org.netbeans.modules.css (0.2.9/200206171534/enabled) org.dom4j (1.1/1.1/enabled) org.netbeans.modules.web.taglibed (1.5.1/020521/enabled) com.gentleware.poseidon.uml.reveng (1.3/1/enabled) org.netbeans.modules.sim (1.1.2/20020806/enabled) org.netbeans.modules.clazz (1.8.3/020521/enabled) org.netbeans.modules.autoupdateffj (1.0/020521/enabled) org.netbeans.modules.html (1.8.3/020521/enabled) org.netbeans.modules.web.jspparser (1.0.2/020521/enabled) org.apache.log4j (1.1.3/1.1.3/enabled) org.netbeans.modules.i18n (1.9.3/020521/enabled) org.netbeans.modules.sysprops (1.5/200112141318/enabled) org.netbeans.modules.projects (1.7.3/020521/enabled) org.netbeans.modules.i18n.form (1.8.3/020521/enabled) org.netbeans.modules.apisupport.lite (0.2.3/dev-000/enabled) org.netbeans.modules.innertesters (0.7/release-0.7/enabled) org.netbeans.modules.web.core (1.6.2/020521/enabled)
[S1S CUSTBUG]
This issue is fixed long ago (don't remember the other issue #)
verified