Return-Path: Delivered-To: apmail-ws-synapse-dev-archive@www.apache.org Received: (qmail 72668 invoked from network); 31 Oct 2007 04:59:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 04:59:19 -0000 Received: (qmail 40436 invoked by uid 500); 31 Oct 2007 04:59:06 -0000 Delivered-To: apmail-ws-synapse-dev-archive@ws.apache.org Received: (qmail 40411 invoked by uid 500); 31 Oct 2007 04:59:06 -0000 Mailing-List: contact synapse-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: synapse-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list synapse-dev@ws.apache.org Received: (qmail 40400 invoked by uid 99); 31 Oct 2007 04:59:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 21:59:06 -0700 X-ASF-Spam-Status: No, hits=-98.5 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 04:59:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BEC7E714204 for ; Tue, 30 Oct 2007 21:58:51 -0700 (PDT) Message-ID: <1774135.1193806731779.JavaMail.jira@brutus> Date: Tue, 30 Oct 2007 21:58:51 -0700 (PDT) From: "Evanthika Amarasiri (JIRA)" To: synapse-dev@ws.apache.org Subject: [jira] Commented: (SYNAPSE-154) NullpointerException thrown when the xquery reference key is not declared anywhere in the configuration In-Reply-To: <25144580.1192609912210.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SYNAPSE-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538995 ] Evanthika Amarasiri commented on SYNAPSE-154: --------------------------------------------- Fixed in 1.1-QA-B3 > NullpointerException thrown when the xquery reference key is not declared anywhere in the configuration > ------------------------------------------------------------------------------------------------------- > > Key: SYNAPSE-154 > URL: https://issues.apache.org/jira/browse/SYNAPSE-154 > Project: Synapse > Issue Type: Bug > Affects Versions: 1.1-QA-B2 > Environment: Ubuntu 7.04, JDK1.5.0_12 > Reporter: Evanthika Amarasiri > Assignee: indika priyantha kumara > > When executing a configuration where the xquery reference key is not declared in the configuration, a NullpointerException is thrown > The configuration - NOTE: The xquery reference key xquery-key-req is not declared anywhere in the configuration > ============== > > > file:repository/conf/sample/resources/ > 30000 > > > > > > > > > > > >
> > > > > > > > > > > > > > > > NullpointException thown > ==================== > java.lang.NullPointerException > at net.sf.saxon.query.QueryParser.normalizeLineEndings10(QueryParser.java:178) > at net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:80) > at net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:450) > at net.sf.saxon.xqj.SaxonXQConnection.prepareExpression(SaxonXQConnection.java:169) > at net.sf.saxon.xqj.SaxonXQConnection.prepareExpression(SaxonXQConnection.java:159) > at org.apache.synapse.mediators.xquery.XQueryMediator.performQuery(XQueryMediator.java:216) > at org.apache.synapse.mediators.xquery.XQueryMediator.mediate(XQueryMediator.java:132) > at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60) > at org.apache.synapse.mediators.filters.OutMediator.mediate(OutMediator.java:60) > at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60) > at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:121) > at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:139) > at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:282) > at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:126) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) > at org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:175) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > at java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org For additional commands, e-mail: synapse-dev-help@ws.apache.org