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 function call ... EditorOperator editor = designer.editor(); ... throws exception everytime ... testLayouts(myjellytest.FormGenerateCodeTest)org.netbeans.junit.AssertionFailedErrorException: Wait for "org.openide.text.CloneableEditor" subcomponent to be displayed at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:149) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:164) at myjellytest.FormGenerateCodeTest.main(FormGenerateCodeTest.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.netbeans.modules.jemmysupport.RunInternallyTask.execute(RunInternallyTask.java:111) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
Fixed. Now it finds proper EditorOperator within MultiView editor. /cvs/jellytools/src/org/netbeans/jellytools/modules/form/FormDesignerOperator.java,v <-- FormDesignerOperator.java new revision: 1.16; previous revision: 1.15 /cvs/jellytools/test/unit/src/org/netbeans/jellytools/modules/form/FormEditorOperatorTest.java,v <-- FormEditorOperatorTest.java new revision: 1.24; previous revision: 1.23
Verified