Skip to Content
author's profile photo Former Member
Former Member

Index

Hello all,

I develop and run successfully a small KM application using index for searching documents in EP6SP11.

Everything works fine till I upgraded the system (including TREX) to SP14.

Now I have got the exception when I am running the following code:

ISearchSession Sesearch = searchIndex.executeQueryWithSession(queryEntryList,resourceContext,collection);

The exception is:

java.lang.NullPointerException

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.addDoYouMeanTerms(TrexSearchIndexCollection.java:165)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.getRawSearchResultList(TrexSearchIndexCollection.java:74)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.executeQueryWithSession(TrexSearchIndexCollection.java:422)

at com.sapportals.wcm.service.indexmanagement.retrieval.search.AbstractSearchIndexCollection.executeQueryWithSession(AbstractSearchIndexCollection.java:75)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.executeQueryWithSession(TrexSearchIndexCollection.java:401)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.executeQueryWithSession(TrexSearchIndexCollection.java:389)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.executeQueryWithSession(TrexSearchIndexCollection.java:384)

at com.sapportals.wcm.service.indexmanagement.retrieval.trex.AbstractTrexIndex.executeQueryWithSession(AbstractTrexIndex.java:3342)

at disabled.justice.gov.il.DisabledSearchView.onActionSearch(DisabledSearchView.java:309)

at disabled.justice.gov.il.wdp.InternalDisabledSearchView.wdInvokeEventHandler(InternalDisabledSearchView.java:246)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:101)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:304)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

Thanks in advance

Yoel

Message was edited by: Armin Reichert

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2005 at 03:39 PM

    Probably not a Web Dynpro problem.

    What do you pass to the TREX search engine as parameters?

    Armin

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 07:32 PM

    hi,

    i am in a similar situation i need to create a web dynpro UI that maps to indexes in TREX .

    how do i build the app in web dynpro

    Add comment
    10|10000 characters needed characters exceeded