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: | Exception when clicking on .properties file in Files view. | ||
---|---|---|---|
Product: | contrib | Reporter: | moizd <moizd> |
Component: | Code | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dsimonek, mentlicher |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
moizd
2004-11-12 04:06:59 UTC
Looking at the stack trace of the root exception, it may be due to the Navigator module I have installed. It is due to Navigator; but why is the VCS module throwing a UserQuestionException here? Maybe because the file is source controlled and read only? But i wasn't doing any editing operations, simply clicked on the .properties file node in the Files view. UserQuestionException is an IOException. It's catched by Editor and a dialog with the question is presented to the user. UserQuestionException.confirm() is called when the reply is positive. That will make the file writable. I got no dialog to edit the file and make it writable, just the exception message I think it's probably because the propagator module tries to lock the file (perhaps I don't need to...). Checking in propagator/src/org/netbeans/modules/propagator/PropertiesModel.java; /cvs/contrib/navigator/propagator/src/org/netbeans/modules/propagator/ PropertiesModel.java,v <-- PropertiesModel.java new revision: 1.2; previous revision: 1.1 done |