JDK-4505073 : Weird java.lang.NoClassDefFoundError exception while attempting to java.io.*
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.4.0
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-09-20
  • Updated: 2001-09-20
  • Resolved: 2001-09-20
Related Reports
Duplicate :  
Description
JDK 1.4 Beta 3 build #80 on Windows 2000

Description:
============
When Forte for Java 3.0 FCS build #010817 is installed and run using above men-
tioned build of JDK 1.4 Beta 3 i.e. brand new user directory is used, besides error message also below attached exception is thrown. This works perfectly with b79 and our developers are sure it is not IDE's problem. This exception occurs at several places in the IDE and avoids to use crucial functionality like commi-
tting changes into repository using Command-line CVS Client.

Steps to reproduce:
===================
1. Instal JDK 1.4 Beta 3 #80 on the machine.
2. Use it when installing Forte for Java 3.0 FCS.
3. Be sure your user directory is empty and launch the IDE.
4. Confirm the error message and go on until exception shows up.



Thu Sep 20 12:47:44 CEST 2001: java.lang.NoClassDefFoundError: null
java.lang.NoClassDefFoundError
        at java.io.FileOutputStream.getChannel(FileOutputStream.java:309)
        at java.io.OutputStreamWriter$CharsetByteOutputter.<init>(OutputStreamWr
iter.java:300)
        at java.io.OutputStreamWriter.setup(OutputStreamWriter.java:93)
        at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:123)
        at java.util.Properties.store(Properties.java:448)
        at org.netbeans.modules.form.palette.BeanInstaller.addJarFileSystem(Bean
Installer.java:260)
        at org.netbeans.modules.form.palette.BeanInstaller.installBeans(BeanInst
aller.java:169)
        at org.netbeans.modules.form.palette.BeanInstaller.autoLoadJar(BeanInsta
ller.java:647)
        at org.netbeans.modules.form.palette.BeanInstaller.autoLoadFolders(BeanI
nstaller.java:562)
        at org.netbeans.modules.form.palette.BeanInstaller.autoLoadBeans(BeanIns
taller.java:452)
        at org.netbeans.modules.form.FormEditorModule.restored(FormEditorModule.
java:86)
        at org.netbeans.core.ModuleItem.restoreCode(ModuleItem.java:763)
        at org.netbeans.core.ModuleInstaller.initialize(ModuleInstaller.java:267
)
        at org.netbeans.core.NonGui.run(NonGui.java:484)
        at org.netbeans.core.Main.run(Main.java:187)
        at org.openide.TopManager.initializeTopManager(TopManager.java:120)
        at org.openide.TopManager.getDefault(TopManager.java:81)
        at org.netbeans.core.Main.main(Main.java:274)
        at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90)
[catch] at java.lang.Thread.run(Thread.java:539)