Suddenly unable to use WBPro...

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

Suddenly unable to use WBPro...

Postby IanHarac » Wed Jan 10, 2007 8:01 am

I am a registered user of WBPro, and have used it for five months happily. Yesterday, in the middle of an otherwise normal work session, my Eclipse hung when I tried to add an ActionListener to a control via the right-click menu. I had to force-close it using the task manager. I restarted my computer and performed some experiments. Anything I do which would generate code (such as adding a listener) or take me to generated code (such as selecting an event handler laready added to a control), causes Eclipse to freeze and forces me is to close it via TM. I downloaded the 5.1 build of WBPro and ran the installer, and that did nothing. I am using Eclipse 3.1. As I noted, this error began mid-session, and is not a consequence of any changes to my system.

Please offer any advice you can. I'm at a critical juncture and this is really hurting my workflow.
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Re: Suddenly unable to use WBPro...

Postby Eric Clayberg » Wed Jan 10, 2007 10:36 am

IanHarac wrote:I am a registered user of WBPro, and have used it for five months happily. Yesterday, in the middle of an otherwise normal work session, my Eclipse hung when I tried to add an ActionListener to a control via the right-click menu. I had to force-close it using the task manager. I restarted my computer and performed some experiments. Anything I do which would generate code (such as adding a listener) or take me to generated code (such as selecting an event handler laready added to a control), causes Eclipse to freeze and forces me is to close it via TM. I downloaded the 5.1 build of WBPro and ran the installer, and that did nothing. I am using Eclipse 3.1. As I noted, this error began mid-session, and is not a consequence of any changes to my system.

Please offer any advice you can. I'm at a critical juncture and this is really hurting my workflow.

Does this happen with any window that you create and/or edit? If so, your Eclipse installation may be corrupted in some way.

If the problem only affects specific windows, can you send us a test case?

It would also be useful for us to see your Eclipse ".log" file in order to see what exceptions are being thrown. They might point to a specific Eclipse issue that might be fixable (or youmight need to reinstall Eclipse).
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

Postby IanHarac » Wed Jan 10, 2007 10:46 am

It happens with any control in any window. Whenever I take an action which would trigger a design view/code view switch, the app simply hangs.

I will look for the .log files and post them if they seem useful.
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Postby Eric Clayberg » Wed Jan 10, 2007 11:45 am

IanHarac wrote:It happens with any control in any window. Whenever I take an action which would trigger a design view/code view switch, the app simply hangs.

It definitely sounds like a problem with your Eclipse installation/configuration.

Take a look at this FAQ entry to see if it helps.

In particular, try cleaning your Eclipse /configuration directory.
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

Postby IanHarac » Wed Jan 10, 2007 12:01 pm

Bizaarely, the problem has ceased to manifest. (!)

It's not because I've restarted my system; did that many times yesterday.

I will keep an eye on it. Thanks for your help.
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Postby Eric Clayberg » Wed Jan 10, 2007 12:04 pm

IanHarac wrote:Bizaarely, the problem has ceased to manifest. (!)
It's not because I've restarted my system; did that many times yesterday.
I will keep an eye on it. Thanks for your help.

Sometimes Eclipse can detect a problem with its own configuration and it will fix itself. Don't ask me when or why that happens though. ;-)
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

Postby IanHarac » Thu Jan 11, 2007 7:25 am

Actually, I now have a new problem.

The DL of the 5.1 upgrade for WBPro overwrite my registration and it thinks I'm using a trial copy. I hecked my email, and I have all of my proof-of-purchase mails but NOT my activation key. Whom do I contact about rectifying this?
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Postby Eric Clayberg » Thu Jan 11, 2007 2:31 pm

IanHarac wrote:The DL of the 5.1 upgrade for WBPro overwrite my registration and it thinks I'm using a trial copy.

Nothing in the download or installation of the product will overwrite your registration.

IanHarac wrote:I hecked my email, and I have all of my proof-of-purchase mails but NOT my activation key. Whom do I contact about rectifying this?

The easiest thing to do would be to reactivate the product using your serial number (provided when you purchased the product). A new activation key would be sent to 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

Postby IanHarac » Thu Jan 11, 2007 7:41 pm

Eric Clayberg wrote:The easiest thing to do would be to reactivate the product using your serial number (provided when you purchased the product). A new activation key would be sent to you.


I do not know the cause, then, but the issue has been resolved, thankfully. Instantions has been very responsive to my problems. It looks like I am having issues with a corrupted Eclipse install, and I'll be dealing with that.
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Stll having issues...

Postby IanHarac » Thu Jan 18, 2007 8:29 am

I have:
Completely wiped and reinstalled.
Set my Eclisper to start with -clean -vmargs -Xmx800M
Scannd my HD for bad sectors
Sacrificed kittens to Cthulhu

And I *still* get constant freezes when flipping back and forth to design mode.

I've been looking at the crash logs. A lot of them look like this (much deleted)

