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.
This bug was originally marked as duplicate of bug 181290, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.9 (Build 201006101454) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP User Comments: GUEST: adding a maven library dependency GUEST: adding a dependency to my project FrantaM: Addind a dependency to maven project through Add dependency dialog. kawazu428: removed a dependency from a maven2 pom.xml ... tim_sa: In a maven netbeans Platform Application ,right clicked libraries add new dependencies, and selected a module as a dependcy madhurtanwani: Everytime I add a dependency to the project (not via modifying pom, but using the UI) this error is seen artisan: Adding commons-lang-2.4 to the maven test dependencies. GUEST: Adding library to a project. Did a manual maven install into the local maven repository. Updated index in Netbeans and tried adding library to my project. FrantaM: Added a dependency through Add dependency... dialog with no version specified. The dependency was added correctly. GUEST: adding test library aldobrucale: Adding a maven dependency GUEST: Add maven dependencies, that do not exists for futher manual instalation jsbboss: Including a maven depency by selecting Open Projects, to the Libraries in my project GUEST: Adding a dependency after adding a <repository> tag in the pom.xml of a fresh JEE5 Webapp. GUEST: Adding new netbeans platform module to
Created attachment 100260 [details] stacktrace
reassign to maven
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=170827
IllegalStateException: attempted model write without invoking startTransaction at o.n.m.xml.xam.AbstractModel.validateWrite(AbstractModel.java:469) at o.n.m.xml.xam.AbstractModel.rollbackTransaction(AbstractModel.java:428) at o.n.m.maven.model.Utilities.performPOMModelOperations(Utilities.java:346) The rollback here is called only after model.isIntransaction() is true. Does it mean that some other way of verifying that transaction can be rollbacked needs to be used? Nikita, can you advise? Thanks.
I think already fixed, either by bug #181290 or bug #188363. *** This bug has been marked as a duplicate of bug 181290 ***