synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evanthika Amarasiri (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (SYNAPSE-132) NullpointerException thrown from the server side when invoking a second service which is different to the first service
Date Wed, 10 Oct 2007 08:53:50 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Evanthika Amarasiri reopened SYNAPSE-132:
-----------------------------------------


The issue is still there. Below is the stack trace i received

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:211)
        at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:93)
        at org.apache.rampart.util.RampartUtil.getSignatureCrypto(RampartUtil.java:235)
        at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
        at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
        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)
Caused by: java.io.FileNotFoundException: store.jks (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:74)
        at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:65)
        ... 18 more
2007-10-10 14:20:23,793 [-] [HttpServerWorker-2] ERROR CryptoFactory Unable to instantiate
(1): org.apache.ws.security.components.crypto.Merlin
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:211)
        at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:93)
        at org.apache.rampart.util.RampartUtil.getSignatureCrypto(RampartUtil.java:235)
        at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
        at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
        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)
Caused by: java.io.FileNotFoundException: store.jks (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:74)
        at org.apache.ws.security.components.crypto.Merlin.<init>(Merlin.java:65)
        ... 18 more
java.lang.InstantiationException: org.apache.ws.security.components.crypto.Merlin
        at java.lang.Class.newInstance0(Class.java:335)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:219)
        at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:93)
        at org.apache.rampart.util.RampartUtil.getSignatureCrypto(RampartUtil.java:235)
        at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
        at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
        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)
2007-10-10 14:20:23,797 [-] [HttpServerWorker-2] ERROR CryptoFactory Unable to instantiate
(2): org.apache.ws.security.components.crypto.Merlin
java.lang.InstantiationException: org.apache.ws.security.components.crypto.Merlin
        at java.lang.Class.newInstance0(Class.java:335)
        at java.lang.Class.newInstance(Class.java:303)
        at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:219)
        at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:93)
        at org.apache.rampart.util.RampartUtil.getSignatureCrypto(RampartUtil.java:235)
        at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
        at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
        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)
Exception in thread "HttpServerWorker-2" java.lang.RuntimeException: org.apache.ws.security.components.crypto.Merlin
cannot create instance
        at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:224)
        at org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:93)
        at org.apache.rampart.util.RampartUtil.getSignatureCrypto(RampartUtil.java:235)
        at org.apache.rampart.RampartEngine.process(RampartEngine.java:117)
        at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:85)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
        at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
        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)

> NullpointerException thrown from the server side when invoking a second service which
is different to the first service
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-132
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-132
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>         Environment: Windows XP, JDK1.5.0_06
>            Reporter: Evanthika Amarasiri
>            Assignee: Asankha C. Perera
>             Fix For: 1.1
>
>
> Below are the steps followed to reproduce the issue
> 1. Deploy the relevant services. (SimpleStockQuoteService, SecureStockQuoteService, MTOMSwASampleService,
etc)
> 2. Start a sample which invokes a particular service (E.g.:- Sample 50 which invokes
"SecureStockQuoteService")
> 3. Send a request
> 4. Start another sample which invokes a different service (Sample 52 which invokes "SimpleStockQuoteService")
> 5. When sending the request through the client, a NullpointerException is thrown
> Exception in thread "HttpServerWorker-2" java.lang.NullPointerException
>         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158)
>         at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>         at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.axis2.transport.nhttp.ServerWorker.processPost(ServerWorker.java:210)
>         at org.apache.axis2.transport.nhttp.ServerWorker.run(ServerWorker.java:174)
>         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


Mime
View raw message