Closed GoogleCodeExporter closed 8 years ago
I'v encountered the same error message, even the custom directory
implementation is inherited from FSDirectory. Below is my solution to this
problem:
In the "Luke.java" file, change the code lines in "public void openOk(Object dialog)" method as follow,
Object dirImpl = getSelectedItem(find(dialog, "dirImpl"));
String dirClass = null;
if (dirImpl == null) {
- dirClass = FSDirectory.class.getName();
+ dirClass = getString(find(dialog, "dirImpl"), "text");
+ try {
+ Class.forName(dirClass);
+ } catch (Exception e) {
+ errorMsg("Invalid directory implementation class: " + dirClass);
+ return;
+ }
} else { ...
Original comment by eggw...@hotmail.com
on 10 Jun 2010 at 10:13
Patch applied to branch-3x (rev. 58) and trunk (rev. 59). Thank you!
Original comment by sig...@gmail.com
on 27 Apr 2011 at 10:49
Original issue reported on code.google.com by
mitja.le...@gmail.com
on 30 May 2010 at 7:36Attachments: