Re: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

2014-06-22 Thread Bert van Brakel
Confirm that adding the key to the Wow6432Node  as above does the trick. 
The other solutions didn't work for me. Could either be the difference 
between the 32/64bit versions, or java 1.7/1.8. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Fail upgrade to GWT 2.3

2011-05-05 Thread Bert
com.google.web.bindery.event.shared.UmbrellaException; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Errors in 'jar:file:/C:/
eclipse-jee-helios/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/event/shared/testing/CountingEventBus.java'
[ERROR] [erdilverbatimvisualisation] - Line 29: No source code 
is
available for type
com.google.web.bindery.event.shared.testing.CountingEventBus; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 41: Cannot cast from
GwtEvent.TypeH to Event.TypeH
[ERROR] [erdilverbatimvisualisation] - Line 41: No source code 
is
available for type
com.google.web.bindery.event.shared.EventH.TypeH; did you forget
to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 45: No source code 
is
available for type
com.google.web.bindery.event.shared.HandlerRegistration; did you
forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 51: Cannot cast from
GwtEvent.TypeH to Event.TypeH
[ERROR] [erdilverbatimvisualisation] - Line 60: No source code 
is
available for type com.google.web.bindery.event.shared.EventH; did
you forget to inherit a required module?
[ERROR] [erdilverbatimvisualisation] - Line 80: The method
getCount(Event.Type?) in the type CountingEventBus is not applicable
for the arguments (GwtEvent.Typecapture#5-of ?)
[TRACE] [erdilverbatimvisualisation] - Finding entry point classes
[ERROR] [erdilverbatimvisualisation] - Unable to find type
'erdil.gwt.client.verbatim.client.ErdilVerbatimVisualisation'
[ERROR] [erdilverbatimvisualisation] - Hint: Previous compiler
errors may have made this type unavailable
[ERROR] [erdilverbatimvisualisation] - Hint: Check the 
inheritance
chain from your module; it may not be inheriting a required module or
a module may not be adding its source path entries properly
[ERROR] [erdilverbatimvisualisation] - Failed to load module
'erdilverbatimvisualisation' from user agent 'Mozilla/5.0 (Windows NT
6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1' at 127.0.0.1:51289

Thanks,

Bert

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: DockLayoutPanel KeyHandler?

2011-02-27 Thread Bert
Without the FocusPanel I have no idea on how to add a KeyHandler to my 
entire application.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



add Key Handler to DockLayoutPanel?

2011-02-26 Thread Bert
I'm trying to migrate my application to GWT 2.1 but I run into problems 
trying to switch 
from my DockPanel to the DockLayoutPanel.

Before I had this:
RootPanel.get().add(new MainPanel());

public class MainPanel extends Composite implements KeyDownHandler {
public FocusPanel focusPanel = new FocusPanel();
public static DockPanel dockPanel = new DockPanel();

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



DockLayoutPanel KeyHandler?

2011-02-26 Thread Bert
I'm trying to migrate my application to GWT 2.1 but I run into problems 
trying to switch 
from my DockPanel to the DockLayoutPanel.

Before I had this:
RootPanel.get().add(new MainPanel());

public class MainPanel extends Composite implements KeyDownHandler {
public FocusPanel focusPanel = new FocusPanel();
public static DockPanel dockPanel = new DockPanel();
dockPanel.add(banner, DockPanel.NORTH);
dockPanel.add(loginPanel, DockPanel.CENTER);
dockPanel.setWidth(100%);
focusPanel.setWidget(dockPanel);
initWidget(focusPanel);
focusPanel.addKeyDownHandler(this);

   onKeyDown(KeyDownEvent e) { ... every keyDown in my app gets picked 
up here }
}

I have no way to turn this into a working version with the DockLayoutPanel.

Any Thoughts? Could someone please look into this for me?

Kind Regards

Bert

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-31 Thread Bert
Make sure you do a clean install of the google plugin in a clean
eclipse.

I tried updating the google plugin to version 1.3.2 but after the
update,
not all of the features in the plugin were enabled for me.

I've spend a lot of time trying to get a sample project working
without success.

After using a clean eclipse with a clean google plugin installation
(make sure you use version 1.3.2 of the plugin).

The sample app ran without any problem.

On 22 mrt, 21:46, Keith Platfoot kplatf...@google.com wrote:
 Hi Sergio,

 Just wanted to mention that we've just released the 1.3.1 version of the
 Google Plugin for Eclipse, which has much better interoperability with
 GWT+Maven projects.  We even have a new FAQ dedicated to this scenario:

 http://code.google.com/eclipse/docs/faq.html#gwt_with_maven

 As of 1.3, it is easy to debug your Maven project's GWT code with a regular
 Web Application launch configuration.  If you're using Eclipse for Java EE,
 you can also get automatic refresh when your source code or static resources
 (HTML, CSS, etc.) change.  Unlike previous versions of the Eclipse plugin,
 you can now customize your project's configured WAR directory (e.g. set it
 to 'src/main/webapp') and specify that it should be used as input-only (per
 Maven convention).

 Keith

 On Mon, Mar 15, 2010 at 4:30 PM, Sergio s3rgio...@gmail.com wrote:
  Hello everybody, I'm beginning with GWT development and I have a
  problem.

   I've already configured Eclipse 3.5 with gwt plugin and m2eclipse
  plugin. I create a new maven project with gwt-maven-plugin archetype,
  but I'm not able to communicate client side with server side. I've
  read the same problem is happened other people but no solution.

  I'm trying to debug the sample application with gwt:debug goal and
  then Run remote java application in Debug configuration. I don't
  know if I am doing anything wrong. Any idea?

  Thank you and sorry for my English.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-26 Thread Bert
Keith,

You refer to using the src/main/webapp to being the base of your
hosted mode, but how do you make the code compile GWT to that folder
and how do you add the dependencies (libs) to the meta-inf lib folder?
The reason for me being unable to use the GWT items/code is because
it's not
in the src/main/webapp folder...

Sorry for the noobie question, I understand that mvn package does al
this in the target folder, but how do you force the project to create/
update this
for the src/main/webapp folder which will serve as war directory used
by the hosted mode?

Regards

Bert

On Mar 25, 9:49 pm, Bert roexb...@gmail.com wrote:
 Keith,

 Trying to follow the instructions I cannot find a URL field in theGWT
 tab  I'm not asked for the war directory

    1. and on theGWTtab change the URL field to point to your server
 (e.g.http://localhost:8080/WebApp).
    2. Run/Debug your new launch configuration. The first time you do
 this, you'll have to select the location of the WAR directory that WTP
 is publishing to (this is configurable, but by default it is
 workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/
 wtpwebapps/project).

 I've installed a fresh tomcat 6.0 which does run the hosted mode
 correctly without
 executing the steps that I could not perform before.

 If I use the mvn clean package goal, I can also run the generated war
 in my tomcat 5.5.

 Is it known that hosted mode does not work for tomcat 5.5?

 And in my hosted mode I saw that theGWTcontents do not get loaded.
 I only get the static text to display, not theGWTtextbox/Button.

 If I run a packaged version of the war in my tomcat, I do see theGWT
 textbox/Button and I'm able
 to perform the RPC call.

 Anyone familiar with this? Am I Missing some set-up for running the
 hosted mode?

 On 23 mrt, 16:37, Keith Platfoot kplatf...@google.com wrote:

  Hi Bert,

  I converted theGWTstarter app into aMavenproject (see attachment), which
  might serve as a good starting point for you.  It usesGWT2.0.3,
 gwt-maven-plugin 1.2, and Google Plugin for Eclipse 1.3.1.  I've also
  included an Eclipse project and launch configuration.  To import the
  project:

     - Ensure you have Eclipse for Java EE installed
     - Create a server adapter for the project (right-click in Servers via and
     select New).  I used Tomcat, which runs on port 8080 (this needs to be
     reflected in the Web Application launch configuration)
     - Create an M2_REPO classpath variable pointing to yourMavenrepository
     (Preferences  Java  Build Path).
     - Because the project references theGWTjars from theMavenrepo instead
     of a standardGWTSDK installation, you'll probably get a spurious error on
     the project which you can suppress via Preferences  Google 
     Errors/Warnings  Project structure and SDKs  Missing SDK.

  Keith

  On Wed, Mar 17, 2010 at 11:06 AM, Bert roexb...@gmail.com wrote:
   I'm also very interested in setting up a Project like this.
   Any sample code from anyone?

   On Mar 17, 1:44 am, zggame zgg...@gmail.com wrote:
I think the latestgwt-maven-plugin isgwt1.6.4.  Not2.0.3

On Mar 15, 3:30 pm, Sergio s3rgio...@gmail.com wrote:

 Hello everybody, I'm beginning withGWTdevelopment and I have a
 problem.

  I've already configured Eclipse 3.5 withgwtplugin and m2eclipse
 plugin. I create a newmavenproject withgwt-maven-plugin archetype,
 but I'm not able to communicate client side with server side. I've
 read the same problem is happened other people but no solution.

 I'm trying to debug the sample application withgwt:debug goal and
 then Run remote java application in Debug configuration. I don't
 know if I am doing anything wrong. Any idea?

 Thank you and sorry for my English.

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

   MavenAppRpc.zip
  21KWeergevenDownloaden

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-25 Thread Bert
Keith,

Trying to follow the instructions I cannot find a URL field in the GWT
tab  I'm not asked for the war directory

   1. and on the GWT tab change the URL field to point to your server
(e.g. http://localhost:8080/WebApp).
   2. Run/Debug your new launch configuration. The first time you do
this, you'll have to select the location of the WAR directory that WTP
is publishing to (this is configurable, but by default it is
workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/
wtpwebapps/project).

I've installed a fresh tomcat 6.0 which does run the hosted mode
correctly without
executing the steps that I could not perform before.

If I use the mvn clean package goal, I can also run the generated war
in my tomcat 5.5.

Is it known that hosted mode does not work for tomcat 5.5?

And in my hosted mode I saw that the GWT contents do not get loaded.
I only get the static text to display, not the GWT textbox/Button.

If I run a packaged version of the war in my tomcat, I do see the GWT
textbox/Button and I'm able
to perform the RPC call.

Anyone familiar with this? Am I Missing some set-up for running the
hosted mode?

On 23 mrt, 16:37, Keith Platfoot kplatf...@google.com wrote:
 Hi Bert,

 I converted the GWT starter app into a Maven project (see attachment), which
 might serve as a good starting point for you.  It uses GWT 2.0.3,
 gwt-maven-plugin 1.2, and Google Plugin for Eclipse 1.3.1.  I've also
 included an Eclipse project and launch configuration.  To import the
 project:

    - Ensure you have Eclipse for Java EE installed
    - Create a server adapter for the project (right-click in Servers via and
    select New).  I used Tomcat, which runs on port 8080 (this needs to be
    reflected in the Web Application launch configuration)
    - Create an M2_REPO classpath variable pointing to your Maven repository
    (Preferences  Java  Build Path).
    - Because the project references the GWT jars from the Maven repo instead
    of a standard GWT SDK installation, you'll probably get a spurious error on
    the project which you can suppress via Preferences  Google 
    Errors/Warnings  Project structure and SDKs  Missing SDK.

 Keith

 On Wed, Mar 17, 2010 at 11:06 AM, Bert roexb...@gmail.com wrote:
  I'm also very interested in setting up a Project like this.
  Any sample code from anyone?

  On Mar 17, 1:44 am, zggame zgg...@gmail.com wrote:
   I think the latest gwt-maven-plugin is gwt 1.6.4.  Not 2.0.3

   On Mar 15, 3:30 pm, Sergio s3rgio...@gmail.com wrote:

Hello everybody, I'm beginning with GWT development and I have a
problem.

 I've already configured Eclipse 3.5 with gwt plugin and m2eclipse
plugin. I create a new maven project with gwt-maven-plugin archetype,
but I'm not able to communicate client side with server side. I've
read the same problem is happened other people but no solution.

I'm trying to debug the sample application with gwt:debug goal and
then Run remote java application in Debug configuration. I don't
know if I am doing anything wrong. Any idea?

Thank you and sorry for my English.

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



  MavenAppRpc.zip
 21KWeergevenDownloaden

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-17 Thread Bert
I'm also very interested in setting up a Project like this.
Any sample code from anyone?

On Mar 17, 1:44 am, zggame zgg...@gmail.com wrote:
 I think the latest gwt-maven-plugin is gwt 1.6.4.  Not 2.0.3

 On Mar 15, 3:30 pm, Sergio s3rgio...@gmail.com wrote:

  Hello everybody, I'm beginning with GWT development and I have a
  problem.

   I've already configured Eclipse 3.5 with gwt plugin and m2eclipse
  plugin. I create a new maven project with gwt-maven-plugin archetype,
  but I'm not able to communicate client side with server side. I've
  read the same problem is happened other people but no solution.

  I'm trying to debug the sample application with gwt:debug goal and
  then Run remote java application in Debug configuration. I don't
  know if I am doing anything wrong. Any idea?

  Thank you and sorry for my English.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt 2.0.2: FileUpload and set(Visible/Enabled)

2010-02-24 Thread Bert
Hi,

Try putting the setEnabled/setVisible calls in a block like this:

DeferredCommand.addCommand(new Command() {
 public void execute() {
myObj.setEnabled(true);
}
}

also make sure when building the panel you show the item even if it is
just onLoad of your widget.

If de building of your panel completes you then disable/make it
invisible.

This migth seem odd to your users, so try some type of overlaying
loading panel while building a panel.

And close this overlay once every component is in the state you want
to view.

Hope this helps

On 23 feb, 18:07, seven.reeds seven.re...@gmail.com wrote:
 Hi,

 I am using a FileUpload widget for the first time.  It is in a place
 where I want to allow the visitor to either do the FileUpload or enter
 a URL in a TextBox.  I have set up a RadioButton group to toggle
 between the two choices.  In the onClick method for the RadioButtons I
 can setEnabled or setVisible the TextBox to true/false as needed.

 The FileUpload widget just seems to ignore these requests.  Should it?

 I will add that the FileUpload Button and TextBox components both stay
 visible in any set state.  The button always stays Enabled the
 TextBox always appears to be grey'd out/disabled.

 ideas?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Problems wirh the new GWT + GWTdesigner + GWText

2010-02-16 Thread Bert
I get the same errors, trying to port my application from 1.5.3 to
2.0.0.

I have no idea what this can possibly mean.

On Feb 8, 10:12 pm, jacevedo aceac...@gmail.com wrote:
 Hi,

 I have a project of GWT 1.7.1 working with GWT Designer 7.2 and GWTExt
 2.0.5 and it works very good. Know I`m migrating to GWT2.0whit GWT
 Designer 7.3 because it have the development mode. The first time I
 made in Eclipse right click on the project - Run AS - GWT
 Application, the program works fine, but when I made right click on
 the project - Run AS - Compile GWT Application and then I run
 the GWT Application, it looks fine, but when I make an GWT RPC call
 it fails.

 The Eclipse console log is:

 com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:Parameter0of
  is of anunknowntype'java.lang.String/2004016611'
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
         at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
 39)
         at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
 27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
 105)
         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
 71)
         at
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
 157)
         at
 com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:
 1713)
         at
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
 165)
         at
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
 120)
         at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
 507)
         at
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
 264)
         at
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
 91)
         at
 com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException_FieldSerializer.instantiate(IncompatibleRemoteServiceException_FieldSerializer.java)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
 39)
         at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
 25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
 103)
         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
 71)
         at
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
 157)
         at
 com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:
 1713)
         at
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
 165)
         at
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
 120)
         at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
 507)
         at
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
 264)
         at
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
 91)
         at com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap
 $.instantiate$(SerializerBase.java)
         at
 com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:
 140)
         at
 com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:
 114)
         at
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:
 61)
         at
 com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
 199)
         at
 com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
 287)
         at com.google.gwt.http.client.RequestBuilder
 $1.onReadyStateChange(RequestBuilder.java:396)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
 39)
         at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
 25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
 103)
         at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
 71)
         at
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
 157)
         at
 com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:
 1713)
         at
 

Re: Deprecation warning in all RPCs dealing with collections on GWT 2.0 RC2

2010-01-06 Thread Bert
I'm experiencing the same problem.

On Dec 8 2009, 6:24 pm, Luis Fernando Planella Gonzalez
lfpg@gmail.com wrote:
 Hi.
 We're using GWT 1.7 and I'm starting to experiment with 2.0 RC2 to
 evaluate GWT.runAsync().

 However, now as I compile the app, I get warning for deprecations in
 all RPC methods which return collections. I guess it's because the
 result is declared as java.util.Collection, and the deprecated
 com.google.gwt.user.client.ui.*ListenerCollection classes extends
 ArrayList, making even the alternative to change the result of RPC
 methods to ArrayList instead of Collection don't work.

 The log is something like this, multiple times:
             [WARN] Warnings in 'generated://
 8D0B12EA4B123D9B133384111C9A7E38/nl/strohalm/cyclos/client/app/users/
 images/UserImageRemoteService_TypeSerializer.java'
                [WARN] Line 50: Referencing deprecated class
 'com.google.gwt.user.client.ui.ChangeListenerCollection'
                [WARN] Line 55: Referencing deprecated class
 'com.google.gwt.user.client.ui.ClickListenerCollection'
                [WARN] Line 60: Referencing deprecated class
 'com.google.gwt.user.client.ui.FocusListenerCollection'
                [WARN] Line 65: Referencing deprecated class
 'com.google.gwt.user.client.ui.FormHandlerCollection'
                [WARN] Line 70: Referencing deprecated class
 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
                [WARN] Line 75: Referencing deprecated class
 'com.google.gwt.user.client.ui.LoadListenerCollection'
                [WARN] Line 80: Referencing deprecated class
 'com.google.gwt.user.client.ui.MouseListenerCollection'
                [WARN] Line 85: Referencing deprecated class
 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
                [WARN] Line 90: Referencing deprecated class
 'com.google.gwt.user.client.ui.PopupListenerCollection'
                [WARN] Line 95: Referencing deprecated class
 'com.google.gwt.user.client.ui.ScrollListenerCollection'
                [WARN] Line 100: Referencing deprecated class
 'com.google.gwt.user.client.ui.TabListenerCollection'
                [WARN] Line 105: Referencing deprecated class
 'com.google.gwt.user.client.ui.TableListenerCollection'
                [WARN] Line 110: Referencing deprecated class
 'com.google.gwt.user.client.ui.TreeListenerCollection'
                See snapshot: /tmp/
 UserImageRemoteService_TypeSerializer2951604978153994580.java

 Is there a way to remove those classes from being handled in RPC?
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.