GPE 3.6, breaks again for UIBinder files

62 views
Skip to first unread message

John Gentilin

unread,
May 11, 2011, 7:51:05 PM5/11/11
to Google Web Toolkit
I just installed the update to GPE 3.6 and it refuses to load my
UIBinder files now..
This is different than the Designer 8.1.x issue, when upgrading to GWT
2.3, my entire Eclipse
installation went south.. So I installed a fresh copy of Eclipse, and
installed GWT 2.3 clean..
Its also a different error, instead of a heap space issue it's saying
an error with GWT.xml
I filed a bug and attached a crash report file there see

http://code.google.com/p/google-web-toolkit/issues/detail?id=6346

This is running on a Mac with JVM 1.6.0 and Exlipse Helios Service
Release 2
Build id: 20110218-0911

-John G

John Gentilin

unread,
May 11, 2011, 10:57:21 PM5/11/11
to Google Web Toolkit
So I created a fresh Eclipse Install, and only installed the GPE from
a URL and
the Subclipse plugin.. and I still get the error..

Seems that while initializing GWT Development Mode, it has a problem
finding
my entry point class.. It's there right where it thinks it should be..

Is there a way to get the Update URL for the previous release ??

-John G

mats

unread,
May 12, 2011, 10:47:50 AM5/12/11
to Google Web Toolkit
On 12 Mai, 04:57, John Gentilin <gent...@gmail.com> wrote:
> Seems that while initializing GWT Development Mode, it has a problem
> finding
> my entry point class.. It's there right where it thinks it should be..

I have the same problem while initializing GWT Designer. Building from
Ant buildfile works fine.
Deinstalling GPE and GWT Designer, deleting the proper directories in
the .plugin folder of my workspace and reinstalling GPE + GWT Designer
didn't work.

Did anyone has the same issues and eventually solved this?

Greetings from Berlin,
Mats

cri

unread,
May 12, 2011, 1:00:16 PM5/12/11
to Google Web Toolkit
This sounds very similar to a problem that I was having getting GWT
Designer to come up. Try deleting the Google plugins then do a search
of your workspace ".plugins" directory for any file having "google" in
its filename. If you find any delete them. Then re-install the google
plugins and try again. Hope this works for you. It did for me.

John Gentilin

unread,
May 12, 2011, 4:39:50 PM5/12/11
to Google Web Toolkit

I went one step further and deleted both my Eclipse & Workspace dirs
then reinstalled
with no luck..

@cri, I think I had the same problem as you when I first upgraded to
2.3, but
my brute force reinstall of eclipse fixed it. This problem only came
in with the
latest 5/9 release. What GPE version do you have, I have
2.3.1.r36v201105092302

This may be a Mac only issue since there is a different issue if I
allow my Mac
to upgrade to the latest JVM..

Is there a link where we can download previous releases, this was
working fine
with the 2.3.0.r36V201104261928 version.

-John G

Eric Clayberg

unread,
May 13, 2011, 10:44:55 PM5/13/11
to Google Web Toolkit
Are you able to create a new GWT project and a new UiBinder file? IOW,
is this problem limited to the UiBinder files in your project or to
any UiBinder files you edit (including brand new, simple ones created
with the GPE wizard)?

I have been using 2.3.1 for a couple of days now under both Windows
and OSX and have not run into any problems editing UiBinder files. I
just tried a fresh install of 2.3.1 under both Windows and OSX and
tried it with a large number fo sample UiBinder files without any
issues.

We took a look at the bug report you submitted and the log contains
several suspicious errors. Note that any error message you see that
starts with "[ERROR]" is a being passed through from GWT itself. If
there are problems with the project at the basic GWT level, GWT
Designer will not be able to edit its contents. At this point, it
would be useful to see an entire test case project that reproduces
this (just append it to the bug report case you opened).

Eric Clayberg

unread,
May 13, 2011, 10:54:00 PM5/13/11
to Google Web Toolkit
Are you able to create a new GWT project and a new UiBinder file? IOW,
is this problem limited to the UiBinder files in your project or to
any UiBinder files you edit (including brand new, simple ones created
with the GPE wizard)?

