MHL3060 / bentux

Automatically exported from code.google.com/p/bentux
0 stars 0 forks source link

search gives improper result and crashes with some special keywords #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when searching for "MAGGI" it give a non existing item and generate an id thats 
not exist. and 
when u click on it to the product detail page, it says product not found. can 
be reproduced by 
entering "veggi" too.

if searches for DVDs, it crashes..

    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.NullPointerException
    at local.tux.app.web.controller.SearchController.convert(SearchController.java:164)
    at local.tux.app.web.controller.SearchController.handle(SearchController.java:125)
    at 
org.springframework.web.servlet.mvc.AbstractCommandController.handleRequestInter
nal(Abstra
ctCommandController.java:84)
    at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractCon
troller.java:
153)
    at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(Simple
ControllerH
andlerAdapter.java:48)
    at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.j
ava:875)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
    at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet
.java:571)
    ... 89 more

could be the problem from pojo pages? i will take a look too.

see attachments.

Original issue reported on code.google.com by lhkh...@gmail.com on 26 Nov 2009 at 7:58

Attachments:

GoogleCodeExporter commented 9 years ago
It works for me.

Original comment by benli3...@gmail.com on 27 Nov 2009 at 3:25

Attachments:

GoogleCodeExporter commented 9 years ago
maybe the lucene storage path is not good. i use the / path.

i will change it so it should works.

Original comment by benli3...@gmail.com on 27 Nov 2009 at 3:31

GoogleCodeExporter commented 9 years ago
You need to reindex the searchmeta as I have changed the path

Original comment by benli3...@gmail.com on 27 Nov 2009 at 3:34

GoogleCodeExporter commented 9 years ago

Original comment by benli3...@gmail.com on 1 Dec 2009 at 4:01