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.
Build: NetBeans IDE Dev (Build 20130822-43cce1a04694) VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15 OS: SunOS User Comments: alexvsimon: open project Stacktrace: java.lang.AssertionError: Open task already inited. at org.openide.text.DocumentOpenClose.initLoadTaskLA(DocumentOpenClose.java:413) at org.openide.text.DocumentOpenClose.openTask(DocumentOpenClose.java:287) at org.openide.text.CloneableEditorSupport.prepareDocument(CloneableEditorSupport.java:510) at org.netbeans.modules.cnd.source.CppEditorSupport.access$001(CppEditorSupport.java:103) at org.netbeans.modules.cnd.source.CppEditorSupport$2.run(CppEditorSupport.java:362) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Created attachment 139055 [details] stacktrace
*** Bug 234793 has been marked as a duplicate of this bug. ***
Also org.openide.text tests failing regularly (see bug 234793).
I'll fix that.
Is the java.lang.AssertionError: Open task already inited. problem reproducible? Hopefully just a missing lock. I've improved diagnostics and changed AE to ISE so the problem will no longer happen in this form after the integration. http://hg.netbeans.org/jet-main/rev/a588201d9479 (In reply to Alexander Simon from comment #0) > Build: NetBeans IDE Dev (Build 20130822-43cce1a04694) > VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, > 1.7.0_25-b15 > OS: SunOS > > User Comments: > alexvsimon: open project > > > > > Stacktrace: > java.lang.AssertionError: Open task already inited. > at > org.openide.text.DocumentOpenClose.initLoadTaskLA(DocumentOpenClose.java:413) > at org.openide.text.DocumentOpenClose.openTask(DocumentOpenClose.java:287) > at > org.openide.text.CloneableEditorSupport. > prepareDocument(CloneableEditorSupport.java:510) > at > org.netbeans.modules.cnd.source.CppEditorSupport.access$001(CppEditorSupport. > java:103) > at > org.netbeans.modules.cnd.source.CppEditorSupport$2.run(CppEditorSupport.java: > 362) > at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Integrated into 'main-silver', will be available in build *201309050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a588201d9479 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #234781 - AssertionError: Open task already inited.
I have reproduced the problem. Reopening.
http://hg.netbeans.org/jet-main/rev/d71d957acdd7
I would like to ask QE for verification. Thanks.
*** Bug 235319 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201309060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d71d957acdd7 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #234781 - AssertionError: Open task already inited - additional fix.
Some tests still failing. Please, evaluate. http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/StableBTD-openide.text/jdk=JDK%207,label=XP-slave2/lastCompletedBuild/testReport/ http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/StableBTD-openide.text/jdk=JDK%207,label=Solaris11-slave1/lastCompletedBuild/testReport/
The fix as such seems OK to me. Looking at the test failures, it seems that the tests are failing for a different reason than the "Open task already inited".
a588201d9479 transplanted to 941885decf61 d71d957acdd7 transplanted to 22f09873c613
*** Bug 236503 has been marked as a duplicate of this bug. ***