I have been using 2.3.1 for a couple of days now under both Windows
and OSX and have not run into any problems editing UiBinder files. I
just tried a fresh install of 2.3.1 under both Windows and OSX and
tried it with a large number fo sample UiBinder files without any
issues.

We took a look at the bug report you submitted and the log contains
several suspicious errors. Note that any error message you see that
starts with "[ERROR]" is a being passed through from GWT itself. If
there are problems with the project at the basic GWT level, GWT
Designer will not be able to edit its contents. At this point, it
would be useful to see an entire test case project that reproduces
this (just append it to the bug report case you opened).

John Gentilin

unread,
May 14, 2011, 5:29:53 AM5/14/11
to Google Web Toolkit
I create a sample GWT project (greeter service) then created a
UIBinder class
and loading the ui.xml in the GWT designer still failed.. The UIBinder
is just the
default content that you get with the wizard..

I am wondering if this is an issue because I wiped my Eclipse config
and reinstalled..
Maybe I am missing a legacy file that was left around from a previous
version.

I don't think this is a GWT error because my App compiles and runs
just fine all
my UIBinder widgets render correctly, this is a problem only when I
try to go to
design mode with the WindowBuilder Editor..

I updated the ticket, and attached my sample project (sans the lib
files for size) plus
the latest crash dump.. I also provide a link to download a zipped
version of my
Eclipse install.

-John G

John Gentilin

unread,
May 14, 2011, 6:06:30 AM5/14/11
to Google Web Toolkit
I found a clue... If I create a project inside my workspace, then the
designer
works just fine.. All my projects exist outside my workspace..

If you look at the error log,
Unexpected entry in classpath; /Users/gentijo/Eclipse/Gentijo/
SampleGWT/src is neither a directory nor an archive (.jar or .zip)

/Users/gentijo/Eclipse/Gentijo is my workspace path
SampleGWT/src is the relative offset of my source code in my project
dir..

Also I noticed something else, I was trying to see if it was a GWT
error so I downloaded different versions of
GWT and installed them outside of my Eclipse directory.. The in the
Window Builder GWT preferences,
I set the path to GWT installation directory to specific versions of
GWT.. I was expecting the .gwt-log to
reflect the changes I made, but for the session that runs when the
designer is loading, I still see it loading
classes from the plugin bundle i.e.

Loading inherited module 'com.google.gwt.storage.Storage'
Module location: jar:file:/Java/eclipse-helios/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/storage/Storage.gwt.xml

-John G

John Gentilin

unread,
May 14, 2011, 6:23:24 AM5/14/11
to Google Web Toolkit
I found a workaround... I went in my Workspace directory and created
a
soft link to my project directory.. seems to satisfy GWT Designer.

-JG

Eric Clayberg

unread,
May 16, 2011, 10:14:19 AM5/16/11
to Google Web Toolkit
Give the latest GWT Designer build a try and let us know if it
helps...

http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html

On May 14, 6:23 am, John Gentilin <gent...@gmail.com> wrote:
> I found a workaround... I went in my Workspace directory and created
> a
> soft link to my project directory.. seems to satisfy GWT Designer.
>
> -JG
>
> On May 14, 3:06 am, John Gentilin <gent...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I found a clue... If I create a project inside my workspace, then the
> > designer
> > works just fine.. All my projects exist outside my workspace..
>
> > If you look at the error log,
> >    Unexpected entry in classpath; /Users/gentijo/Eclipse/Gentijo/
> > SampleGWT/src is neither a directory nor an archive (.jar or .zip)
>
> > /Users/gentijo/Eclipse/Gentijois my workspace path

John Gentilin

unread,
May 16, 2011, 4:06:36 PM5/16/11
to Google Web Toolkit
The beta version works for the GWT Designer / Project class path
problem..

While not a bug/problem, the WindowBuilder Editor still seems to be
ignoring
the Preferences / WindowBuilder / GWT / Installation Directory
setting

I found this while trying to diagnose the other problem, no matter
what I set it to, it always loads the GWT from the Plugin Bundle..
I am inferring this based on the log messages and that I can change it
to a bogus value and it has no ill effect..

