build 1.7.2 error with GWT 1.4.10 / IE 7

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

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

build 1.7.2 error with GWT 1.4.10 / IE 7

Postby kelvin » Tue Jun 12, 2007 6:49 pm

I heard that GWT Designer supports GWT 1.4.10. however, I got an error alert whenever I switch to design mode which seems from IE

A Runtime Error has occurred.
Do you wish to Debug?

Line: 10
Error: Object doesn't support this property or method
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Re: build 1.7.2 error with GWT 1.4.10 / IE 7

Postby Eric Clayberg » Wed Jun 13, 2007 9:19 am

That sounds like some sort of JavaScript debugging message coming from IE (not GWT Designer).

You should be able to get rid of that by turning off JavaScript debugging in IE. If that does not help, try doing a full reset of your IE settings.
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: build 1.7.2 error with GWT 1.4.10 / IE 7

Postby kelvin » Mon Jun 18, 2007 2:49 am

Eric Clayberg wrote:That sounds like some sort of JavaScript debugging message coming from IE (not GWT Designer).

You should be able to get rid of that by turning off JavaScript debugging in IE. If that does not help, try doing a full reset of your IE settings.


I created a very simple GWT Java Project,
*
|-a
|-client
| |-A.java
|-public
|-A.gwt.xml

content of A.java:
package a.client;

import com.google.gwt.user.client.ui.Composite;

public class A extends Composite {
}


content of A.gwt.xml
<module>
<inherits name='com.google.gwt.user.User'/>
<entry-point class='a.client.A'/>
</module>


I tested this project on 2 machine with GWT 1.4 + GWT Designer 1.7.2 2006.06.17 build, one of them is IE7 while the other with IE7

both show me the ame error message.
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Postby kelvin » Mon Jun 18, 2007 2:58 am

even i disable script debugging in IE, a alert still show me the following:

Internet Explorer Script Error
An error has occurred in the script on this page.

Line: 11
Char: 8
Error: Object doesn't support this property or method
Code: 0
URL: http://127.0.0.1:3921/0__start.html

Do you want to continue running scripts on this page?
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Postby kelvin » Mon Jun 18, 2007 3:06 am

PS: I installed the zip format GWTDESINGER for Windows/Linux/OSX - Eclipse 3.2 only
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Postby Alexander.Mitin » Mon Jun 18, 2007 4:12 am

Your code seems to work fine on my end. Do you have any third-party software which may prevent JavaScript code running (smth like popup-blocker, anti-virus, adware-blocker and so on)? If so, try to temporarily disable all of the such software and reboot your computer.
BTW, you use Composite (A) as entry point. This does not hurt the Designer, but will not work at runtime.
Alexander Mitin
Alexander.Mitin
Moderator
 
Posts: 155
Joined: Fri Jan 19, 2007 3:57 am

Postby bbf » Mon Jun 18, 2007 4:46 am

I'm having the exact same issue with GWT 1.4 RC along with GWT Designer.
I was using a build from June 14th.

I have a vanilla Windows XP SP2 with IE6.
That happened to me when I disabled the checkbox in options to patch gwt-user.jar, since if I didn't, it wouldn't even compile/run.

I'm gonna try again with today's build to see if it got any better.

I'm also having a LOT of issues with GWT Designer along with Eclipse 3.2.2.
If I check the Error Log, I see a lot of errors from GWT Designer.
Like infinite UI loops and such...
So I have to close and reopen Eclipse every few minutes.
I this a bug in 1.7.2 ?
Should I stay with 1.7.0 ?

Thanks =)
bbf
 
Posts: 1
Joined: Thu Jun 14, 2007 5:00 am

Postby Eric Clayberg » Mon Jun 18, 2007 5:02 am

bbf wrote:I this a bug in 1.7.2 ?

Without a test case or your Eclipse ".log" file, we have no way of knowing.

We have not had any problems using 1.7.2 with GWT 1.4.10, IE6 and Eclipse 3.2.x (which is the configuration I use most of the time).
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

GWTDesigner for Window got rid of the problem.

Postby chuhan » Mon Jun 18, 2007 10:55 am

kelvin wrote:PS: I installed the zip format GWTDESINGER for Windows/Linux/OSX - Eclipse 3.2 only


Hi,

I had the exact same error. The problem's gone after intalling designer for Windows ( NOT Windows/Linux/OSX), the very top one in the daily build list.

I hope this will help.

chuhan
chuhan
 
Posts: 28
Joined: Tue Nov 14, 2006 3:28 pm

Re: GWTDesigner for Window got rid of the problem.

Postby kelvin » Mon Jun 18, 2007 7:19 pm

chuhan wrote:
kelvin wrote:PS: I installed the zip format GWTDESINGER for Windows/Linux/OSX - Eclipse 3.2 only


Hi,

I had the exact same error. The problem's gone after intalling designer for Windows ( NOT Windows/Linux/OSX), the very top one in the daily build list.

I hope this will help.

chuhan


thanks chuhan, your hints work!

however, I would prefer to install from a zip file so that I can distribute my developement folder to other developers (of course, the license keys are ready :) )

I create a folder GWTDesigner, extracts all the stuffs from the zip to the folder, add a .eclipseextension file with contents:

name=Designer
id=com.instantiations.designer
version=6.3.1

I have manually cleared the configuration folder, But I wonder why this method works well for GWT 1.6, and even 1.7, but fail for 1.7.2.
kelvin
 
Posts: 14
Joined: Tue Mar 13, 2007 7:57 am

Re: GWTDesigner for Window got rid of the problem.

Postby Eric Clayberg » Tue Jun 19, 2007 6:18 am

After further investiation, I believe I know what the problem was.

Due to the significant breaking changes introduced in GWT 1.4.10, the zip installs that we had available were only compatible with Windows, Linux and OSX under GWT 1.3.3 and earlier. The extra code needed for GWT 1.4.10 compatibility was only available in the Windows full installer. That extra code breaks the product under Linux and OSX, so it was left out of the zip installs as those were the only install options for OSX users.

The JavaScript problem originally reported in this thread was likely a direct result of the incompatibilities between GWT 1.4.10 and 1.3.3 (thanks GWT!).

We have now produced new zip installs for Windows that include the GWT 1.4.10 compatibility code that are distinct from the Linux and OSX builds that do not. Once we get the product working for Linux and OSX under GWT 1.4.10, the zip installs will collapse back to a single set.

Sorry for the confusion.
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 GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests