Vaadin 6.4.2 upgrade to 6.4.3 Window.getParent()).removeWindow

Hello together,

when upgrading my project from Vaadin framework 6.4.2 to 6.4.3 the following error:

java.lang.NoSuchMethodError: com.vaadin.ui.Window.getParent()Lcom/vaadin/ui/Window

is thrown when using:

Window2.getParent().removeWindow( Window2 )

It worked in 6.4.2. Do i something wrong or is it a bug ?

Greatings

Hans

Infrastructure:

NetBeans 6.9
Glassfish V2

You probably have two different copies of the Vaadin JAR on your classpath - check the project and the server JARs.

Also make sure the the widgetset you are using has been compiled with the correct (new) Vaadin version. Version 6.4.4 is also out.

Hello Henri,

i just changed the .jar file inside the NetBeans project, like i did since version 6.3.3.
I will try it with version 6.4.3 again and do a clean deployment against Glassfish.

Can you give me further details about compiling the widgetset ( is it necessary in my context ? ), i am still a beginning user of Vaadin and in a evaluating phase for our company about the usability of the Vaadin framework.

Thanks a lot and greatings to Suomi

Hans

Using custom client-side widgets (usually from add-ons) requires recompiling the widgetset. If you are not using any, using the correct version of a pre-compiled widgetset e.g. from the Vaadin JAR should be enough.

For compiling a widgetset on NetBeans, see
these instructions
.

For general information about widgetsets, see
the Book of Vaadin
, chapters 3 (architecture) and 10 (developing custom components) may be of interest.