GWT serialization problem

2013-03-12 Thread Вадим Коваленко
Hello, in my app I faced a problem when reloading some pages. The error is: 

com.google.gwt.user.client.rpc.SerializationException: 
java.lang.RuntimeException: Unable to find class 
com.google.gwt.user.client.rpc.core.java.lang.Long_FieldSerializer

 I've downloaded gwt sources and found that error is caused by this line:

Class? klass = ReflectionHelper.loadClass(typeHandlerClass);

in file com/google/gwt/user/client/rpc/impl/SerializerBase.java

When we navigate to the page with hyper links or enter url manually 
everything works perfect, the code above is working, the class is loaded. 
But when we hit F5 button on some pages, the exception appears.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Refresh button hangs up GWT application

2013-03-11 Thread Вадим Коваленко
 
   
I have a problem with my GWT (2.5.0) app: on some (not all) pages when user 
hits refresh or F5 button, my app stops responding and only shows loading 
wheel. For example, on page 

http://127.0.0.1:/portal/index.html?gwt.codesvr=127.0.0.1:9997#categories 

refresh works fine, but on 

http://127.0.0.1:/portal/index.html?gwt.codesvr=127.0.0.1:9997#dataset/1474

it doesn't, and I should manually go to 
127.0.0.1:/portal/index.html?gwt.codesvr=127.0.0.1:9997 to make it up 
again. When my app starts first time i have this message: 

Loading module: portal
  Top URL: http://127.0.0.1:/portal/index.html?gwt.codesvr=127.0.0.1:9997
  User agent: FF
  Remote host: localhost:33702
  Tab key: 0x942f6ad0
  Session key: *u'04-84mG9\V\
DEBUG: Validating units:
  INFO: Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
INFO: Module portal has been loaded
 

When I hit refresh, I got this:

Loading module: portal
  Top URL: 
http://127.0.0.1:/portal/index.html?gwt.codesvr=127.0.0.1:9997#dataset/247
  User agent: FF
  Remote host: localhost:33727
  Tab key: 0x942f6ad0
  Session key: j[!{tfNQto8{^D
DEBUG: Validating units:
  INFO: Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
DEBUG: Rebinding com.example.portal.ui.client.dataset.rpc.VDatasetDGService
  DEBUG: Adding '46' new generated units
DEBUG: Validating units:
  TRACE: Errors in 
'generated://C89FA10FB0221276522030F263FADCFA/com/example/core/application/api/DashboardAnnotationDto_FieldSerializer.java'
  TRACE: Errors in 
'generated://444002CF23E85026C65248F49EB99E1E/com/example/core/application/api/DashboardColumnDto_FieldSerializer.java'
  TRACE: Errors in 
'generated://7DEC0CE328D95C92EEBFD44D58F865CD/com/example/core/application/api/DashboardDto_FieldSerializer.java'
  TRACE: Errors in 
'generated://5A1445C62C01E373F4894D65809B536E/com/example/core/application/api/SavedViewDto_FieldSerializer.java'
  TRACE: Errors in 
'generated://B1CFA3457166E1C34069A9879469FFA2/com/example/portal/ui/client/common/rpc/AccessDeniedUiException_FieldSerializer.java'
  INFO: Ignored 5 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
INFO: See snapshot: 
/tmp/com.example.core.application.api.DashboardAnnotationDto_FieldSerializer2049573901487473293.java
INFO: See snapshot: 
/tmp/com.example.core.application.api.DashboardColumnDto_FieldSerializer2257704401750789459.java
INFO: See snapshot: 
/tmp/com.example.core.application.api.DashboardDto_FieldSerializer256293197012885556.java
INFO: See snapshot: 
/tmp/com.example.core.application.api.SavedViewDto_FieldSerializer8667778097358587561.java
INFO: See snapshot: 
/tmp/com.example.portal.ui.client.common.rpc.AccessDeniedUiException_FieldSerializer4641234980664694792.java
INFO: Module portal has been loaded

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.