[
https://issues.apache.org/jira/browse/SYNAPSE-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Heshan Suriyaarachchi updated SYNAPSE-634:
------------------------------------------
Attachment: SYNAPSE-634-patch.txt
The attached patch will resolve this issue.
> NumberFormatException thrown when running sample 362
> ----------------------------------------------------
>
> Key: SYNAPSE-634
> URL: https://issues.apache.org/jira/browse/SYNAPSE-634
> Project: Synapse
> Issue Type: Bug
> Components: Deployment
> Affects Versions: NIGHTLY
> Environment: Ubuntu 9.10
> Sun JDK 1.6
> Reporter: Heshan Suriyaarachchi
> Fix For: 2.0
>
> Attachments: SYNAPSE-634-patch.txt
>
>
> Following exception is thrown when running the Synapse sample 362.
> 2010-05-01 16:00:30,284 [-] [HttpServerWorker-1] INFO TimeoutHandler This
> engine will expire all callbacks after : 86400 seconds, irrespective of the
> timeout action, after the specified or optional timeout
> 2010-05-01 16:00:30,431 [-] [HttpClientWorker-1] INFO LogMediator text = **
> Reporting to the Database **
> 2010-05-01 16:00:31,992 [-] [HttpClientWorker-1] ERROR NativeWorkerPool
> Uncaught exception
> java.lang.NumberFormatException: empty String
> at
> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
> at java.lang.Double.parseDouble(Double.java:510)
> at
> org.apache.synapse.mediators.db.AbstractDBMediator.getPreparedStatement(AbstractDBMediator.java:304)
> at
> org.apache.synapse.mediators.db.DBReportMediator.processStatement(DBReportMediator.java:53)
> at
> org.apache.synapse.mediators.db.AbstractDBMediator.mediate(AbstractDBMediator.java:122)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
> at
> org.apache.synapse.mediators.filters.OutMediator.mediate(OutMediator.java:55)
> at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
> at
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:113)
> at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:131)
> at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:341)
> at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:136)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:178)
> at
> org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:253)
> at
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:619)
> The issue is with the xpath expression in the synapse configuration. Will
> provide a patch to resolve this.
--
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: [email protected]
For additional commands, e-mail: [email protected]