ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Scott Jackson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-370) Null pointer exception in BPEL compiler on invalid while expression
Date Wed, 10 Sep 2008 20:57:44 GMT

    [ https://issues.apache.org/jira/browse/ODE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629961#action_12629961
] 

Douglas Scott Jackson commented on ODE-370:
-------------------------------------------

Hi!
I did not specify that this was a BPEL 2.0 document, and I was using a BPEL 1.0 format of
<while> activity.
The <condition> element did not exist.   So, perhaps the check should be that the <condition>
element is
present under the <while> activity.
-Doug.


> Null pointer exception in BPEL compiler on invalid while expression
> -------------------------------------------------------------------
>
>                 Key: ODE-370
>                 URL: https://issues.apache.org/jira/browse/ODE-370
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Compilation/Parsing
>    Affects Versions: 1.2
>         Environment: ODE on Tomcat 6.0.14 on Windows
>            Reporter: Douglas Scott Jackson
>
> I think the &lt; is not correct, but it should not result in a null pointer exception.
>                   <while name="While__current_time_not_in_off_hour_window"
>                          condition="fn:current-time() &lt; $off-hours-start and
>                                     fn:current-time() > $off-hours-end">
> ERROR - GeronimoLog.error(108) | Deployment of data-transfer failed, aborting for now.
> java.lang.NullPointerException
> 	at org.apache.ode.bpel.compiler.BpelCompiler.getExpressionLanguage(BpelCompiler.java:1622)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:545)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileExpr(BpelCompiler.java:535)
> 	at org.apache.ode.bpel.compiler.WhileGenerator.compile(WhileGenerator.java:38)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:902)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:898)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:847)
> 	at org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(SequenceGenerator.java:54)
> 	at org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerator.java:45)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:902)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:898)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:847)
> 	at org.apache.ode.bpel.compiler.IfGenerator.compile(IfGenerator.java:52)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:902)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:898)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:847)
> 	at org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(SequenceGenerator.java:54)
> 	at org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerator.java:45)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:902)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:898)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:847)
> 	at org.apache.ode.bpel.compiler.IfGenerator.compile(IfGenerator.java:52)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:902)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:898)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:847)
> 	at org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(SequenceGenerator.java:54)
> 	at org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerator.java:45)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:902)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:898)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:847)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:724)
> 	at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1156)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1066)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1106)
> 	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:704)
> 	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
> 	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
> 	at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:163)
> 	at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:127)
> 	at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
> 	at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
> 	at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
> 	at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:188)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message