Return-Path: Delivered-To: apmail-ode-dev-archive@www.apache.org Received: (qmail 80399 invoked from network); 25 Jun 2008 09:57:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 09:57:36 -0000 Received: (qmail 93170 invoked by uid 500); 25 Jun 2008 09:57:37 -0000 Delivered-To: apmail-ode-dev-archive@ode.apache.org Received: (qmail 93151 invoked by uid 500); 25 Jun 2008 09:57:37 -0000 Mailing-List: contact dev-help@ode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ode.apache.org Delivered-To: mailing list dev@ode.apache.org Received: (qmail 93140 invoked by uid 99); 25 Jun 2008 09:57:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 02:57:37 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 09:56:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 33457234C14B for ; Wed, 25 Jun 2008 02:56:45 -0700 (PDT) Message-ID: <1641340082.1214387805209.JavaMail.jira@brutus> Date: Wed, 25 Jun 2008 02:56:45 -0700 (PDT) From: "Alexey Ousov (JIRA)" To: dev@ode.apache.org Subject: [jira] Created: (ODE-314) Incorrect exception reported when exception is issued in DoXslTransform MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Incorrect exception reported when exception is issued in DoXslTransform ----------------------------------------------------------------------- Key: ODE-314 URL: https://issues.apache.org/jira/browse/ODE-314 Project: ODE Issue Type: Bug Components: BPEL Runtime Affects Versions: 1.2 Reporter: Alexey Ousov Priority: Minor When some exception occur in DoXslTransform (say NullPointerException), incorrect exception is reported in debug logs instead of it (supposely because of trying to call org.jaxen.FunctionCallException.initCause(e)): ERROR - JacobVPU$JacobThreadImpl.run(463) | Method "run" in class "org.apache.ode.bpel.runtime.ASSIGN" threw an unexpected exception. java.lang.IllegalStateException: Cause cannot be reset at org.jaxen.saxpath.SAXPathException.initCause(SAXPathException.java:137) at org.apache.ode.bpel.elang.xpath10.runtime.WrappedFaultException$JaxenFunctionException.(WrappedFaultException.java:63) at org.apache.ode.bpel.elang.xpath10.runtime.JaxenContexts$DoXslTransformFunction.call(JaxenContexts.java:371) at org.jaxen.expr.DefaultFunctionCallExpr.evaluate(DefaultFunctionCallExpr.java:177) at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102) at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674) at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213) at org.apache.ode.bpel.elang.xpath10.runtime.XPath10ExpressionRuntime.evaluate(XPath10ExpressionRuntime.java:103) at org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluate(ExpressionLanguageRuntimeRegistry.java:80) at org.apache.ode.bpel.runtime.ASSIGN.evalRValue(ASSIGN.java:196) at org.apache.ode.bpel.runtime.ASSIGN.copy(ASSIGN.java:348) at org.apache.ode.bpel.runtime.ASSIGN.run(ASSIGN.java:81) at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451) at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139) at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:833) at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:402) at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:326) at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373) at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:337) at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:336) at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:174) at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335) at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) 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.