Swing Designer won't open

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Swing Designer won't open

Postby jdmccall » Mon Jun 21, 2010 11:48 am

I haven't used the product in a few months, actually this is my first attempt at using it after upgrading to Windows 7. I can't get it to run. When I click on the design tab I get the progress message "Opening Design page. Parsing...". This stays up for a minute or so until the Eclipse program goes away. I've tried opening several codes that I know it used to work with, each fail in the same way.

I'm experiencing this with both Eclipse 3.5 32 and 64 bit. I also tried Eclipse 3.5.1 64 bit. I was using SwingDesigner 7.2, but just tried 7.5 with the same results.

Any ideas for me?

Thanks,
Jon
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby Eric Clayberg » Mon Jun 21, 2010 12:11 pm

Does this happen for brand new JFrames and JPanels?

Does anything appear in your Eclipse ".log" file?

Have you tried installing into a new, clean copy of Eclipse 3.5?

You can also try restarting Eclipse with the -debug -consolelog command line options. Then hit Ctrl+Break in the console when it locks up. That should generate a thread dump and might help provide some insight.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Swing Designer won't open

Postby jdmccall » Mon Jun 21, 2010 2:42 pm

Yes, it happens with a brand new JDialog.

I tried with a clean copy of Eclipse 3.5.1

I ran with -debug -console ... but hitting ctrl+break at that point just kicks me out of the application without generating a stack trace. When I let it just run the words "Parsing..." display on the screen, and then eclipse goes away after a few seconds.

Thinking it might have something to do with my workspace, I started a brand new workspace, created a new project, and created a new dialog. But get the exact same response when I try to design that new dialog.
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby Eric Clayberg » Mon Jun 21, 2010 3:09 pm

How much memory do you have assigned to run Eclipse and what does the Eclipse Heap Status indicator show when it is "parsing"?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Swing Designer won't open

Postby jdmccall » Tue Jun 22, 2010 8:48 am

It doesn't appear to be a memory problem. I've got 1Gig assigned, and when it is "parsing" it only shows 48 of 425 MB used. Not much appears to be going on with the process while it is parsing according to task manager.

I did see the debug output say that parsing was done once, but it still crashed Eclipse eventually.

Here is the log output if that helps. I'm at a loss for what to look at next.

Start VM: C:\Program Files\Java\jdk1.6.0_20\jre\bin\java.exe
-Xms256m
-Xmx1024m
-XX:MaxPermSize=256m
-jar C:\Eclipse3.5\Eclipse3.5.1_64\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Eclipse3.5\Eclipse3.5.1_64\eclipse\eclipsec.exe
-name Eclipsec
--launcher.library C:\Eclipse3.5\Eclipse3.5.1_64\eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.200
.v20090519\eclipse_1206.dll
-startup C:\Eclipse3.5\Eclipse3.5.1_64\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata 2a44_50
-debug
-console
-consolelog
-vm C:\Program Files\Java\jdk1.6.0_20\jre\bin\java.exe
-vmargs
-Xms256m
-Xmx1024m
-XX:MaxPermSize=256m
-jar C:\Eclipse3.5\Eclipse3.5.1_64\eclipse\plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
Install location:
file:/c:/Eclipse3.5/Eclipse3.5.1_64/eclipse/
Configuration file:
file:/c:/Eclipse3.5/Eclipse3.5.1_64/eclipse/configuration/config.ini loaded
Configuration location:
file:/c:/Eclipse3.5/Eclipse3.5.1_64/eclipse/configuration/
Framework located:
file:/c:/Eclipse3.5/Eclipse3.5.1_64/eclipse/plugins/org.eclipse.osgi_3.5.1.R35x_v20090827.jar
Framework classpath:
file:/c:/Eclipse3.5/Eclipse3.5.1_64/eclipse/plugins/org.eclipse.osgi_3.5.1.R35x_v20090827.jar
Splash location:
c:\Eclipse3.5\Eclipse3.5.1_64\eclipse\plugins\org.eclipse.platform_3.3.201.v200909170800\splash.bmp
Debug options:
file:/C:/Eclipse3.5/Eclipse3.5.1_64/eclipse/.options not found

osgi> Time to load bundles: 10
Starting application: 1420
!SESSION 2010-06-22 09:39:36.358 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -debug -console -consolelog

!ENTRY org.eclipse.core.resources 2 10035 2010-06-22 09:39:40.788
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
Application Started: 7250
Parsing...
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby Eric Clayberg » Tue Jun 22, 2010 11:33 am

Have you tried 32-bit Eclipse with a 32-bit JVM?

So far, I am at a loss for why this might happen. It is extremely weird that you can't get a stack trace in -debug -consolelog mode.

Can you send us a screen shot of your "Help > About > Installation Details > Installed Software" page as well as a copy of your complete "Help > About > Installation Details > Configuration". Maybe that might reveal something.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Swing Designer won't open

Postby jdmccall » Tue Jun 22, 2010 11:55 am

Just tried it with the 32 bit Eclipse and get the same behavior, however it is version 7.2 of Swing Designer. It is strange that when the Parsing starts, ctrl+break doesn't do anything. Before that it works. Attached is my installed software image.
Attachments
eclipseConfig.jpg
installed software image
eclipseConfig.jpg (50.74 KiB) Viewed 239 times
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby jdmccall » Tue Jun 22, 2010 11:59 am

Here is my Configuration. Thanks for your help.
Attachments
eclipseConfig.txt
configuration
(122.39 KiB) Downloaded 6 times
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby Eric Clayberg » Tue Jun 22, 2010 1:04 pm

Does it make any difference if you load the latest Swing Designer v7.5 build (the v7.5 build that you are currently using is from about 5 weeks ago)?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Swing Designer won't open

Postby jdmccall » Wed Jun 23, 2010 6:49 am

I installed the latest and it makes no difference. However, in the process I found that I can get it to run if I remote desktop into my computer. When I do that it runs everytime!

Running from remote desktop is not an acceptible option. Any ideas of what might be going on here?
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby Alexander.Mitin » Thu Jun 24, 2010 6:31 am

Any hs_pid_xxxx.log file in Eclipse folder?
Could you try with new Windows profile?
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Re: Swing Designer won't open

Postby jdmccall » Thu Jun 24, 2010 7:23 am

I think we have it going now. There was no hs_pid_xxxx.log in the eclipse folder.

I logged on as another user and tried to open the designer. This time I got the registration screen. I filled that out and then the designer opened. Then I logged back on as my normal operating account, and everything works now.

Thanks so much for your help and persistance.

Jon
jdmccall
 
Posts: 12
Joined: Mon Nov 09, 2009 10:58 am

Re: Swing Designer won't open

Postby Eric Clayberg » Thu Jun 24, 2010 7:47 am

That is very bizarre, but I am glad it is now working for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest