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.
Summary: | Code deleted on accepting reload external file | ||
---|---|---|---|
Product: | java | Reporter: | Bharat Bansal <bharat> |
Component: | Unsupported | Assignee: | Ivan Bradac <ibradac> |
Status: | CLOSED WORKSFORME | ||
Severity: | blocker | CC: | prgsust, sdedic |
Priority: | P1 | ||
Version: | -FFJ- | ||
Hardware: | PC | ||
OS: | Windows 3.1/NT | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Bharat Bansal
2001-03-12 09:35:43 UTC
Svata, can you please look at this? From stack trace I think this can be in java module. Yes, it is probably a bug in the java module - but I would suggest to update to at least Forte4j 2.0 CE; maybe NetBeans 3.1 would be even better. 1.0CE even with all the updates contains too much bugs and is quite ancient at this time. dispatched to java module. Sustainers for java module should care about it. Mila Sustaining added to CC. I cannot verify that the exception can't happen in the current version, although I doubt it. It seems that (at the line that caused the error) either EditorKit was null, or the current document was null. The latter was a source of several errors and was hopefully fixed over the time. AFAIK it occured only when requests for open document and close document were done quickly one after another (or in the opposite order?) Closing as WORKSFORME -- nothing like this was observed in Forte4j 2.0 / NetBenas 3.1. Even in the CE 1.0.1 it seems to happen in some weird situations too. Please consider upgrade to f4jCE 2.0 (free) or NetBeans 3.1 (also free). Using NetBeans v3.2, Development Version (Build 181) I've encountered this error several times, which is very frustrating - hey, I'm losing sourcecode here! I'm not using the Forms-editor - only the editor for Java source-files. When the problem occurs, 2 dialog-boxes appear simultaneously - one with "Cannot save" and another with "The file has been modified externally - reload?". Somehow the source-file is truncated to 0 bytes by NetBeans - no other program accesses the files - this is for sure. So when answering "Yes" to the latter dialog, it simply reads the 0 bytes file and voila - my source has vanished. When answering "No", it is possible to ignore the problem, and simply save the according file. You are welcome to mail me for additional information at nog@psydazer.com. Hope to see a fix for this issue - REAL soon! Resolved for 3.3.x or earlier, no new info since then -> closing. Resolved for 3.4.x or earlier, no new info since then -> closing. |