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 82659 - bpel editor issue of saving to the file.
Summary: bpel editor issue of saving to the file.
Status: VERIFIED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-14 22:35 UTC by kiran_bhumana
Modified: 2006-09-29 08:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bpel project (7.78 KB, application/octet-stream)
2006-08-14 22:35 UTC, kiran_bhumana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kiran_bhumana 2006-08-14 22:35:15 UTC
refer attached project. If the BPEL file is opened and validated by clicking on
the icon, it is fine. But when the project is "clean and build" it complains,

Created dir: C:\alaska\delete\Invoke2Way\build
C:\alaska\delete\Invoke2Way\src\Invoke2WayProcess.bpel:2: column:1 ERROR: To be
instantiated, an executable business process must contain at least one <receive>
or <pick> activity annotated with a createInstance="yes" attribute.
C:\alaska\delete\Invoke2Way\nbproject\build-impl.xml:160: Found compilation errors.
BUILD FAILED (total time: 0 seconds)

createInstance flag is set as can be seen on the BPEL text editor mode.
Comment 1 kiran_bhumana 2006-08-14 22:35:39 UTC
Created attachment 32904 [details]
bpel project
Comment 2 kiran_bhumana 2006-08-14 22:36:43 UTC
bpel snippet from the text view,

    <sequence>
        <receive name="Receive1" partnerLink="PartnerLink2"
operation="oneWayOper" portType="ns1:Invoke1WayRequestPortType"
variable="OneWayOperIn1" createInstance="yes"/>
        <assign name="Assign1">

Even the GUI view says the attribute is set to "yes".
Comment 3 kiran_bhumana 2006-08-14 22:45:53 UTC
seems like i can't have a work around with this one. I tried closing and opening
the editor and thats when the thing exploded more. I lost all the work i did on
the editor. The editor didn't save anything to the file. So the earlier
attachement is of no use. 

All that i had was 

    <sequence>
        <receive name="Receive1" partnerLink="PartnerLink2"
operation="oneWayOper" portType="ns1:Invoke1WayRequestPortType"
variable="OneWayOperIn1"/>
        <empty/>
   </sequence>

I suspect this has something to do with issue 82657. After the issue of 82657,
it probably stopped writing to the file. And suspiciously enough i started
getting 82657 after i did receive and the BPEL at that time would look like the
above.
Comment 4 Alexey Yarmolenko 2006-08-17 14:30:55 UTC
Can not reproduce it on current build of release55 branch: 

The BPEL file in attached ZIP file DO NOT have createInstance attribute for 
first "recieve" activity. Both validation and "Clean and Build" procedures 
reports this problem. 

Setting this attribute to "YES: in receive element property sheet results in 
successful validation and compilation of project attached.

Setting this attribute to "NA" reverts everything to previous state: both 
validation and build procedures reports the problem.


Comment 5 gc140975 2006-09-22 11:33:52 UTC
Verified in the build 060921 as per the developer comments
Comment 6 gc140975 2006-09-29 08:47:36 UTC
Verified in the build 060921 as per the developer comments and found that
developer is correct