Hi,

First of all I am new to Lenya have only worked with it about a week
now, so if you spot some misunderstandings please set me right!

I seem to get the same error.

Its like the changes made after the indexing fix isn't applied, I still
get the global search.xsl after following the instructions on:
http://lenya.apache.org/1_2_x/how-to/search.html not the one at
C:\apache-lenya-1.2.2\build\lenya\webapp\lenya\pubs\{pub}\lenya\xslt\nav
igation\search.xsl the added input tags simply doesn't show when viewing
html source

And something is puzzling me in usecase-search.xmap the paths in this
block:

      <map:match pattern="search-page">
        <map:aggregate element="search-results">
          <map:part src="./config/publication.xconf"/>
          <map:part
src="cocoon:/{page-envelope:publication-id}/search-live/lucene.xml?{requ
est:queryString}"/>
        </map:aggregate>
        <map:transform src="xslt/search/searchfixer.xsl">
            <map:parameter name="area" value="live"/>
        </map:transform>
        <map:transform src="xslt/search/sort.xsl"/>
        <map:act type="resource-exists"
src="xslt/search/search-and-results-body.xsl">
          <map:transform
src="lenya/xslt/search/search-and-results-body.xsl">
            <map:parameter name="contextprefix"
value="{request:contextPath}"/>
            <map:parameter name="publicationid"
value="{page-envelope:publication-id}"/>
            <map:parameter name="area" value="live"/>
          </map:transform>
        </map:act>
        <map:transform src="xslt/search/search-and-results.xsl">
            <map:parameter name="contextprefix"
value="{request:contextPath}"/>
            <map:parameter name="publicationid"
value="{page-envelope:publication-id}"/>
            <map:parameter name="area" value="live"/>
        </map:transform>
        <map:serialize type="xml"/>
      </map:match>

eg: <map:transform src="xslt/search/searchfixer.xsl"> is this relative
to the location of usecase-search.xmap? Because my searchfixer.xsl is in
C:\apache-lenya-1.2.2\build\lenya\webapp\lenya\pubs\{pub}\lenya\xslt\sea
rch\searchfixer.xsl if this is the case there seems to be missing a
lenya... as I said I just started finding way around lenya, so!

I put some answers in the message below, hope it helps!

//Marc Pekilidi

> -----Oprindelig meddelelse-----
> Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sendt: 16. juni 2005 18:04
> Til: user@lenya.apache.org
> Emne: Re: Lucene: problem while crawling
> 
> On 6/16/05, Inizan, Sebastien (CDS-VPI) <[EMAIL PROTECTED]> wrote:
> > I did as everything explained on your page. The index is 
> working fine.
> > However I get a problem with the pipeline.
> > "Error executing pipeline"
> 
> Great error message.
> 
> What URL returned the error?  
> Try adding "?lenya.usecase=search" to any page.  Does the 
> search page show?
> Or was it only when attempting a search?
> 

No got the exception

> > My guess is that something is probably wrong in the file 
> > usecase-search.xmap.
> 
> Could be, but it could be the pipeline is not getting 
> expected results from something else.
> 
> > Is there anything I should do ? Do you have any idea what 
> could cause 
> > the problem?
> 
> Can we have the top 4 lines of the stacktrace?

org.apache.cocoon.ProcessingException: Error executing pipeline.:
java.lang.NullPointerException
        at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleE
xception(AbstractProcessingPipeline.java:940)
        at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
        at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:483)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:120)


> 
> > I use lenya 1.2.3.
> I have been assured 1.2.3 should not be an issue, but nobody 
> confirmed it works yet.
> 
> solprovider
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For 
> additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to