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 160332 - IllegalStateException: attempted model write without invoking startTransaction
Summary: IllegalStateException: attempted model write without invoking startTransaction
Status: RESOLVED DUPLICATE of bug 172099
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 11:35 UTC by Jaroslav Pospisil
Modified: 2011-10-24 07:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 147631


Attachments
stacktrace (3.92 KB, text/plain)
2009-03-16 11:35 UTC, Jaroslav Pospisil
Details
stacktrace (3.92 KB, text/plain)
2009-03-17 17:32 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2009-03-16 11:35:39 UTC
Build: NetBeans IDE Dev (Build 20090316024348)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Windows Vista, 6.0, x86

User Comments:
jpospisil: Created maven web project and set Glassfish v2 as server



Stacktrace: 
java.lang.IllegalStateException: attempted model write without invoking startTransaction
        at org.netbeans.modules.xml.xam.AbstractModel.validateWrite(AbstractModel.java:418)
        at org.netbeans.modules.xml.xam.AbstractModel.rollbackTransaction(AbstractModel.java:379)
        at org.netbeans.modules.maven.customizer.CustomizerProviderImpl$OptionListener.windowClosed(CustomizerProviderImpl.java:294)
        at java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:343)
        at java.awt.Window.processWindowEvent(Window.java:1865)
        at javax.swing.JDialog.processWindowEvent(JDialog.java:633)
Comment 1 Jaroslav Pospisil 2009-03-16 11:35:44 UTC
Created attachment 78219 [details]
stacktrace
Comment 2 Jaroslav Pospisil 2009-03-17 17:32:07 UTC
Build: NetBeans IDE Dev (Build 20090317073347)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Windows Vista, 6.0, x86

User Comments: 
I have hudson build 5300. Started IDE with clean userdir, created new Maven Web project, added Glassfish V2.1 server and set Glv2.1 in Properties for maven project. ISE appeared when I closed Properties.

Stacktrace: 
java.lang.IllegalStateException: attempted model write without invoking startTransaction
        at org.netbeans.modules.xml.xam.AbstractModel.validateWrite(AbstractModel.java:418)
        at org.netbeans.modules.xml.xam.AbstractModel.rollbackTransaction(AbstractModel.java:379)
        at org.netbeans.modules.maven.customizer.CustomizerProviderImpl$OptionListener.windowClosed(CustomizerProviderImpl.java:294)
        at java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:343)
        at java.awt.Window.processWindowEvent(Window.java:1865)
        at javax.swing.JDialog.processWindowEvent(JDialog.java:633)
Comment 3 Jaroslav Pospisil 2009-03-17 17:32:17 UTC
Created attachment 78318 [details]
stacktrace
Comment 4 Svata Dedic 2011-10-24 07:19:44 UTC

*** This bug has been marked as a duplicate of bug 172099 ***