Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72BFEEA92 for ; Thu, 13 Dec 2012 16:02:07 +0000 (UTC) Received: (qmail 864 invoked by uid 500); 13 Dec 2012 16:02:07 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 665 invoked by uid 500); 13 Dec 2012 16:02:07 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 648 invoked by uid 99); 13 Dec 2012 16:02:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 16:02:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.32.181.181] (HELO ch1outboundpool.messaging.microsoft.com) (216.32.181.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 16:01:57 +0000 Received: from mail218-ch1-R.bigfish.com (10.43.68.240) by CH1EHSOBE015.bigfish.com (10.43.70.65) with Microsoft SMTP Server id 14.1.225.23; Thu, 13 Dec 2012 16:01:35 +0000 Received: from mail218-ch1 (localhost [127.0.0.1]) by mail218-ch1-R.bigfish.com (Postfix) with ESMTP id 85D43300323 for ; Thu, 13 Dec 2012 16:01:35 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.248.165;KIP:(null);UIP:(null);IPV:NLI;H:AMXPRD0410HT002.eurprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: -13 X-BigFish: PS-13(zz9371Id6eahb3c2R542I62a3Izz1de0h1202h1e76h1d1ah1d2ahzz8275dhz2dh2a8h668h839h946hd25hf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h1155h) Received: from mail218-ch1 (localhost.localdomain [127.0.0.1]) by mail218-ch1 (MessageSwitch) id 1355414378351897_18828; Thu, 13 Dec 2012 15:59:38 +0000 (UTC) Received: from CH1EHSMHS030.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.233]) by mail218-ch1.bigfish.com (Postfix) with ESMTP id 4F4242202E2 for ; Thu, 13 Dec 2012 15:59:38 +0000 (UTC) Received: from AMXPRD0410HT002.eurprd04.prod.outlook.com (157.56.248.165) by CH1EHSMHS030.bigfish.com (10.43.70.30) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 13 Dec 2012 15:59:37 +0000 Received: from AMXPRD0410MB366.eurprd04.prod.outlook.com ([169.254.1.17]) by AMXPRD0410HT002.eurprd04.prod.outlook.com ([10.255.56.37]) with mapi id 14.16.0245.002; Thu, 13 Dec 2012 15:59:36 +0000 From: Robby Pelssers To: "users@cocoon.apache.org" Subject: RE: Error message for xslt Thread-Topic: Error message for xslt Thread-Index: AQHN2Uq9wj1IS5AUKk6a7OvL8liXJpgW4wfQ Date: Thu, 13 Dec 2012 15:59:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.28.255.68] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-Virus-Checked: Checked by ClamAV on apache.org Caused by: java.lang.NullPointerException Are you setting all parameters used by the XSLT? Can you verify you do? Robby -----Original Message----- From: Mansour Al Akeel [mailto:mansour.alakeel@gmail.com]=20 Sent: Thursday, December 13, 2012 4:57 PM To: users Subject: Error message for xslt I am doing transformation with XSLT and C2.2. When there's something wrong = with the XSL, I get the following message: javax.servlet.ServletException: org.apache.cocoon.ProcessingException: Failed to process pipeline at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:37:33 at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:31:72 at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:29:89 at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:27:68 at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.jav= a:230) at org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:84= ) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.f= orward(ServletServiceContext.java:468) ................. at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java= :395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.j= ava:450) Caused by: org.apache.cocoon.ProcessingException: Failed to process pipelin= e at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:37:33 at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:31:72 at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:29:89 at - file:///C:/workspace/transformation-pipes/pipelines/contents-filesystem/./s= rc/main/resources/COB-INF/sitemap.xmap:27:68 at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.= java:143) .................... at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.jav= a:169) ... 38 more Caused by: java.lang.NullPointerException at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransf= ormer.java:566) at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.di= spatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn= own Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source= ) at org.apache.cocoon.core.xml.impl.JaxpSAXParser.parse(JaxpSAXParser.java:= 196) at org.apache.cocoon.core.xml.impl.JaxpSAXParser.parse(JaxpSAXParser.java:= 204) at org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.ja= va:297) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:= 136) at ca.cpha.repo.pipelines.sax.MonographGenerator.generate(MonographGenerat= or.java:27) at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.inv= oke(PoolableProxyHandler.java:71) at $Proxy25.generate(Unknown Source) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPip= eline.processXMLPipeline(AbstractCachingProcessingPipeline.java:360) ... 56 more Nothing tells me anything about the error message from the XSLT. Is there a= way to know what is going on ?? Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org