NPE in MediatedFileChannel in IOException due to insufficient permission
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Akiban Persistit |
Confirmed
|
Low
|
Peter Beaman |
Bug Description
Ran across this while debugging something else:
Thread [main] (Suspended (exception NullPointerExce
MediatedFileCh
VolumeStorageV
VolumeStorageV
Volume.
Persistit.
Persistit.
Persistit.
CLI.open(String, String, String, int, boolean) line: 735
NativeMethodAc
NativeMethodAc
DelegatingMeth
Method.
CLI$Command.
CLI$Command.
CLI.commandLoop() line: 643
CLI.access$
CLI$12.runTask() line: 1328
Persistit.
due to inability to open the lock channel file. Pretty minor, but needs to get fixed sometime.
Changed in akiban-persistit: | |
assignee: | nobody → Peter Beaman (pbeaman) |
To explain: this is an attempt to open a database using the CLI in a user account that does not have permission to access the files. The error should be reported clearly. Instead, an unhelpful NPE is generated.