Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368135

Summary: Error clicking on a ComboBox with imageRenderer
Product: z_Archived Reporter: Alessio Pollero <alessio.pollero>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alessio.pollero, clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Error log and sample code none

Description Alessio Pollero CLA 2012-01-09 05:44:59 EST
Build Identifier: Version: 3.7.1 Build id: M20110909-1335

I've have created a JComboBox that can contain image, now every time that i click on it in the designer i get this error : 

!ENTRY org.eclipse.wb.core 4 4 2012-01-09 11:36:41.938
!MESSAGE Designer [1.2.0.r37x201112151810.201201091132]: java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException



Reproducible: Always

Steps to Reproduce:
1.Create a JComboBox with an imagerender as render
2.Click on it in the designer
Comment 1 Alessio Pollero CLA 2012-01-09 05:48:57 EST
Created attachment 209198 [details]
Error log and sample code

In the attachment error log of eclipse, a print screen of the error dialog box and the source file that generate the error in the designer.

To reproduce the issue is enough open the EditParameterWindow.java with WindowBuilder editor(Design Mode), then click on the combobox .
Comment 2 Konstantin Scheglov CLA 2012-01-23 09:56:25 EST
Fixed in trunk.
Now we can resolve constructors like this, which use type variable: JComboBox(E[]).
Comment 3 Eric Clayberg CLA 2012-01-23 13:28:50 EST
Fixed