Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error dialog appears when selecting from Menu Language > J > Java #204

Open
Pavitrag opened this issue Feb 29, 2020 · 3 comments
Open

Error dialog appears when selecting from Menu Language > J > Java #204

Pavitrag opened this issue Feb 29, 2020 · 3 comments

Comments

@Pavitrag
Copy link

Whenever I paste a snippet of java code and then select from menu, Language > J > Java, I see following error appearing in a dialog box:

Plugin Exception

An exception occurred due to plugin: DSpellCheck.dll
Exception reason: vector too long

OK

version of notepad++ : v7.8.4 (32-bit)
OS: Windows 10

@Predelnik
Copy link
Owner

Can you please send me an exact snippet where it occurs if it's not a problem. You can do so here or via e-mail if you wish.

@Pavitrag
Copy link
Author

Pavitrag commented Mar 4, 2020

Hi,
Thanks! for reverting.
Here's the snippet for your testing:
-----------line below starts snippet-----------------
void createDeltaIndexAndMerge(List objsToIndex, boolean metaData) throws Exception {

for (Locale locale : allLocales) {
    
    
        

    deltaIndexWriter = new IndexWriter(deltaIndexLocation, AnalyzerFactory.makeAnalyzer(locale.getLanguage(), false), !exist, IndexWriter.MaxFieldLength.LIMITED);
    
}		
if (deltaIndexWriter!= null)
    deltaIndexWriter.close();





    
    
    
     
    
    
    
    
    
     
}

}
--------------line above ends snippet---------------------------

@Predelnik
Copy link
Owner

Thank you for posting unfortunately still can't reproduce it locally, maybe it depends on window size or something like that. If you don't mind can you send me dump file for when the window with error appears on your end like this:
image

Also just to make sure - you are using the latest version of the plugin, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants