Return-Path: Delivered-To: apmail-ws-synapse-dev-archive@www.apache.org Received: (qmail 58747 invoked from network); 31 Oct 2007 04:08:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 04:08:21 -0000 Received: (qmail 12388 invoked by uid 500); 31 Oct 2007 04:08:09 -0000 Delivered-To: apmail-ws-synapse-dev-archive@ws.apache.org Received: (qmail 12352 invoked by uid 500); 31 Oct 2007 04:08:09 -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 12338 invoked by uid 99); 31 Oct 2007 04:08:09 -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:08:09 -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:08:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE9DE7141FE for ; Tue, 30 Oct 2007 21:07:50 -0700 (PDT) Message-ID: <33193559.1193803670778.JavaMail.jira@brutus> Date: Tue, 30 Oct 2007 21:07:50 -0700 (PDT) From: "Evanthika Amarasiri (JIRA)" To: synapse-dev@ws.apache.org Subject: [jira] Closed: (SYNAPSE-153) NullpointerException thrown when invoking a configuration with a Cache mediator with WS-Security In-Reply-To: <9234262.1192528491303.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-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evanthika Amarasiri closed SYNAPSE-153. --------------------------------------- > NullpointerException thrown when invoking a configuration with a Cache mediator with WS-Security > ------------------------------------------------------------------------------------------------ > > Key: SYNAPSE-153 > URL: https://issues.apache.org/jira/browse/SYNAPSE-153 > Project: Synapse > Issue Type: Bug > Affects Versions: 1.1-QA-B1 > Environment: Ubuntu 7.04, JDK1.5.0_12 > Reporter: Evanthika Amarasiri > Assignee: Ruwan Linton > Fix For: 1.1-QA-B2 > > > Tried to send a secured request using a Proxy service as follows and received a NullpointerException > Request sent > =========== > ant stockquote -Dtrpurl=http://localhost:8080/soap/StockQuoteProxy1 -Dpolicy=./../../repository/conf/sample/resources/policy/client_policy_3.xml > Configuration > =========== > > > > > > > > > > > > >
> > >
>
>
>
> >
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/> > > > > > > > The NullpointerException thrown > ========================== > 2007-10-16 15:12:41,648 [127.0.1.1-testc-ubuntu] [HttpServerWorker-3] DEBUG CacheMediator Starting the request message cache lookup > Exception in thread "HttpServerWorker-3" java.lang.NullPointerException > at org.wso2.caching.digest.DOMHASHGenerator.getExpandedName(DOMHASHGenerator.java:253) > at org.wso2.caching.digest.DOMHASHGenerator.getAttributesWithoutNS(DOMHASHGenerator.java:269) > at org.wso2.caching.digest.DOMHASHGenerator.getDigest(DOMHASHGenerator.java:121) > at org.wso2.caching.digest.DOMHASHGenerator.getDigest(DOMHASHGenerator.java:95) > at org.wso2.caching.digest.DOMHASHGenerator.getDigest(DOMHASHGenerator.java:138) > at org.wso2.caching.digest.DOMHASHGenerator.getDigest(DOMHASHGenerator.java:95) > at org.wso2.caching.digest.DOMHASHGenerator.getDigest(DOMHASHGenerator.java:44) > at org.apache.synapse.mediators.builtin.CacheMediator.mediate(CacheMediator.java:153) > 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.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:140) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) > at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) > at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:211) > at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.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