| Summary: | [local] NPE trying to delete a local folder that has no permissions at all | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Martin Oberhuber <mober.at+eclipse> | ||||
| Component: | RSE | Assignee: | Martin Oberhuber <mober.at+eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | dmcknigh | ||||
| Version: | 3.2 | Flags: | dmcknigh:
review+
|
||||
| Target Milestone: | 3.2 RC3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 314439 | ||||||
| Attachments: |
|
||||||
|
Description
Martin Oberhuber
Created attachment 169990 [details]
trivial patch
Attached trivial patch fixes the issue. With the fix, an exception is now reported as expected instead of the NPE:
Exception in tearDown.deleteTestStore:
org.eclipse.core.runtime.CoreException: Failed to delete: /folk/mober/rseTest1274877741316: rse://LOCALHOST/folk/mober/rseTest1274877741316
at org.eclipse.rse.internal.efs.RSEFileStoreImpl.rethrowCoreException(RSEFileStoreImpl.java:629)
at org.eclipse.rse.internal.efs.RSEFileStoreImpl.delete(RSEFileStoreImpl.java:803)
at org.eclipse.rse.internal.efs.RSEFileStore.delete(RSEFileStore.java:362)
at org.eclipse.rse.tests.subsystems.files.RSEFileStoreTest.tearDown(RSEFileStoreTest.java:174)
Caused by: org.eclipse.rse.services.clientserver.messages.SystemOperationFailedException: Failed to delete: /folk/mober/rseTest1274877741316
at org.eclipse.rse.internal.services.local.files.LocalFileService.delete(LocalFileService.java:1081)
at org.eclipse.rse.subsystems.files.core.servicesubsystem.FileServiceSubSystem.delete(FileServiceSubSystem.java:975)
Dave can you review this trivial fix please? Released > I20100526. |