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.
This NullPointerException occured while starting up netbeans-3.4-rc2 for the first time ------------------------------------------------------------------------------- >Log Session: Friday, August 16, 2002 11:14:04 AM PDT >System Info: Product Version = NetBeans IDE 3.4 RC 2 IDE Versioning = IDE/1 spec=2.23.1 impl=200208130340 Operating System = SunOS version 5.8 running on sparc Java; VM; Vendor = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; Sun Microsystems Inc. Java Home = /files/tools/s1as-7.0-beta/jdk/jre System Locale; Encod. = en; ISO646-US Home Dir; Current Dir = /mnt/home/dhilder; /files/devl/EHT/ehs_api/src IDE Install; User Dir = /files/tools/netbeans-3.4-rc2; /mnt/home/dhilder/.netbeans/3.4 CLASSPATH = /files/tools/netbeans-3.4-rc2/lib/patches/openide-compat.jar:/files/tools/netbeans-3.4-rc2/lib/core-compiler.jar:/files/tools/netbeans-3.4-rc2/lib/core-execution.jar:/files/tools/netbeans-3.4-rc2/lib/core-ide.jar:/files/tools/netbeans-3.4-rc2/lib/core-ui.jar:/files/tools/netbeans-3.4-rc2/lib/core-windows.jar:/files/tools/netbeans-3.4-rc2/lib/core.jar:/files/tools/netbeans-3.4-rc2/lib/openide.jar:/files/tools/netbeans-3.4-rc2/lib/ext/crimson.jar:/files/tools/netbeans-3.4-rc2/lib/ext/regexp.jar:/files/tools/netbeans-3.4-rc2/lib/ext/rmi-ext.jar:/files/tools/netbeans-3.4-rc2/lib/ext/terminalemulator.jar:/files/tools/netbeans-3.4-rc2/lib/ext/xerces.jar:/files/tools/netbeans-3.4-rc2/lib/ext/xml-apis.jar:/files/tools/s1as-7.0-beta/jdk/lib/dt.jar:/files/tools/s1as-7.0-beta/jdk/lib/htmlconverter.jar:/files/tools/s1as-7.0-beta/jdk/lib/htmlconverter_g.jar:/files/tools/s1as-7.0-beta/jdk/lib/tools.jar Boot & ext classpath = /files/tools/s1as-7.0-beta/jdk/jre/lib/rt.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/i18n.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/sunrsasign.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/jsse.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/jce.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/charsets.jar:/files/tools/s1as-7.0-beta/jdk/jre/classes:/files/tools/s1as-7.0-beta/jdk/jre/lib/ext/sunjce_provider.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/ext/dnsns.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/ext/localedata.jar:/files/tools/s1as-7.0-beta/jdk/jre/lib/ext/ldapsec.jar ------------------------------------------------------------------------------- WARNING - the WizardDescriptor.Panel implementation org.netbeans.core.upgrade.PreUpgradePanel provides itself as the result of getComponent(). This can cause a clash when Component.isValid() is overridden. Please use a separate component class. WARNING - the WizardDescriptor.Panel implementation org.netbeans.core.upgrade.UpgradePanel provides itself as the result of getComponent(). This can cause a clash when Component.isValid() is overridden. Please use a separate component class. WARNING - the WizardDescriptor.Panel implementation org.netbeans.core.upgrade.TransferSettingsPanel provides itself as the result of getComponent(). This can cause a clash when Component.isValid() is overridden. Please use a separate component class. Warning: the module /files/tools/netbeans-3.4-rc2/modules/toolsDebugger.jar could not be found, ignoring... Warning: the module /files/tools/netbeans-3.4-rc2/modules/jsp-syntax.jar could not be found, ignoring... Warning: the module /files/tools/netbeans-3.4-rc2/modules/i18n-form.jar could not be found, ignoring... Warning: the module /files/tools/netbeans-3.4-rc2/modules/jsp-tomcat.jar could not be found, ignoring... Warning: the module /files/tools/netbeans-3.4-rc2/modules/properties-syntax.jar could not be found, ignoring... New modules: org.netbeans.modules.properties.syntax/1 [1.8.1 200208130340] org.netbeans.modules.i18n.form/2 [1.9.1 200208130340] org.netbeans.modules.web.core.syntax/1 [1.9.1 200208130340] [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Node in org.netbeans.modules.debugger.core is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] (See http://www.netbeans.org/issues/show_bug.cgi?id=19609, last comment, for howto.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.makefile is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.makefile is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Description in org.netbeans.modules.makefile is deprecated. [org.netbeans.core.modules] (Please install help using an XML layer instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Node in org.netbeans.modules.cpplite.CPPSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] (See http://www.netbeans.org/issues/show_bug.cgi?id=19609, last comment, for howto.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.CPPSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.CPPSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Option in org.netbeans.modules.cpplite.CPPSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.CPPSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.CPPSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Node in org.netbeans.modules.j2eeserver is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] (See http://www.netbeans.org/issues/show_bug.cgi?id=19609, last comment, for howto.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.jni.sync.SyncSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.jni.sync.SyncSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) [org.netbeans.core.modules] Use of OpenIDE-Module-Class: Service in org.netbeans.modules.cpplite.jni.sync.SyncSupport is obsolete. [org.netbeans.core.modules] (Please use layer-based installation of objects instead.) Serializable class org.netbeans.modules.cpplite.compiler.library.LibraryCompilerType does not declare serialVersionUID field. Encountered while storing: [] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.executor.makefile.MakefileExecutor does not declare serialVersionUID field. Encountered while storing: [] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.compiler.makefile.MakefileCompilerType does not declare serialVersionUID field. Encountered while storing: [] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.jni.JNIGeneratorSupport does not declare serialVersionUID field. Encountered while storing: [org.netbeans.modules.cpplite.jni.sync.NetbeansJNIGenerator] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.jni.JNIGenerator does not declare serialVersionUID field. Encountered while storing: [org.netbeans.modules.cpplite.jni.sync.NetbeansJNIGenerator, org.netbeans.modules.cpplite.jni.JNIGeneratorSupport] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.jni.sync.SynchronizeJNIFiles$FileType does not declare serialVersionUID field. Encountered while storing: [org.netbeans.modules.cpplite.jni.sync.NetbeansJNIGenerator, org.netbeans.modules.cpplite.jni.JNIGeneratorSupport, org.netbeans.modules.cpplite.jni.JNIGenerator, org.openide.ServiceType] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.jni.JNIGenerator$FileTypeSupport does not declare serialVersionUID field. Encountered while storing: [org.netbeans.modules.cpplite.jni.sync.NetbeansJNIGenerator, org.netbeans.modules.cpplite.jni.JNIGeneratorSupport, org.netbeans.modules.cpplite.jni.JNIGenerator, org.openide.ServiceType, org.netbeans.modules.cpplite.jni.sync.SynchronizeJNIFiles$FileType] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.jni.JNIGenerator$FileType$FileDescriptor does not declare serialVersionUID field. Encountered while storing: [org.netbeans.modules.cpplite.jni.sync.NetbeansJNIGenerator, org.netbeans.modules.cpplite.jni.JNIGeneratorSupport, org.netbeans.modules.cpplite.jni.JNIGenerator, org.openide.ServiceType, org.netbeans.modules.cpplite.jni.sync.SynchronizeJNIFiles$FileType, org.netbeans.modules.cpplite.jni.JNIGenerator$FileTypeSupport] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.compiler.jni.JNICompilerType does not declare serialVersionUID field. Encountered while storing: [] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Serializable class org.netbeans.modules.cpplite.jni.JNIGenerator$HeaderFileType does not declare serialVersionUID field. Encountered while storing: [org.netbeans.modules.cpplite.jni.CompilerJNIGenerator, org.netbeans.modules.cpplite.jni.JNIGeneratorSupport, org.netbeans.modules.cpplite.jni.JNIGenerator, org.openide.ServiceType] See also http://www.netbeans.org/issues/show_bug.cgi?id=19915 Updating module: JPDA Debugger Installing new module: Resource Bundle Syntax Coloring Updating module: General Online Help Updating module: JSP/Servlet Installing new module: JSP Syntax Coloring [org.netbeans.core.modules] *********** Exception occurred ************ at Fri Aug 16 11:49:08 PDT 2002 java.lang.NullPointerException at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.copyDir(Tomcat40Installation.java:521) at org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.internalTomcatConfigurationFilesPreparing(Tomcat40Installation.java:472) at org.netbeans.modules.tomcat.tomcat40.Tomcat40ModuleInstall.restored(Tomcat40ModuleInstall.java:32) at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:322) [catch] at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:243) at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:665) at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:519) at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:463) at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:271) at org.netbeans.core.NonGui.run(NonGui.java:554) at org.netbeans.core.Main.run(Main.java:244) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:396) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:81) at java.lang.Thread.run(Thread.java:536) Turning on modules: org.netbeans.modules.html/1 [1.9.1 200208130340] org.openide/1 [2.23.1 200208130340] org.netbeans.libs.xalan/1 [1.1.1 2.3.1] org.netbeans.modules.properties/1 [1.8.1 200208130340] org.netbeans.modules.javahelp/1 [1.0.1 200208082340] org.netbeans.modules.debugger.core/3 [2.2.1 200208130340] org.netbeans.modules.text/1 [1.8.1 200208130340] org.netbeans.core/1 [1.4.1 200208082340] org.netbeans.modules.jarpackager/2 [1.10.1 200208130340] org.openidex.util/2 [2.3.1 200208130340] org.netbeans.api.java/1 [1.0.1 200208130340] org.netbeans.modules.scripting/1 [1.5.1 200208130340] org.netbeans.modules.editor/1 [1.9.1 200208130340] org.netbeans.modules.makefile/1 [1.3 for-michael-juergens-26-feb-01] org.netbeans.modules.servletapi23/1 [1.2.1 200208130340] org.netbeans.libs.jaxp/1 [1.1.1 1.1.2] org.netbeans.modules.debugger.jpda/1 [1.10.1 200208130340] org.netbeans.modules.servletapi/1 [1.1.1 200208130340] org.netbeans.modules.image/1 [1.8.1 200208130340] org.netbeans.modules.autoupdate/1 [2.2.1 200208130340] org.netbeans.modules.diff/1 [1.4.1 200208130340] org.netbeans.modules.schema2beans/1 [1.3.1 200208130340] org.netbeans.modules.vcscore/1 [1.6.1 200208130340] org.netbeans.modules.cpplite.CPPSupport.syntax/1 [1.1 rc-1] org.netbeans.modules.utilities/1 [1.8.1 200208130340] org.apache.tools.ant.module/2 [2.10.1 200208130340] org.netbeans.modules.cpplite.CPPSupport/1 [1.7 rc-1] org.netbeans.modules.properties.syntax/1 [1.8.1 200208130340] org.netbeans.modules.j2eeserver/2 [1.4.1 200208130340] org.netbeans.modules.usersguide/1 [1.10.1 200208130340] org.netbeans.modules.classfile/1 [1.6.1 200208130340] org.netbeans.modules.projects/1 [1.8.1 200208130340] org.netbeans.core.windows/1 [1.0.1 200208130340] org.netbeans.modules.httpserver/1 [1.9.1 200208130340] org.netbeans.api.xml/1 [1.0.1 200208130340] org.netbeans.modules.xml.tax/1 [0.6.1 200208130340] org.netbeans.modules.java/1 [1.11.1 200208130340] org.netbeans.modules.extbrowser/1 [0.4.1 200208130340] org.netbeans.modules.vcs.advanced/1 [1.6.1 200208130340] org.netbeans.modules.vcs.profiles.cvsprofiles/1 [1.0.1 200208130340] org.netbeans.modules.clazz/1 [1.9.1 200208130340] org.netbeans.core.ui/1 [1.0.1 200208130340] org.netbeans.modules.beans/1 [1.8.1 200208130340] org.netbeans.modules.cpplite.jni.sync.SyncSupport/1 [1.1 rc-1] org.netbeans.modules.xml.core/1 [0.6.1 200208130340] org.netbeans.core.compiler/1 [1.0.1 200208130340] org.netbeans.modules.xml.text/1 [0.6.1 200208130340] org.netbeans.modules.javadoc/1 [1.8.1 200208130340] org.netbeans.modules.web.core/1 [1.8.1 200208130340] org.netbeans.modules.vcs.profiles.vss/1 [1.0.1 200208130340] org.netbeans.modules.xml.tree/1 [0.6.1 200208130340] org.netbeans.modules.xml.tools/1 [0.6.1 200208130340] org.netbeans.core.execution/1 [1.0.1 200208130340] org.netbeans.modules.css/1 [0.6.1 200208130340] org.netbeans.core.ide/1 [1.0.1 200208130340] org.netbeans.modules.vcs.profiles.pvcs/1 [1.0.1 200208130340] org.netbeans.modules.welcome/1 [1.2.1 200208130340] org.netbeans.modules.xml.catalog/1 [0.6.1 200208130340] org.netbeans.modules.web.core.syntax/1 [1.9.1 200208130340] org.netbeans.modules.web.jspparser/1 [1.2.1 200208130340] org.netbeans.modules.xml/2 [0.6.1 200208130340] org.netbeans.modules.web.tomcat.tomcat40/1 [1.4.1 200208130340] org.netbeans.modules.xml.editor.coloring/2 [0.6.1 200208130340] org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 [1.2.1 200208130340] Starting system in full screen (MDI) UI mode. java.io.FileNotFoundException: /mnt/home/dhilder/.netbeans/3.4/system/Projects/Default/system/Windows/WindowManager/Editing/Form.wsmode (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:103) at org.openide.filesystems.LocalFileSystem.inputStream(LocalFileSystem.java:478) at org.openide.filesystems.LocalFileSystem$Impl.inputStream(LocalFileSystem.java:716) at org.openide.filesystems.AbstractFileObject.getInputStream(AbstractFileObject.java:165) at org.openide.filesystems.MultiFileObject.getInputStream(MultiFileObject.java:470) at org.openide.filesystems.MultiFileObject.getInputStream(MultiFileObject.java:470) at org.netbeans.core.windows.layers.ModeData$PropertyHandler.readData(ModeData.java:1353) at org.netbeans.core.windows.layers.ModeData$CookiesImpl.readProperties(ModeData.java:533) at org.netbeans.core.windows.layers.ModeData$CookiesImpl.updateProperties(ModeData.java:469) at org.netbeans.core.windows.layers.ModeData$CookiesImpl.updateAll(ModeData.java:415) at org.netbeans.core.windows.layers.ModeData$CookiesImpl.loadDataSection(ModeData.java:1239) at org.netbeans.core.windows.ModeImpl.ensureSectionLoaded(ModeImpl.java:2373) at org.netbeans.core.windows.ModeImpl.getBounds(ModeImpl.java:818) at org.netbeans.core.windows.ModeImpl.updateBounds(ModeImpl.java:352) at org.netbeans.core.windows.ModeImpl.stateChanged(ModeImpl.java:380) at org.netbeans.core.windows.StateManager.fireStateChanged(StateManager.java:117) at org.netbeans.core.windows.StateManager.setVisibilityState(StateManager.java:142) at org.netbeans.core.windows.StateManager.propertyChange(StateManager.java:164) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:330) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:257) at java.awt.Component.firePropertyChange(Component.java:6607) at org.netbeans.core.windows.MainWindow.doShowWindow(MainWindow.java:237) at org.netbeans.core.windows.MainWindow.access$300(MainWindow.java:59) at org.netbeans.core.windows.MainWindow$4.run(MainWindow.java:212) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:443) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
you use a bad zip unpacking SW your SW deletes empty dirs from the IDE_INSTALLATIN.zip check for example, if the "ide_installation_dir\tomcat404 \common\classes" exists (this folder is empty) if not, change or reoption your SW
*** Issue 26571 has been marked as a duplicate of this issue. ***
Damian, if the bug is as you describe (the common/classes directory is missing) and the plugin croaks because of that, then I think we should minimally catch the exception and say what the problem is and not just throw an exception. Also, I think we need to verify that having those directories missing amounts to an invalid Tomcat installation, as in a Tomcat standalone won't start there if those directories are not there? If Tomcat starts, then I think we should consider this our problem, and even if it doesn't, then we should report the issue properly, with a dialog that explains that something went wrong during the Tomcat installation, and please use an externally installed Tomcat instead.
*** Issue 26713 has been marked as a duplicate of this issue. ***
*** Issue 26696 has been marked as a duplicate of this issue. ***
I will fix it by an Ant task, which will copy a dummy file in empty dirs of the bundled tomcat
*** Issue 26900 has been marked as a duplicate of this issue. ***
*** Issue 27220 has been marked as a duplicate of this issue. ***
*** Issue 23016 has been marked as a duplicate of this issue. ***
Just create 2 empty directories "work" and "logs" in netbeans/tomcat404 and close this issue, and the 6 (at least) other reports of this bug, thanks.
I am embarrassed that it took us this long to fix a simple thing such as this. Fixed in NetBeans trunk.
*** Issue 28209 has been marked as a duplicate of this issue. ***
*** Issue 26871 has been marked as a duplicate of this issue. ***
*** Issue 29219 has been marked as a duplicate of this issue. ***
Given the count of reports it is worth to backport it into 3.4.1
Please, consider some time for integrating these issues to release341 branch today (12 Dec 2002), OK?
And please, provide CVS logs for checkins of sources, that were changed to fix it.
Hopefully it is following changes but Petr knows better. There can be something related. tomcatint/bundledtomcat/build.xml revision 1.6 date: 2002/10/02 09:52:55; author: pjiricka; state: Exp; lines: +5 -0 Bugfix 26570. Copying a dummy file to empty directories, so we are foolproof against unpacking software that does not create them.
Also adding dummy file: http://tomcatint.netbeans.org/servlets/ReadMsg?msgId=385573&listName=cvs Petr?
Backported to release341 branch Checking in tomcatint/bundledtomcat/torelease/dummy; new revision: 1.1.30.1; previous revision: 1.1 done Checking in tomcatint/bundledtomcat/build.xml; new revision: 1.3.12.1; previous revision: 1.3 done
Maxym, thanks for backporting this fix, looks good.
*** Issue 28613 has been marked as a duplicate of this issue. ***
*** Issue 27635 has been marked as a duplicate of this issue. ***
*** Issue 29864 has been marked as a duplicate of this issue. ***
*** Issue 30294 has been marked as a duplicate of this issue. ***
*** Issue 30470 has been marked as a duplicate of this issue. ***
*** Issue 29015 has been marked as a duplicate of this issue. ***
*** Issue 29569 has been marked as a duplicate of this issue. ***
*** Issue 25999 has been marked as a duplicate of this issue. ***
VERIFIED