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 94313 - function designer() in class FormDesignerOperator
Summary: function designer() in class FormDesignerOperator
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Jellytools (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 09:11 UTC by Jiri Vagner
Modified: 2007-02-19 09:48 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 Vagner 2007-02-05 09:11:14 UTC
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)
Comment 1 Jiri Skrivanek 2007-02-05 11:15:38 UTC
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
Comment 2 Jiri Vagner 2007-02-19 09:48:36 UTC
Verified