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 154408

Summary: accidental double override of isValid
Product: serverplugins Reporter: Vince Kraemer <vkraemer>
Component: WebSphereAssignee: Thuy.d Nguyen <thuydn>
Status: VERIFIED FIXED    
Severity: blocker CC: blskyli, chengjf0526, dbugger, gianoglio, hadeslee, jairelton, leonardotorres, phejl, pjiricka, qvsinh, rahulbuzz, rajivderas, rrr
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 154624    
Attachments: stacktrace

Description Vince Kraemer 2008-12-03 00:51:51 UTC
causes issue on JDK 7...

See the advice from Tim B. in issue 150223 about WizardDescriptor.Panel and Components...

ServerLocationPanel.java violates that sound advice and gets hit by NPE's when the IDE is run under jdk 7 b40...
Comment 1 Petr Hejl 2008-12-04 15:55:35 UTC
*** Issue 154627 has been marked as a duplicate of this issue. ***
Comment 2 Vince Kraemer 2008-12-04 15:59:56 UTC
*** Issue 154626 has been marked as a duplicate of this issue. ***
Comment 3 Thuy.d Nguyen 2008-12-09 21:03:10 UTC
Refactored to separate WizardDescriptor.Panel from Component (i.e. WizardDescriptor.Panel should not extend Component).

http://hg.netbeans.org/main/rev/14a81c6c342b
Comment 4 Vince Kraemer 2008-12-14 17:19:52 UTC
*** Issue 155409 has been marked as a duplicate of this issue. ***
Comment 5 Vince Kraemer 2009-02-06 06:22:42 UTC
try using jdk 6 update 11 or older.
Comment 6 Vince Kraemer 2009-02-23 20:39:48 UTC
*** Issue 159010 has been marked as a duplicate of this issue. ***
Comment 7 Michal Mocnak 2009-03-05 18:32:07 UTC
Verified
Comment 8 rajivderas 2009-03-26 13:01:42 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: OpenJDK Client VM, 14.0-b10, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b01
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.websphere6.ui.wizard.ServerLocationPanel.isValid(ServerLocationPanel.java:156)
        at java.awt.Component.invalidateIfValid(Component.java:2744)
        at java.awt.Component.setLocale(Component.java:1814)
        at javax.swing.JComponent.<init>(JComponent.java:595)
        at javax.swing.JPanel.<init>(JPanel.java:65)
        at javax.swing.JPanel.<init>(JPanel.java:92)
Comment 9 rajivderas 2009-03-26 13:01:52 UTC
Created attachment 78900 [details]
stacktrace