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

XbyK Lucene Search null point error #27

Closed
phixxo opened this issue Jan 31, 2024 · 3 comments
Closed

XbyK Lucene Search null point error #27

phixxo opened this issue Jan 31, 2024 · 3 comments

Comments

@phixxo
Copy link
Member

phixxo commented Jan 31, 2024

Unable to integrate Lucene search into XbK - admin UI throws an error.

  • Installed fresh DancingGoat template website for version 28.2.0
  • Restored the template database with kentico-xperience-dbmanager
  • Run the website to test it, and everything worked well.
    ------Search module does not exist yet.
  • Installed the nuget package Kentico.Xperience.Lucene 4.0.0
    When I run the project again (by using IIS Express from VS) I got the following error message:

image

  • I quickly add the lucene code into Program.cs file
    image

  • Code from previous step solved the live site issue that I previous had and I was able to boot up website. I saw in event log that classes were created for Lucene Module, I was able to confirm the same in the database (saw tables) and I was able to see the 'Search' module on dashboard.
    image

When I clicked to the module, I get the 500 error (can't open module at all, issue occur on every click), which is the reason why I'm reaching out here. You can find the errors attached
err_1.txt
err_2.txt

@seangwright
Copy link
Member

We have several updates that need to be made to improve the module installation process. Hopefully we can get those tested, merged, and published soon.

@seangwright
Copy link
Member

seangwright commented Jan 31, 2024

@phixxo could you try 4.1.0-prelease-3?

You shouldn't need to modify anything in the database or change your code (but you will get some warnings for obsolete APIs and instructions on what to replace them with)

If everything works correctly, I'll publish 4.1.0 and add a Release with change details.

@dragoljub-exlrt
Copy link

@seangwright I just tested the 4.1.0-prerelease-3 and it looks like issue has been solved. I'm able to open the Search module now and I did a quick check of index creation, and that part works for me too.

xbk_search

Thanks for the quick response!

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

No branches or pull requests

3 participants