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 154626

Summary: WizardDescriptor.Panel extends Component is illegal
Product: serverplugins Reporter: _ tboudreau <tboudreau>
Component: WebLogicAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 154624    

Description _ tboudreau 2008-12-04 15:50:40 UTC
See details in umbrella issue 154624

java.lang.IllegalStateException: org.netbeans.modules.j2ee.weblogic9.ui.wizard.ServerLocationPanel is both a
WizardDescriptor.Panel and a Component.  This is illegal because Component.isValid() conflicts with Panel.isValid(). 
See umbrella issue 154624 and issues 150223, 134601, 99680 and many others for why this is a Bad Thing.
Comment 1 Vince Kraemer 2008-12-04 15:59:57 UTC

*** This issue has been marked as a duplicate of 154408 ***
Comment 2 Vince Kraemer 2008-12-04 16:12:08 UTC
opps marked as dup too fast...  issue 154408 is for websphere, not weblogic...
Comment 3 Thuy.d Nguyen 2008-12-09 21:08:52 UTC
Refactored to separate WizardDescriptor.Panel from Component (i.e. WizardDescriptor.Panel should not extend Component).

http://hg.netbeans.org/main/rev/f3ce0ab7fb89

Comment 4 Michal Mocnak 2009-03-05 17:17:45 UTC
Verified in nb6.5.1 build 200903050001 on jdk1.5.0_17 (Weblogic 9 and 10.0 can be added only when the ide runs on jdk1.5)