It would be nice if we could be able to download previous versions...
Last week I was in a bit of a panic, after I upgraded it broke and I
had no way to get back to a workable state.

Thank you for the quick turn around
-John Gentilin

On May 16, 7:14 am, Eric Clayberg <clayb...@google.com> wrote:
> Give the latest GWT Designer build a try and let us know if it
> helps...
>
> http://code.google.com/webtoolkit/tools/download-gwtdesigner-beta.html
>
> On May 14, 6:23 am, JohnGentilin<gent...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I found a workaround... I went in my Workspace directory and created
> > a
> > soft link to my project directory.. seems to satisfy GWT Designer.
>
> > -JG
>
> > On May 14, 3:06 am, JohnGentilin<gent...@gmail.com> wrote:
>
> > > I found a clue... If I create a project inside my workspace, then the
> > > designer
> > > works just fine.. All my projects exist outside my workspace..
>
> > > If you look at the error log,
> > >    Unexpected entry in classpath; /Users/gentijo/Eclipse/Gentijo/
> > > SampleGWT/src is neither a directory nor an archive (.jar or .zip)
>
> > > /Users/gentijo/Eclipse/Gentijois my workspace path
> > > SampleGWT/src is the relative offset of my source code in my project
> > > dir..
>
> > > Also I noticed something else, I was trying to see if it was a GWT
> > > error so I downloaded different versions of
> > > GWT and installed them outside of my Eclipse directory.. The in the
> > > Window Builder GWT preferences,
> > > I set the path to GWT installation directory to specific versions of
> > > GWT.. I was expecting the .gwt-log to
> > > reflect the changes I made, but for the session that runs when the
> > > designer is loading, I still see it loading
> > > classes from the plugin bundle i.e.
>
> > >    Loading inherited module 'com.google.gwt.storage.Storage'
> > >       Module location: jar:file:/Java/eclipse-helios/plugins/
> > > com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
> > > user.jar!/com/google/gwt/storage/Storage.gwt.xml
>
> > > -John G
>
> > > > > On May 12, 8:39 pm, JohnGentilin<gent...@gmail.com> wrote:
>
> > > > > > I went one step further and deleted both my Eclipse & Workspace dirs
> > > > > > then reinstalled
> > > > > > with no luck..
>
> > > > > > @cri, I think I had the same problem as you when I first upgraded to
> > > > > > 2.3, but
> > > > > > my brute force reinstall of eclipse fixed it. This problem only came
> > > > > > in with the
> > > > > > latest 5/9 release. What GPE version do you have, I have
> > > > > > 2.3.1.r36v201105092302
>
> > > > > > This may be a Mac only issue since there is a different issue if I
> > > > > > allow my Mac
> > > > > > to upgrade to the latest JVM..
>
> > > > > > Is there a link where we can download previous releases, this was
> > > > > > working fine
> > > > > > with the 2.3.0.r36V201104261928 version.
>
> > > > > > -John G
>
> > > > > > On May 12, 10:00 am, cri <chuck.irvine...@gmail.com> wrote:
>
> > > > > > > This sounds very similar to a problem that I was having getting GWT
> > > > > > > Designer to come up. Try deleting the Google plugins then do a search
> > > > > > > of your workspace ".plugins" directory for any file having "google" in
> > > > > > > its filename. If you find any delete them. Then re-install the google
> > > > > > > plugins and try again. Hope this works for you. It did for me.
>
> > > > > > > On May 12, 9:47 am, mats <mats.kren...@googlemail.com> wrote:
>

Eric Clayberg

unread,
May 17, 2011, 5:32:57 PM5/17/11
to Google Web Toolkit
Actually, that Installation Directory preference is only used/needed
when GWT Designer is used without GPE loaded (so you have to
explicitly reference the GWT SDK). It is also only used with GWT
Designer-created GWT projects as it basically just sets the GWT_HOME
variable. When GPE is installed, it wil always use the provided
version of GWT. This is intentional. If your project uses a GWT
classpath container, you can use the Google > Web Toolkit project
properties to set the SDK version that is used. We will look into
disabling that preference when it does not apply.
Reply all
Reply to author
Forward
0 new messages