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: | Informational dialog instead of Exception for : The file x.java does not exist as a local copy. Check it out first. | ||
---|---|---|---|
Product: | java | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Unsupported | Assignee: | Jan Becicka <jbecicka> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Marian Mirilovic
2004-07-20 16:43:15 UTC
Stack trace ... Annotation: The file src/org/netbeans/a11y/AccessibilityTester.java does not exist as a local copy. Check it out first. org.netbeans.modules.vcscore.VcsFileSystem$14: The file src/org/netbeans/a11y/AccessibilityTester.java does not exist as a local copy. Check it out first. at org.netbeans.modules.vcscore.VcsFileSystem.inputStream(VcsFileSystem.java:3864) at org.openide.filesystems.AbstractFileObject.getInputStream(AbstractFileObject.java:156) at org.netbeans.modules.masterfs.MasterFileObject.getInputStream(MasterFileObject.java:122) at org.netbeans.modules.javacore.parser.ASTProvider.getRealSource(ASTProvider.java:363) at org.netbeans.modules.javacore.parser.ASTProvider.getReader(ASTProvider.java:396) [catch] at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directUpdate(ResourceImpl.java:501) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.updateFromDataObject(ResourceImpl.java:378) at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:355) at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:304) at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:288) at org.netbeans.modules.javacore.RepositoryUpdater.run(RepositoryUpdater.java:204) I'm sorry, I can not fix that. The filesystem must throw IOException. Whoever catches the exception can display an information dialog instead. Exception is thrown correctly. This is not UI problem. Delete action should not request input stream at all. Problem is, that JMManager.getResource() does updateFromDataObject(). Fixed. Checking in javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v <-- RepositoryUpdater.java new revision: 1.13; previous revision: 1.12 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/java/JavaNode.java; /cvs/java/src/org/netbeans/modules/java/JavaNode.java,v <-- JavaNode.java new revision: 1.109; previous revision: 1.108 done verified in NB4.0 Reorganization of java component |