Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 11th Jul 2012, 04:14
harsha.galla harsha.galla is offline
Registered Developer
 
Join Date: Dec 2011
Posts: 167
Default

Isomorphic,

I also tried to use 3.1d -( Isomorphic SmartClient/SmartGWT Framework (SNAPSHOT_v8.3d_2012-07-10/Enterprise Deployment 2012-07-10) ) libraries in our project but have some irrelevant errors as below:

Code:
INFO: Module MarketIntelligence has been loaded
ERROR: Uncaught exception escaped
java.lang.ClassCastException: null
	at java.lang.Class.cast(Class.java:2990)
	at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:169)
	at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:57)
	at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)
	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
	at com.smartgwt.client.widgets.form.ValuesManager.addMember(ValuesManager.java)
	at com.sabre.apd.mi.smartgwt.client.searchCriteria.ODCriteria.<init>(ODCriteria.java:33)
	at com.sabre.apd.mi.smartgwt.client.thumbNail.ODThumbNail.<init>(ODThumbNail.java:11)
	at com.sabre.apd.mi.smartgwt.client.layout.NavigationToolBar.generateThumbNails(NavigationToolBar.java:37)
	at com.sabre.apd.mi.smartgwt.client.layout.NavigationToolBar.<init>(NavigationToolBar.java:20)
	at com.sabre.apd.mi.smartgwt.client.UserInfo.getClientID(UserInfo.java:101)
	at com.sabre.apd.mi.smartgwt.client.UserInfo$1.execute(UserInfo.java:88)
	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:597)
	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:172)
	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
	at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
	at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
	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:597)
	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:172)
	at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
	at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
	at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
	at java.lang.Thread.run(Thread.java:662)
Code:
=== 2012-07-11 17:25:03,523 [main] INFO  Logger - Logging system started.
=== 2012-07-11 17:25:03,523 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (SNAPSHOT_v8.3d_2012-07-10/Enterprise Deployment 2012-07-10) - Initialization Complete
=== 2012-07-11 17:25:03,527 [main] INFO  ISCInit - Auto-detected webRoot - using: C:\Users\sg0209257\.IntelliJIdea11\system\gwt\mi-implementation.78c105cd\mi-implementation.bb679bb4\run\www
=== 2012-07-11 17:25:03,572 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Base
=== 2012-07-11 17:25:03,573 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework is already initialized
In the above I see the following line: ' SmartClient/SmartGWT Framework is already initialized'.

does this indicate any potential issue.


The same code works absolutely fine with 3.0.

Thanks.
Reply With Quote
  #2  
Old 11th Jul 2012, 11:24
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

We've moved this to a new thread, it looks unrelated to the thread you posted in.

We'll check on whether a problem has been introduced with this method.
Reply With Quote
  #3  
Old 11th Jul 2012, 12:20
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

This method appears to be working normally and we can't see a way for a ClassCastException to occur. What are you passing to addMember()?
Reply With Quote
  #4  
Old 11th Jul 2012, 21:31
harsha.galla harsha.galla is offline
Registered Developer
 
Join Date: Dec 2011
Posts: 167
Default

Isomorphic,

We are creating a ValuesManager and addMember adds a dynamicform to it.

Thanks.
Reply With Quote
  #5  
Old 12th Jul 2012, 05:48
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,524
Default

That's definitely not enough to reproduce a problem on it's own. Can you try to isolate why this is happening?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassCastException when using RichTextItem as editor type reed.perry Smart GWT Technical Q&A 6 13th Jul 2011 11:39
ClassCastException on tab close click event levi Smart GWT Technical Q&A 2 10th Mar 2011 01:01
ClassCastException on call to DSRequest.getSortBy() in custom DataSource ispringer Smart GWT Technical Q&A 1 15th Nov 2010 10:16
ValuesManager and fetchData leads to ClassCastException ect Smart GWT Technical Q&A 3 19th Jan 2009 13:21
TabCloseClickEvent.getTab() always throws ClassCastException Denis SPB Smart GWT Technical Q&A 2 30th Nov 2008 21:01

© 2010,2011 Isomorphic Software. All Rights Reserved