!ENTRY org.eclipse.ui 4 4 2007-01-17 14:51:02.000
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-01-17 14:51:02.000
!MESSAGE com.swtdesigner.model.swing.component.table.JTableHeaderInfo
!STACK 0
java.lang.ClassCastException: com.swtdesigner.model.swing.component.table.JTableHeaderInfo
at com.swtdesigner.gef.policy.swing.control.scroll.ScrollPaneLayoutEditPolicy.createMoveCommand(ScrollPaneLayoutEditPolicy.java:25)
at com.swtdesigner.gef.policy.common.layout.position.MethodPositionLayoutEditPolicy.getMoveCommand(MethodPositionLayoutEditPolicy.java:49)
at com.swtdesigner.gef.policy.common.layout.position.PositionLayoutEditPolicy.getMoveChildrenCommand(PositionLayoutEditPolicy.java:99)
at org.eclipse.gef.editpolicies.LayoutEditPolicy.getCommand(LayoutEditPolicy.java:172)
at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:494)
at org.eclipse.gef.editpolicies.NonResizableEditPolicy.getMoveCommand(NonResizableEditPolicy.java:165)
at org.eclipse.gef.editpolicies.NonResizableEditPolicy.getCommand(NonResizableEditPolicy.java:119)
at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:494)
at com.swtdesigner.gef.edit.common.DesignerDragEditPartsTracker.getCommand(DesignerDragEditPartsTracker.java:37)
(Rest Deleted)

!ENTRY org.eclipse.ui 4 4 2007-01-17 14:51:01.984
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-01-17 14:51:01.984
!MESSAGE com.swtdesigner.model.swing.component.table.JTableHeaderInfo
!STACK 0
java.lang.ClassCastException: com.swtdesigner.model.swing.component.table.JTableHeaderInfo
at com.swtdesigner.gef.policy.swing.control.scroll.ScrollPaneLayoutEditPolicy.createMoveCommand(ScrollPaneLayoutEditPolicy.java:25)
at com.swtdesigner.gef.policy.common.layout.position.MethodPositionLayoutEditPolicy.getMoveCommand(MethodPositionLayoutEditPolicy.java:49)
at com.swtdesigner.gef.policy.common.layout.position.PositionLayoutEditPolicy.getMoveChildrenCommand(PositionLayoutEditPolicy.java:99)
at org.eclipse.gef.editpolicies.LayoutEditPolicy.getCommand(LayoutEditPolicy.java:172)
at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:494)
at org.eclipse.gef.editpolicies.NonResizableEditPolicy.getMoveCommand(NonResizableEditPolicy.java:165)
at org.eclipse.gef.editpolicies.NonResizableEditPolicy.getCommand(NonResizableEditPolicy.java:119)
at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:494)
at com.swtdesigner.gef.edit.common.DesignerDragEditPartsTracker.getCommand(DesignerDragEditPartsTracker.java:37)

(Rest Deleted)

Etc.

Does this help? Is there anything I can do?
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Re: Stll having issues...

Postby Eric Clayberg » Thu Jan 18, 2007 11:04 am

IanHarac wrote:!ENTRY org.eclipse.ui 4 0 2007-01-17 14:51:02.000
!MESSAGE com.swtdesigner.model.swing.component.table.JTableHeaderInfo
!STACK 0
java.lang.ClassCastException: com.swtdesigner.model.swing.component.table.JTableHeaderInfo
at com.swtdesigner.gef.policy.swing.control.scroll.ScrollPaneLayoutEditPolicy.createMoveCommand(ScrollPaneLayoutEditPolicy.java:25)

Does this help? Is there anything I can do?

You need to send us a test case and your complete Eclipse ".log" file.

For an exception like this, we need to know the context, and we need a way to reproduce the problem. A test case is absolutely essential.

Based on the exception, you also appear to be using an older version of the product. You should make sure that you are using the latest build to ensure that you are taking advantage of all cumulative bug fixes.
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

Builds and the like...

Postby IanHarac » Thu Jan 18, 2007 11:22 am

I downloaded the 5.1.0 release from the Downloads page. I have not yet paid for an upgrade to 6.0, and assumed (perhaps wrongly) that it was not free.

Is there a later version I should be using?

I can easily send you my log file, but I'm not sure of a test case, since the problem is somewhat sporadic -- the system works for a bit, then goes kablooey. (Highly technical term, I know)

IAE, I will send you my log.

Thank you for the prompt reply.
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Re: Builds and the like...

Postby Eric Clayberg » Thu Jan 18, 2007 11:30 am

IanHarac wrote:I downloaded the 5.1.0 release from the Downloads page. I have not yet paid for an upgrade to 6.0, and assumed (perhaps wrongly) that it was not free.

All upgrades are free as long as your support is current. If your support is current, you can download v6.0.1 which is the most recent version (and four months newer than what you are using). If your support has lapsed, we can't do too much to help.

IanHarac wrote:Is there a later version I should be using?

You should always be using the latest version. If you are using an older version and encounter a problem, you should always check the latest version to see if the problem has already been fixed. That way you don't waste time fighting a problem that has already been fixed, and we don't waste time addressing a problem that we have already addressed.

IanHarac wrote:I can easily send you my log file, but I'm not sure of a test case

The log entry you posted earlier pointed to an issue using a JTable. That would only occur with a class that you were editing that contained a JTable. Sending us the class that triggered the exception would be a good start.
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

Postby IanHarac » Thu Jan 18, 2007 11:38 am

I'll send you the classes involved, surely. Just to be clear, I'm not extending JTable in any way in my code (tableModel, sure, but not the JTable class).

I will also DL and install the latest version.
IanHarac
 
Posts: 27
Joined: Wed Jan 10, 2007 7:04 am

Postby Eric Clayberg » Thu Jan 18, 2007 11:45 am

IanHarac wrote:I'll send you the classes involved, surely. Just to be clear, I'm not extending JTable in any way in my code (tableModel, sure, but not the JTable class).

Are you saying that you aren't using a JTable in one of your windows?

If so, why use a table model with no table?
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

Next

Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest