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.
Summary: | IllegalArgumentException: Model source is read-only. | ||
---|---|---|---|
Product: | javaee | Reporter: | pz0513 <pz0513> |
Component: | JSF | Assignee: | _ potingwu <potingwu> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | pz0513, samaresh |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=16485 | ||
Issue Type: | DEFECT | Exception Reporter: | 16485 |
Attachments: | stacktrace |
Description
pz0513
2008-10-29 11:21:44 UTC
Created attachment 72821 [details]
stacktrace
Should be handled by web/jsf module. Hi, samaresh, I'm confused here for using xml.xam.Model API! All of our calls use startTransaction() and endTransaction() to modify the model so that the model will block and sync the updates. What else the callers should also handle? Thanks! BTW, pz0513, Under what condition did you get this exception? I cannot reproduce it here. I'm not sure how you're creating MS, but I guess there is a flag "editable" in MS constructor, that makes the MS RO if you pass editable as false. Pass true instead. web.jsf always creates the model source as editable, hence lots of developers not getting any error. But looks like the reporter sometimes (or just rarely) gets this exception! Is it some kind of race condition that the model does not handle? This issue has already 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=144089 Integrated into 'main-golden', will be available in build *200812111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d6e2acfd1662 User: potingwu@netbeans.org Log: Fix Issue#151691, IllegalArgumentException: Model source is read-only. Fixed in the 7.0 trunk, changeset d6e2acfd1662 in main details: http://hg.netbeans.org/main?cmd=changeset;node=d6e2acfd1662 |