|
|
Re: Resolved bugs still unresolved? [message #1726140 is a reply to message #1726137] |
Thu, 10 March 2016 04:39 |
Michael Stanzel Messages: 7 Registered: February 2016 |
Junior Member |
|
|
As noted, I have gone to the help tab and checked for updates. This is the list of some of the installed software/plugin versions. I assume that by "checking for updates" I would always be using the latest and greatest version.
I am running Windows 10.
Java version 8 update 73.
Eclipse Standard/SDK 2.0.2.20140224-0000
Eclipse Platform 4.3.2.M20140221-1700
Swing Designer 1.6.1.r43x201309100023
SWT Designer 1.6.1.r43x201309100008
SWT Designer Core 1.6.1.r43x201309092350
WindowBuilder Core 1.6.1.r43x201309092314
WindowBuilder Core UI 1.6.1.r43x201309092325
WindowBuilder GroupLayout Support 1.6.1.r43x201309092345
WindowBuilder Java Core 1.6.1.r43x201309092318
WindowBuilder XML Core (requires Eclipse WTP/WST) 1.6.1.r43x201309092330
I am referncing JRE System Library[ jre 1.8.0_74 ]
and mysql-connector-java-5.1.29-bin.jar
I went back to my code and simply changed the comments from
private JPanel contentPane1 to public JPanel contentPane1
from:
public JPanel contentPane1;
//private JPanel contentPane1;
to:
//public JPanel contentPane1;
private JPanel contentPane1;
and got the error:
Exception during 'super' constructor evaluation
An exception happened during evaluation of constructor JFrame() using arguments {}.
java.lang.NullPointerException
at java.beans.MethodRef.get(Unknown Source)
at java.beans.PropertyDescriptor.getWriteMethod(Unknown Source)
I shut down Eclipse and restarted and the design window was available again.
I switched to a different class of the same project.
I changed the attribute for a JLabel from "New label" to "Salary" in the design window.
So far so good.
Then I wanted to add a new JJabel using the design window. I clicked on the JLabel component, and clicked on the contentPanel.
WIndowBuilder locked up again and gave me the error:
Exception during 'super' constructor evaluation
An exception happened during evaluation of constructor JDialog() using arguments {}.
java.lang.NullPointerException
at java.beans.MethodRef.get(Unknown Source)
at java.beans.PropertyDescriptor.getWriteMethod(Unknown Source)
First error was referencing JFrame and second error was referencing JDialog.
I included the .log file and the report.
Any help would be appreciated, WindowBuilder is unusable right now.
[Updated on: Thu, 10 March 2016 04:50] Report message to a moderator
|
|
|
|
|
Re: Resolved bugs still unresolved? [message #1726283 is a reply to message #1726277] |
Fri, 11 March 2016 05:24 |
Michael Stanzel Messages: 7 Registered: February 2016 |
Junior Member |
|
|
Uploaded and installed Mars. Installer was super easy to use.
BUT, still have the same problem.
I used the same workspace (default) that Kepler was using. I received a warning that the workspace would be unusable with older versions. (I did backup the old workspace somewhere else).
I then used the import wizard to import the project into Eclipse from the same workspace.
I deleted the original class which was written in the Kepler version and started over creating a new JPanel.
I added the formlayout tool.
Then a JLabel field.
Now I wanted to add a JTextField.
That's when the error occurred. Same as before.
Internal Error
WindowBuilder encountered unexpected internal error.
This could be caused by a WindowBuilder bug or by a misconfiguration issue, conflict, partial update, etc.
java.lang.Error: new FormLayout(new ColumnSpec[] { com.jgoodies.forms.layout.FormSpecs.RELATED_GAP_COLSPEC, com.jgoodies.forms.layout.FormSpecs.DEFAULT_COLSPEC,}, new RowSpec[] { com.jgoodies.forms.layout.FormSpecs.RELATED_GAP_ROWSPEC, com.jgoodies.forms.layout.FormSpecs.DEFAULT_ROWSPEC,})
There are a lot of source code errors showing up regarding jgoodies FormSpecs not being resolved to a variable. All my google searches referenced problems in 2014 or older.
All the code was generated by windowbuilder and/or Eclipse.
Windows 10
Eclipse IDE for Java Developers 4.5.2.20160218-0600
Eclipse Java Development Tools 3.11.2.v20160212-1500
Eclipse Platform 4.5.2.v20160212-1500
Swing Designer 1.8.0r45x201506110826
WindowBuilder Core 1.8.0r45x201506110820
The problem doesn't seem to be occurring using a miglayout instead of formlayout.
I've included the bug report and the log file.
[Updated on: Fri, 11 March 2016 06:21] Report message to a moderator
|
|
|
Re: Resolved bugs still unresolved? [message #1726602 is a reply to message #1726283] |
Tue, 15 March 2016 02:05 |
Eric Clayberg Messages: 979 Registered: July 2009 Location: Boston, MA |
Senior Member |
|
|
Same problem? Looks like an entirely different problem with a completely different exception.
jGoodies FormLayout is going to be tough because you would pretty much have to use the same version that WindowBuilder was coded to work with and that is a couple revs out of date at this point. The jGoodies folks have changed their API several times and haven't been very good about keeping it backward compatible, and we haven't made any updates to the jGoodies support code in a very long time (and probably won't any time soon unless some new committers sign up).
[Updated on: Tue, 15 March 2016 02:13] Report message to a moderator
|
|
|
Re: Resolved bugs still unresolved? [message #1726855 is a reply to message #1726602] |
Thu, 17 March 2016 03:25 |
Michael Stanzel Messages: 7 Registered: February 2016 |
Junior Member |
|
|
Guess I meant the same problem is the project locks up whenever I tried to add a JTextbox or JLabel to a FormLayout with WindowBuilder
I think it should be noted that FormLayout should be avoided when creating a GUI with WindowBuilder and possibly removed from the Pallete as an option. Especially with the up to date versions.
For the layperson trying to follow an older step by step tutorial which may use FormLayout it could save a lot of time.
[Updated on: Fri, 18 March 2016 04:35] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05235 seconds