Hi , I tried gwt-gadget 1.0.1. But still the same error .. :( [ERROR] Failed to create an instance of 'com.myApp.client.HelloPreferences' via deferred binding com.google.gwt.core.client.JavaScriptException: (TypeError): Object expected number: -2146823281 description: Object expected at com.google.gwt.gadgets.client.impl.PreferencesUtil $.nativeInitPrefs(Native Method) at com.google.gwt.gadgets.client.UserPreferences $Preference.<init>(UserPreferences.java:50) at com.google.gwt.gadgets.client.EnumPreference.<init>(EnumPreference.java: 34) at com.MyApp.client.HelloPreferencesUserPreferencesImpl $1.<init>(transient source for com.myApp.client.HelloPreferencesUserPreferencesImpl:8)
pls help thanks in advance Zujee On Oct 28, 9:55 am, zujee <[EMAIL PROTECTED]> wrote: > Thanks Eric for this valuable info. > But I can see only one version gwt-gadgets-1.0.0 in > thishttp://code.google.com/p/gwt-google-apis/downloads/list > > is there any other path,where I can get this latest jar. > thanks > Zujee > > On Oct 27, 6:04 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote: > > > > > You haven't said what version of the Gadgets library you are using, > > but I assume it's 1.0.0 (RC1) > > There was a bug fixed at r724 which came just after that release. > > > If you are using a more recent version of the gwt-gadgets library and > > have a small test case that reproduces the issue, I'd like to > > investigate it. > > > -Eric. > > > On Mon, Oct 27, 2008 at 8:48 AM, zujee <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > When I tried to to run the sample program of HelloGadgets its showing > > > error like > > > > ERROR] Failed to create an instance of > > > 'com.myApp.client.HelloPreferences' via deferred binding > > > com.google.gwt.core.client.JavaScriptException: (TypeError): Object > > > expected > > > number: -2146823281 > > > description: Object expected > > > at com.google.gwt.gadgets.client.impl.PreferencesUtil > > > $.nativeInitPrefs(Native Method) > > > at com.google.gwt.gadgets.client.UserPreferences > > > $Preference.<init>(UserPreferences.java:50) > > > at > > > com.google.gwt.gadgets.client.EnumPreference.<init>(EnumPreference.java: > > > 34) > > > at com.MyApp.client.HelloPreferencesUserPreferencesImpl > > > $1.<init>(transient source for > > > com.myApp.client.HelloPreferencesUserPreferencesImpl:8) > > > at > > > com.myApp.client.HelloPreferencesUserPreferencesImpl.<init>(transient > > > source for com.myApp.client.HelloPreferencesUserPreferencesImpl:8) > > > at com.google.gwt.core.client.GWT.create(GWT.java:97) > > > at com.myApp.client.HelloGadgetsGadgetImpl.<init>(transient source > > > for com.myApp.client.HelloGadgetsGadgetImpl:8) > > > > any idea, whats missing from my side. > > > My class is like this.. > > > public class HelloGadgets extends Gadget<HelloPreferences> ..{..} > > > > and hellopreference is like public interface HelloPreferences extends > > > UserPreferences {...} > > > > its working fine when my HelloGadgets extends Gadget<UserPreferences> > > > directly,insted of using interface. > > > > pls help me > > > thanx in advance > > > zujee > > > -- > > Eric Z. Ayers - GWT Team - Atlanta, GA > > USAhttp://code.google.com/webtoolkit/-Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---