This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 97751 - [55cat] onAlert EventHandler not working in BPEL Service Engine
Summary: [55cat] onAlert EventHandler not working in BPEL Service Engine
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on: 99088
Blocks:
  Show dependency tree
 
Reported: 2007-03-13 15:38 UTC by rajabm
Modified: 2007-09-06 12:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
onAlert - Exception - Sample BPEL project and compapp project - Created using open-ESB 2.0 Beta (33.79 KB, application/octet-stream)
2007-03-13 15:40 UTC, rajabm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajabm 2007-03-13 15:38:41 UTC
[ JDK VERSION : 1.5 ]

Not able to deploy any BPEL process created using NetBeans 5.5.1 (Open-ESB 2.0 Beta - Released 03/12/2007)with onAlert event handler
in bpel process. BPELSE throws exception while deploying the process. 

Procedure to recreate the problem for onAlert:
a. Create new bpel project
b. Create new wsdl with all default values
c. Create new bpel process
d. Drag and drop the new wsdl created into bpel diagram and create partner link
using default values.
e. Add a receive, wait, assign, reply in the process
f. In Receive use the newly created partner link and do necessary changes.
g. Edit timer value to 20 seconds.
h. Put some dummy value in assign activity which maps to the return value for
the partner link
i. In process scope, add a eventhandler with onAlert for 10seconds.
j. Create a new composite application and add the above create process into this.
k. Clean build both projects and deploy.
l. Now watch the deployer for exception.

This Issue has been discussed at
http://forum.java.sun.com/thread.jspa?threadID=5144126&tstart=0
https://open-jbi-components.dev.java.net/servlets/ProjectForumMessageView?forumID=2531&messageID=18994

Same bug has been reported at
https://open-esb.dev.java.net/issues/show_bug.cgi?id=17
Comment 1 rajabm 2007-03-13 15:40:57 UTC
Created attachment 39441 [details]
onAlert - Exception - Sample BPEL project and compapp project - Created using open-ESB 2.0 Beta
Comment 2 Sergey Lunegov 2007-04-02 13:57:08 UTC
Alexander, please look at this issue. Probably this is runtime bug. Please file
appropriate bug against BPEL SE if needed.
Comment 3 Alexander Zgursky 2007-04-05 15:30:39 UTC
Yes, it is a runtime bug. The reporter (rajabm) has already filed a bug against
the runtime at open-esb.dev.java.net (bug #17) and Kiran and Malkit are aware of
it. I believe we can close this issue as INVALID.
Comment 4 Sergey Lunegov 2007-04-05 15:51:03 UTC
I'd like to keep this issue open to verify it after BPEL SE will be fixed.
Comment 5 Sergey Lunegov 2007-07-13 09:07:15 UTC
Runtime team informed that appropriate issues is fixed. Marked as fixed.
Please verify.
Comment 6 Andrei Chistiakov 2007-09-04 14:29:09 UTC
I cannot verify the issue in runtime because BPEL validator throws the following exception when validating the BPEL from
the attached project:
ava.lang.AssertionError
	at
org.netbeans.modules.bpel.model.validation.xpath.BpelXpathValidatorVisitor.checkExpression(BpelXpathValidatorVisitor.java:233)
	at
org.netbeans.modules.bpel.model.validation.xpath.BpelXpathValidatorVisitor.checkXPathExpression(BpelXpathValidatorVisitor.java:176)
	at org.netbeans.modules.bpel.model.validation.xpath.BpelXpathValidatorVisitor.visit(BpelXpathValidatorVisitor.java:122)
	at org.netbeans.modules.bpel.model.impl.ForImpl.accept(ForImpl.java:58)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:224)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:359)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:225)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:359)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:225)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:359)
	at org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:225)
	at org.netbeans.modules.bpel.model.validation.AbstractValidator$1.run(AbstractValidator.java:68)
	at org.netbeans.modules.bpel.model.impl.BpelModelImpl.invoke(BpelModelImpl.java:250)
	at org.netbeans.modules.bpel.model.validation.AbstractValidator.validate(AbstractValidator.java:78)
	at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78)
	at org.netbeans.modules.xml.validation.ValidationOutputWindowController.validate(ValidationOutputWindowController.java:64)
	at org.netbeans.modules.xml.validation.ValidateAction$RunAction.run(ValidateAction.java:90)
	at
org.netbeans.modules.bpel.editors.multiview.DesignerMultiViewElement$BPELValidateAction$1.run(DesignerMultiViewElement.java:796)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 7 Alexey Yarmolenko 2007-09-04 16:22:24 UTC
Nikita, please take a look.
Comment 8 Nikita Krjukov 2007-09-05 10:38:35 UTC
I fixed the problem with assertion exception in the trank. 
The OnEventHandler --> OnAlarm was an exception from the general rule of validation. 
The changes are very compact. Only 2 source files are affected. 
So I think it is a candidate to merge to netbeans60_beta1 branch. 
Comment 9 Nikita Krjukov 2007-09-05 15:24:16 UTC
Reopen to fix the issue in the branch netbeans60_beta1
Comment 10 Nikita Krjukov 2007-09-05 17:15:26 UTC
Add fix to the beta1
Comment 11 Andrei Chistiakov 2007-09-06 12:51:22 UTC
Verified in build 200709060000.
Comment 12 Andrei Chistiakov 2007-09-06 12:52:49 UTC
The build 200709060000 is taken from Beta1 branch.