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 234793 - Failing org.openide.text.ReusableEditorTest
Summary: Failing org.openide.text.ReusableEditorTest
Status: VERIFIED DUPLICATE of bug 234781
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 13:09 UTC by Jiri Skrivanek
Modified: 2013-09-16 08:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-08-22 13:09:03 UTC
Please, fix failing ReusableEditorTest and ReusableEditor2Test. To reproduce:

ant -k -f openide.text test test-generate-html -Dtest.includes=**/ReusableEditorTest.class


http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/StableBTD-7.4/61/testReport/

java.lang.AssertionError: Open task already inited.
	at org.openide.text.DocumentOpenClose.initLoadTaskLA(DocumentOpenClose.java:403)
	at org.openide.text.DocumentOpenClose.openTask(DocumentOpenClose.java:277)
	at org.openide.text.CloneableEditorSupport.prepareDocument(CloneableEditorSupport.java:510)
	at org.openide.text.CloneableEditorSupport.openAtImpl(CloneableEditorSupport.java:1883)
	at org.openide.text.CloneableEditorSupport.openReuse(CloneableEditorSupport.java:1856)
	at org.openide.text.EditorSupportLineSet$SupportLine.show(EditorSupportLineSet.java:131)
	at org.openide.text.Line.show(Line.java:327)
	at org.openide.text.ReusableEditor2Test$1.run(ReusableEditor2Test.java:223)
Comment 1 Jiri Skrivanek 2013-08-22 13:13:32 UTC
Also please look at org.openide.text.NotifyModifiedTest failures.
Comment 2 David Strupl 2013-08-23 15:01:54 UTC
It is happening also for the user - please see the duplicate report. Marking as duplicate.

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