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.
Sometimes user can't edit bpel for newly created project. I can't find the 100% steps for reproduce, but it reproduced sometimes on 2 PCs. Steps to reproduce: - Create Synchronous Sample project. - Open bpel diagram. - Select some activity in palette drag it to diagram. - Message "Cannot edit while diagram is readonly" appears near mouse pointer. - Actually this file is not read only! After restart IDE this bpel can be modified by user.
Workaround is to close the file and open it again. The BPEL logic is simply calling a XAM method isReadOnly. So we think problem may be in this method. Unfortunately, this condition is not easy to reprduce. We have not found a 100% reproducible scenario. Maybe it is some race condition. It seems to appear most when you are trying to give a demo :) Are the XML modules using this API themselves? Have you seen this problem?
There is no XAM method called isReadOnly, perhaps this is only in the BPEL Model? There is a method isEditable in ModelSource but the value is specified at ModelSource creation time. Need more information here to proceed.
Can't reproduce with current build. Close as WORKFORME, please reopen with more info if still reproducible.