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.
[Mila] Jardo, don`t you know what could be wrong? I`ve searched the 1.2 VM sources that we have for the message from the exception but I couldn`t find it. It looks like it comes from OS. The readBytes() in jdk1.2-src/src/share/native/java/io/FileInputStream.c calls another readBytes() probably in io_util.c but I have still no idea why this error occurs. [please reassign this to someone else if you know who should fix it] Sometimes when opening a file in the Editor, I get: java.io.IOException: The handle is invalid at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:183) at java.io.BufferedInputStream.read1(BufferedInputStream.java:223) at java.io.BufferedInputStream.read(BufferedInputStream.java:280) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at com.netbeans.developer.modules.loaders.properties.PropertiesEditorSupport$NewLineInputStream.<init>(PropertiesEditorSupport.java:712) at com.netbeans.developer.modules.loaders.properties.PropertiesEditorSupport.loadFromStreamToKit(PropertiesEditorSupport.java:325) at org.openide.text.EditorSupport.loadDocument(EditorSupport.java:674) at org.openide.text.EditorSupport.access$4(EditorSupport.java:667) at org.openide.text.EditorSupport$3.run(EditorSupport.java:303) [snip] Note that this occurs at least on Java sources and property files both, observed in 482 and other builds. After the exception is thrown, the Editor window is empty. Closing the window and reopening th e file is fine, the file comes up normally and all is well. This is not really reproducible, it happens maybe every 10th or 20th file I try to open, sometimes.
Priority is changed to P4 (normal).
Only changed version to Development.
Does the problem occurs only on JDK1.2? In such case I would suggest to close it...
Resolved for 3.3.x or earlier, no new info since then -> closing.