strange problem in production mode
Hi all, did somebody already faced the following problem. I have a code, that runs correctly in development mode, but throws an exception in production mode. The exception I got from the chrome javascript console can be found at the end for this email. Here is the code causing the problem: public void setAddCategoryAction(final BaoActionObject action) { addCategoryButton.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { try { action.execute(); } catch (Exception e) { logger.log(Level.SEVERE, exception, e); logger.log(Level.SEVERE, exception, e.getCause()); } } }); } --- Thanks for any help Rodrigue com.google.gwt.core.client.JavaScriptException: (TypeError): Object de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1 @243 has no method 'execute___3Ljava_lang_Object_2V' stack: TypeError: Object de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1 @243 has no method 'execute___3Ljava_lang_Object_2V' at Object.cm_bao_warehouse_ui_gwt_client_module_inventory_items_ItemsManagement UiPanel$1_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V [as onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V] (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:8946:100) at Object.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt_ event_shared_EventHandler_2V [as dispatch__Lcom_google_gwt_event_shared_EventHandler_2V] (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15396:95) at com_google_gwt_event_shared_SimpleEventBus_$doFire__Lcom_google_gwt_event_sh ared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2Ljava_lang_Objec t_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15825:15) at com_google_gwt_event_shared_SimpleEventBus_$fireEvent__Lcom_google_gwt_event _shared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15879:3) at com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event _shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15761:157) at com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client _ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:378:72) at com_google_gwt_event_dom_client_DomEvent_fireNativeEvent__Lcom_google_gwt_do m_client_NativeEvent_2Lcom_google_gwt_event_shared_HasHandlers_2Lcom_google_ gwt_dom_client_Element_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15295:158) at com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_c lient_ui_Widget_2Lcom_google_gwt_user_client_Event_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:406:212) at Object.com_google_gwt_user_client_ui_CustomButton_onBrowserEvent__Lcom_googl e_gwt_user_client_Event_2V [as onBrowserEvent__Lcom_google_gwt_user_client_Event_2V] (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:26244:3) at com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Ev ent_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_EventL istener_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:23124:12) type: undefined_method arguments: execute___3Ljava_lang_Object_2V,de.warehouse.ui.gwt.client.module.inventory. items.itemsmanagementpresente...@243 at Unknown.cm_bao_warehouse_ui_gwt_client_module_inventory_items_ItemsManagemen tUiPanel$1_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V(Unknown source:0) at Unknown.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt _event_shared_EventHandler_2V(Unknown source:0) at Unknown.com_google_gwt_event_shared_SimpleEventBus_$doFire__Lcom_google_gwt_ event_shared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2Ljava_la ng_Object_2V(Unknown source:0) at Unknown.com_google_gwt_event_shared_SimpleEventBus_$fireEvent__Lcom_google_g wt_event_shared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2V(Unk nown source:0) at Unknown.com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_g wt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(Unk nown source:0) at
RE: strange problem in production mode
Hi Chris I just compiled with pretty. The new stacktrace can be found below. The problem is, how can't it find the method. The same code is working in development mode. Thanks for any help Rodrigue Tue Nov 16 02:49:18 GMT+100 2010 SEVERE: exception com.google.gwt.core.client.JavaScriptException: (TypeError): Object de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1 @243 has no method 'execute' stack: TypeError: Object de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1 @243 has no method 'execute' at Object.onClick_7 [as onClick] (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:8893:21) at Object.dispatch_4 [as dispatch] (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:15317:29) at $doFire (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:15744:17) at $fireEvent_2 (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:15800:3) at $fireEvent_1 (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:15680:29) at $fireEvent (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:375:35) at fireNativeEvent (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:15216:40) at $onBrowserEvent (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:403:52) at Object.onBrowserEvent_4 [as onBrowserEvent] (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:26121:3) at dispatchEvent_2 (http://localhost:8080/warehouse/warehouse/5FC800D3ED29BCEDA9B8A9F96BBCD67D. cache.html:23015:12) -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of Chris Conroy Sent: Tuesday, November 16, 2010 1:23 AM To: Google Web Toolkit Subject: Re: strange problem in production mode In general, it's easier to debug these sorts of issues if you compile your code with -style PRETTY On Mon, Nov 15, 2010 at 6:22 PM, Rodrigue Lagoue Njinthe rlag...@googlemail.com wrote: Hi all, did somebody already faced the following problem. I have a code, that runs correctly in development mode, but throws an exception in production mode. The exception I got from the chrome javascript console can be found at the end for this email. Here is the code causing the problem: public void setAddCategoryAction(final BaoActionObject action) { addCategoryButton.addClickHandler(new ClickHandler() { �...@override public void onClick(ClickEvent event) { try { action.execute(); } catch (Exception e) { logger.log(Level.SEVERE, exception, e); logger.log(Level.SEVERE, exception, e.getCause()); } } }); } --- Thanks for any help Rodrigue com.google.gwt.core.client.JavaScriptException: (TypeError): Object de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1 @243 has no method 'execute___3Ljava_lang_Object_2V' stack: TypeError: Object de.warehouse.ui.gwt.client.module.inventory.items.ItemsManagementPresenter$1 @243 has no method 'execute___3Ljava_lang_Object_2V' at Object.cm_bao_warehouse_ui_gwt_client_module_inventory_items_ItemsManagement UiPanel$1_onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V [as onClick__Lcom_google_gwt_event_dom_client_ClickEvent_2V] (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:8946:100) at Object.com_google_gwt_event_dom_client_ClickEvent_dispatch__Lcom_google_gwt_ event_shared_EventHandler_2V [as dispatch__Lcom_google_gwt_event_shared_EventHandler_2V] (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15396:95) at com_google_gwt_event_shared_SimpleEventBus_$doFire__Lcom_google_gwt_event_sh ared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2Ljava_lang_Objec t_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15825:15) at com_google_gwt_event_shared_SimpleEventBus_$fireEvent__Lcom_google_gwt_event _shared_SimpleEventBus_2Lcom_google_gwt_event_shared_GwtEvent_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15879:3) at com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event _shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V (http://localhost:8080/warehouse/warehouse/FBC5948B66D88B67E2AE1638E979D26C. cache.html:15761:157) at com_google_gwt_user_client_ui_Widget_
RE: Application works in devlopment mode but not in war file
Hi thanks for your answer. Regards Rodrigue From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of Deepak Singh Sent: Sunday, November 14, 2010 4:11 PM To: google-web-toolkit@googlegroups.com Subject: Re: Application works in devlopment mode but not in war file Hi, yes i solved it. Actually i was using InlineLabel(text, Direction) So in development mode it was working fine but while in war file it was throwing error in setting the Direction what i am using. So i changed it to Label('Text') only and did not use Direction and it worked fine. Regards Deepak On Sun, Nov 14, 2010 at 6:43 PM, Rodrigue rlag...@googlemail.com wrote: Hi! did you solve your problem. If yes, I would like to know how. I'm facing a similar problem currently. It seems like the rpc calls are not working correctly when deployed in a war file, whereas all work perfect when running in development mode. Thanks for any help On 10 Nov., 17:22, Deepak Singh deepaksingh...@gmail.com wrote: Hi, There is no stack trace on the server and on firebug as well as developer tools. It simply displays the error in asinle line. When using my GWT application in a local environment, everything works as it should. The problem comes in after I compile and deploy my application. Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses (anonymous function) This error is thrown by one of the cache file generated by GWT at compile time. But this never happens on the locally deployed program (deployed from Eclipse, Run as Web Application i.e running in development mode). Also, I am not using the result of async call anywhere before the call arrives. Thanks Deepak On Thu, Nov 4, 2010 at 3:08 AM, David Chandler drfibona...@google.comwrote: Hi Deepak, Please post the stack trace from the server. Thanks, /dmc On Wed, Nov 3, 2010 at 4:33 PM, Deepak Singh deepaksingh...@gmail.com wrote: Hi, My application works well in development mode but when war file is deployed in tomcat 5.5, it fails at the time of rpc call with following error Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses Any idea pls. I am using GWT 2.1 with Spring 3.0 -- 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 mailto:google-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit http://googlewebtoolkit.blogspot.com/ -- 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 mailto:google-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2Bunsubs cr...@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 mailto:google-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. -- 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.
problem when trying to remove element from ListProvider
Hi all, I get a exception when trying to remove an entry from a LisProvider's list. Hier is the stacktrace. java.lang.UnsupportedOperationException: null at java.util.AbstractList.remove(AbstractList.java:144) at java.util.AbstractList$Itr.remove(AbstractList.java:360) at java.util.AbstractCollection.removeAll(AbstractCollection.java:337) at com.google.gwt.view.client.ListDataProvider$ListWrapper.removeAll(ListDataPr ovider.java:338) The code that causes the error is: ListProvider.getList().removeAll(Arrays.asList(data)); Thanks for any help Rodrigue -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of Lukas Laag Sent: Thursday, November 11, 2010 12:06 PM To: Google Web Toolkit Subject: Performance improvements of GWT2.1 for long-based computations I have just finished porting my chess game (http://www.vectomatic.org/ gwt/lib-gwt-svg-chess/lib-gwt-svg-chess.html) to GWT 2.1 and I would like to report some performance measurements which highlight how much the situation has improved for long-based computations with the release of GWT2.1. The application makes heavy use of java longs, notably in the attack tables of its Carballo chess engine (the table contains 100 000+ longs). At the time the original code was written (one year ago), the time to initialize the attack tables turned out to be so long (around two and a half minutes) that I had to pre-compute them, causing a big one-time penalty in the application download size (4MB download, somewhat mitigated by the use of HTTP compression). Since then, GWT has introduced a revamped emulation of java longs, and browsers javascript engines are now much faster. I have been able to get rid of the pre-computed tables and compute them on the fly. The execution time for this part of the code is now (on my linux box): | Browser| Ellapsed time to compute attack table | FF3.6| 23s | Opera 10.63 | 14s | Chrome 7.x | 0.5s | FF4b7| 3s This certainly beats downloading 4MB of attack tables ! -- 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. -- 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.
repositioning node in a celltree
Hi! did someone already modify successful a celltree's structure programmatically? I want to change the parent of a node programmatically and see the changes displayed on the screen. What I do now is the following: .remove the considered node's value from the old parent's ListDataProvider using ListDataProvider#getList()#remove (). .add the considered node's value to the new parent's ListDataProvider using ListDataProvider#getList()#add() .call ListDataProvider#refresh on both old and new parent ListDataProviders. I expected to see the old node move from the old to the new parent. But what occurs instead, is that the node I wanted to move just disappear from the tree. What can be the problem? Thanks for any help. Rodrigue -- 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: repositioning node in a celltree
Hi! did someone already modify successful a celltree's structure programmatically? I want to change the parent of a node programmatically and see the changes displayed on the screen. What I do now is the following: .remove the considered node's value from the old parent's ListDataProvider using ListDataProvider#getList()#remove (). .add the considered node's value to the new parent's ListDataProvider using ListDataProvider#getList()#add() .call ListDataProvider#refresh on both old and new parent ListDataProviders. I expected to see the old node move from the old to the new parent. But what occurs instead, is that the node I wanted to move just disappear from the tree. What can be the problem? And I would also like to know, if there is a way to tell to a CellTree to redraw itself because the backed data have changed. Thanks for any help. Rodrigue -- 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: change parent of a node in a CellTree
Hi John, I already call refresh after any data changes. Rodrigue From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of John LaBanca Sent: Monday, November 01, 2010 6:58 PM To: google-web-toolkit@googlegroups.com Subject: Re: change parent of a node in a CellTree There is a bug associated with inserting a value into the tree, but calling refresh() on the ListDataProvider should workaround the issue. Do you have any more info that might help debug it? And I would also like to know, if there is a way to tell to a CellTree to redraw itself because the backed data have changed. Not currently. You have to call refresh() on all the ListDataProviders. Thanks, John LaBanca jlaba...@google.com On Mon, Nov 1, 2010 at 12:46 PM, Rodrigue rlag...@googlemail.com wrote: Hi! did someone already modify successful a celltree's structure programmatically? I want to change the parent of a node programmatically and see the changes displayed on the screen. What I do now is the following: . remove the considered node's value from the old parent's ListDataProvider using ListDataProvider#getList()#remove (). . add the considered node's value to the new parent's ListDataProvider using ListDataProvider#getList()#add() . call ListDataProvider#refresh on both old and new parent ListDataProviders. I expected to see the old node move from the old to the new parent. But what occurs instead, is that the node I wanted to move just disappear from the tree. What can be the problem? And I would also like to know, if there is a way to tell to a CellTree to redraw itself because the backed data have changed. Thanks for any help. Rodrigue -- 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 mailto:google-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. -- 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: change parent of a node in a CellTree
Hi John! here the infos you need for debugging have been send directly to your mailbox. Rodrigue From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of John LaBanca Sent: Monday, November 01, 2010 6:58 PM To: google-web-toolkit@googlegroups.com Subject: Re: change parent of a node in a CellTree There is a bug associated with inserting a value into the tree, but calling refresh() on the ListDataProvider should workaround the issue. Do you have any more info that might help debug it? And I would also like to know, if there is a way to tell to a CellTree to redraw itself because the backed data have changed. Not currently. You have to call refresh() on all the ListDataProviders. Thanks, John LaBanca jlaba...@google.com On Mon, Nov 1, 2010 at 12:46 PM, Rodrigue rlag...@googlemail.com wrote: Hi! did someone already modify successful a celltree's structure programmatically? I want to change the parent of a node programmatically and see the changes displayed on the screen. What I do now is the following: . remove the considered node's value from the old parent's ListDataProvider using ListDataProvider#getList()#remove (). . add the considered node's value to the new parent's ListDataProvider using ListDataProvider#getList()#add() . call ListDataProvider#refresh on both old and new parent ListDataProviders. I expected to see the old node move from the old to the new parent. But what occurs instead, is that the node I wanted to move just disappear from the tree. What can be the problem? And I would also like to know, if there is a way to tell to a CellTree to redraw itself because the backed data have changed. Thanks for any help. Rodrigue -- 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 mailto:google-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. -- 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.
Customize CellTables headers
Hi all, I would like to know if it's possible to customize the style of CellTable's header. For example headers looking like buttons. Thanks for any help Rodrigue -- 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.
FW: problem compiling gwt 2.0 using ant
Hi! I'm facing a curious problem when compiling my gwt projects to javascript using ant. The compilations worked perfectly with the previous GWT versions... The most interessant part of the logging text is the following: Validating newly compiled units [java] Removing units with errors [java] [ERROR] Errors in 'jar:file:/home/appdir/.hudson/libraries/gwt/2.0/gwt-user.jar!/com/google/gw t/user/client/ui/DockLayoutPanel.java' [java][ERROR] Line 20: The import com.google.gwt.dom.client.Style.Unit cannot be resolved [java][ERROR] Line 122: Unit cannot be resolved to a type [java][ERROR] Line 132: Unit cannot be resolved to a type [java][ERROR] Line 133: Unit cannot be resolved to a type [java][ERROR] Line 312: Unit cannot be resolved to a type [java][ERROR] Line 313: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 414: Unit cannot be resolved to a type It seems like the gwt compiler doesn't find the class Style.Unit used in the class DockLayoutPanel, although both classes are present in the same jar... On my IDE all works perfectly... Any help will appreciated. Here is the ant target for compilation to javascript target name=gwt-compile depends=init description=Normal compilation and Compile to JavaScript !-- compile the java classes normally -- javac debug=true debuglevel=${debuglevel} destdir=war/WEB-INF/classes source=${source} target=${target} src path=src / classpath refid=SMSGWTUI.classpath / /javac !-- compile the client java file to javascript -- java failonerror=true fork=true classname=com.google.gwt.dev.Compiler classpath pathelement location=src / path refid=SMSGWTUI.classpath / /classpath jvmarg value=-Xmx256M / arg value=${gwt.module.id} / /java /target the java compilation (javac) runs successfully while the gwt compilation doesn't... Any Ideas? Rodrigue -- 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.
problem compiling gwt 2.0 using ant
Hi! I'm facing a curious problem when compiling my gwt projects to javascript using ant. The compilations worked perfectly with the previous GWT versions... The most interessant part of the logging text is the following: Validating newly compiled units [java] Removing units with errors [java] [ERROR] Errors in 'jar:file:/home/appdir/.hudson/libraries/gwt/2.0/gwt-user.jar!/com/google/gw t/user/client/ui/DockLayoutPanel.java' [java][ERROR] Line 20: The import com.google.gwt.dom.client.Style.Unit cannot be resolved [java][ERROR] Line 122: Unit cannot be resolved to a type [java][ERROR] Line 132: Unit cannot be resolved to a type [java][ERROR] Line 133: Unit cannot be resolved to a type [java][ERROR] Line 312: Unit cannot be resolved to a type [java][ERROR] Line 313: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 414: Unit cannot be resolved to a type It seems like the gwt compiler doesn't find the class Style.Unit used in the class DockLayoutPanel, although both classes are present in the same jar... On my IDE all works perfectly... Any help will appreciated. Here is the ant target for compilation to javascript target name=gwt-compile depends=init description=Normal compilation and Compile to JavaScript !-- compile the java classes normally -- javac debug=true debuglevel=${debuglevel} destdir=war/WEB-INF/classes source=${source} target=${target} src path=src / classpath refid=SMSGWTUI.classpath / /javac !-- compile the client java file to javascript -- java failonerror=true fork=true classname=com.google.gwt.dev.Compiler classpath pathelement location=src / path refid=SMSGWTUI.classpath / /classpath jvmarg value=-Xmx256M / arg value=${gwt.module.id} / /java /target the java compilation (javac) runs successfully while the gwt compilation doesn't... Any Ideas? Rodrigue -- 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.
problem compiling gwt 2.0 using ant
Hi! I'm facing a curious problem when compiling my gwt projects to javascript using ant. The compilations worked perfectly with the previous GWT versions... The most interessant part of the logging text is the following: Validating newly compiled units [java] Removing units with errors [java] [ERROR] Errors in 'jar:file:/home/appdir/.hudson/libraries/gwt/2.0/gwt-user.jar!/com/google/gw t/user/client/ui/DockLayoutPanel.java' [java][ERROR] Line 20: The import com.google.gwt.dom.client.Style.Unit cannot be resolved [java][ERROR] Line 122: Unit cannot be resolved to a type [java][ERROR] Line 132: Unit cannot be resolved to a type [java][ERROR] Line 133: Unit cannot be resolved to a type [java][ERROR] Line 312: Unit cannot be resolved to a type [java][ERROR] Line 313: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 390: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 391: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 396: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 397: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 402: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 403: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 408: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 409: Unit cannot be resolved to a type [java][ERROR] Line 414: Unit cannot be resolved to a type It seems like the gwt compiler doesn't find the class Style.Unit used in the class DockLayoutPanel, although both classes are present in the same jar... On my IDE all works perfectly... Any help will appreciated. Rodrigue -- 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.
Problem using rpc GWT2.0
Hi all i just spent more than a whole day on this issue. Does somebody know why this problem occurs? I tried almost all solutions discussed on the internet. But nothing seems to work. here is my error message: Type 'cm.bao.sms.ui.web.gwt.client.wrapper.BooleanWrapper' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = false Since i used an instance of Boolean before, here the previous error message was Type 'cm.bao.sms.ui.web.gwt.client.wrapper.Boolean' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = false The Service method signature look like this; public T extends ResponseV, V extends Serializable, D extends Serializable T execute( ActionT, V, D action); The Boolean Wrapper class definition: public final class BooleanWrapper implements Serializable, IsSerializable { /** * */ private static final long serialVersionUID = -5103012029222801034L; private boolean value; public BooleanWrapper() { super(); } public BooleanWrapper(boolean v) { this.value = v; } public boolean getValue() { return value; } public String toString() { return + value; } } -- 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.
Setting Background image on panel
Hi again, i spent all the day looking for a solution, the only things i found, were for people working with GWT-Ext JS. Does somebody know if it's possible to set an image as panel's background? thanks for any help -Original Message- From: Google-Web-Toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of rlag...@googlemail.com Sent: Tuesday, July 28, 2009 8:14 PM To: Google Web Toolkit Subject: Setting Background image on panel Hi all, i'm new to GWT. I would like to know if there is a way to set a background image on a panel. thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---