When installing SmartOpen 2.1 in jEdit 5.3 I get an error message:
*"java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/io/File;)Lorg/apache/lucene/store/FSDirectory;"
*
In jEdit 5.1 there's no such error.
jEdit 5.3 (clean install, start w/o settings dir, no plugins before SmartOpen install)
Oracle Java 1.8.0_73
Windows 8.1
This looks like fallout from the Lucene Plugin upgrade, I'll have a look.
Hi, I partially fixed the bug, in fact LucenePlugin was upgraded from lucene 4 to 5.
There are still some problems with frequency search:
In Lucene 5 we cannot sort a field the same way. I replaced the frequency field by a NumericDocValuesField which is the good way to do it, but there are still some problems to update it's value later.
If you want to take a look you are welcome
Hi Matthieu, no thats fine. I was only going to do the upgrade to Lucene 5.2 anyway.
I'll re-assign the ticket back to you
I am seeing this same error. Not sure exactly when it occured (may have been when LucenePlugin updated to 4.2).
I am running; JEdit=5.5, SmartOpen=2.1, CommonControls=1.7.4, LucenePlugin=4.2, ProjectViewer=3.6, Java=(build 1.8.0_311-b11), win10.
I have tried regressing to SmartOpen 1.1 without success.
Anything else I can try?
Hi, can you try with those updated versions ?
https://github.com/kpouer/jEdit-plugin-Lucene/releases/tag/9.0-1
https://github.com/kpouer/jEdit-plugin-SmartOpen/releases/tag/3.0-1
Looks like these are NOT compatible with my Java version.
"Requires Java 11 or later, but you only have version 1.8.0_321."
Looks like I'll have to upgrade... I have been putting it off for a while.
I'll let you know how it goes.
Thanks for the reply.
Darrin
On Fri, 11 Mar 2022 at 17:49, Matthieu Casanova kpouer@users.sourceforge.net wrote:
Related
Plugin Bugs: #1846
Any advice on upgrading to Java 11? I only use it for JEdit. Spent some
time reading up on this and it seems to be a bit of a mess.
Regards
Darrin
On Sat, 12 Mar 2022 at 09:48, Darrin Nagy darrin.nagy@gmail.com wrote:
Related
Plugin Bugs: #1846
I upgraded Java and updated the plugins. I no longer get the error,
however the smartopen dialog doesn't show any files. I have re-indexed and
explicitly added a directory. Still no files are shown under the text
entry window. I have a project open. Have re-indexed the project - again
no files shown. Have restarted jedit a few times too. Any ideas?
Darrin
On Sat, 12 Mar 2022 at 10:27, Darrin Nagy dal2@users.sourceforge.net
wrote:
Related
Plugin Bugs: #1846