Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365307 - WindowBuilder can't build the GUI
Summary: WindowBuilder can't build the GUI
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2008
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alexander Mitin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 08:49 EST by Gustavo Echenique CLA
Modified: 2021-06-04 16:45 EDT (History)
6 users (show)

See Also:


Attachments
In this file the errors occurs (21.68 KB, text/plain)
2011-12-01 16:43 EST, Gustavo Echenique CLA
no flags Details
this picture shows the error (129.13 KB, image/png)
2011-12-01 18:12 EST, Gustavo Echenique CLA
no flags Details
I'm sending the complete report (307.49 KB, application/octet-stream)
2011-12-01 18:17 EST, Gustavo Echenique CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Echenique CLA 2011-12-01 08:49:19 EST
My application was running normally, and suddenly the problem appeared and I can not solve.
I expect a prompt response.

Of course, thank you very much for your attention.

-- Configuration Details --
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.jdt 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK
Comment 1 Eric Clayberg CLA 2011-12-01 16:33:17 EST
There is no problem description here at all. Please provide a detailed problem description with a complete test case and associated Eclipse .log files or stack traces.
Comment 2 Gustavo Echenique CLA 2011-12-01 16:43:50 EST
Created attachment 207816 [details]
In this file the errors occurs
Comment 3 Eric Clayberg CLA 2011-12-01 16:48:15 EST
What "error"? Please provide any relevant stack traces and/or your complete Eclipse ".log" file.
Comment 4 Gustavo Echenique CLA 2011-12-01 18:12:43 EST
Created attachment 207817 [details]
this picture shows the error
Comment 5 Gustavo Echenique CLA 2011-12-01 18:17:47 EST
Created attachment 207818 [details]
I'm sending the complete report
Comment 6 Gustavo Echenique CLA 2011-12-01 18:33:42 EST
I compile the code with the command line "javac.exe", and works fine.
I not understand nothing.(In reply to comment #1)
> There is no problem description here at all. Please provide a detailed problem
> description with a complete test case and associated Eclipse .log files or stack
> traces.
Comment 7 Eric Clayberg CLA 2011-12-01 22:14:15 EST
Possible GroupLayout issue...

java.lang.NullPointerException
	at org.eclipse.wb.internal.swing.java6.model.SwingGroupLayoutCodeSupport.convertPadding(SwingGroupLayoutCodeSupport.java:228)
	at org.eclipse.wb.internal.swing.java6.model.SwingGroupLayoutCodeSupport.setPaddingType(SwingGroupLayoutCodeSupport.java:210)
	at org.eclipse.wb.internal.layout.group.model.GroupLayoutParserVisitor2.endVisit(GroupLayoutParserVisitor2.java:183)
Comment 8 Alexander Mitin CLA 2011-12-02 10:33:41 EST
Fixed in trunk.
Mostly generic issue, it attempted to rename a layout variable and then parse layout against new name, which is incorrect. Thanks for Kosta for writing a test. :)
Comment 9 Eric Clayberg CLA 2011-12-02 11:22:15 EST
Fixed
Comment 10 Gustavo Echenique CLA 2011-12-05 17:57:46 EST
(In reply to comment #9)
> Fixed
I see you solved the problem and I am very grateful to you, but excuse my ignorance and that just started using Eclipse ... How is the issue?, Ie, how do I do to solve my problem?. Because I update the plugins and the problem persists.
Comment 11 Eric Clayberg CLA 2011-12-05 19:05:05 EST
You need to make sure that you update to using the latest integration build of the plugin available here: http://eclipse.org/windowbuilder/download.php
Comment 12 Gustavo Echenique CLA 2011-12-06 16:56:29 EST
Hi Clayberg, i download the latest integration build, but not resolve the problem
Comment 13 Alexander Mitin CLA 2011-12-07 09:52:34 EST
Gustavo, why do you add an item listener every method invocation time?
private JCheckBox getChckbxConlara() {
	if (chckbxConlara == null) {
		chckbxConlara = new JCheckBox("Conlara");
	}
	chckbxConlara.addItemListener(this);
	return chckbxConlara;
}
just move chckbxConlara.addItemListener(this); into the 'if' statement and your code will work fine.