Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368135 - Error clicking on a ComboBox with imageRenderer
Summary: Error clicking on a ComboBox with imageRenderer
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Scheglov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 05:44 EST by Alessio Pollero CLA
Modified: 2021-06-04 16:45 EDT (History)
2 users (show)

See Also:


Attachments
Error log and sample code (117.98 KB, application/octet-stream)
2012-01-09 05:48 EST, Alessio Pollero CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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