Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Errors w/ GWT 2.3.0 w/ BuiltInDS sample project

    Apologies if this is not appropriate for the forum, but I am wondering if anyone else is seeing this?

    I'm building my first SGWT project by adding new code to the BuiltInDS sample project. Since upgrading last week to Google Plugin for Eclipse & GWT SDK 2.3.0, the console shows the following errors:

    Code:
    [DEBUG] [builtinds] - Validating newly compiled units
    	[ERROR] [builtinds] - Errors in 'jar:file:/[my path]/Dev/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/EventBus.java'
    		[ERROR] [builtinds] - Line 24: No source code is available for type com.google.web.bindery.event.shared.EventBus; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 28: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 28: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 48: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 68: Cannot cast from GwtEvent<capture#1-of ?> to Event<?>
    		[ERROR] [builtinds] - Line 69: No source code is available for type com.google.web.bindery.event.shared.UmbrellaException; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 76: Cannot cast from GwtEvent<capture#3-of ?> to Event<?>
    	[ERROR] [builtinds] - Errors in 'jar:file:/[my path]/Dev/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/LegacyHandlerWrapper.java'
    		[ERROR] [builtinds] - Line 19: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?
    	[ERROR] [builtinds] - Errors in 'jar:file:/[my path]/Dev/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/ResettableEventBus.java'
    		[ERROR] [builtinds] - Line 27: No source code is available for type com.google.web.bindery.event.shared.ResettableEventBus; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 49: Cannot cast from GwtEvent.Type<H> to Event.Type<H>
    		[ERROR] [builtinds] - Line 49: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 53: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 59: Cannot cast from GwtEvent.Type<H> to Event.Type<H>
    		[ERROR] [builtinds] - Line 68: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?
    	[ERROR] [builtinds] - Errors in 'jar:file:/[my path]/Dev/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/SimpleEventBus.java'
    		[ERROR] [builtinds] - Line 27: No source code is available for type com.google.web.bindery.event.shared.SimpleEventBus; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 32: Cannot cast from GwtEvent.Type<H> to Event.Type<H>
    		[ERROR] [builtinds] - Line 32: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 36: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 42: Cannot cast from GwtEvent.Type<H> to Event.Type<H>
    		[ERROR] [builtinds] - Line 51: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?
    	[ERROR] [builtinds] - Errors in 'jar:file:/[my path]/Dev/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201104261928/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/UmbrellaException.java'
    		[ERROR] [builtinds] - Line 24: No source code is available for type com.google.web.bindery.event.shared.UmbrellaException; did you forget to inherit a required module?
    	[ERROR] [builtinds] - Errors in 'jar:file:/[my path]/Dev/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] [builtinds] - 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] [builtinds] - Line 41: Cannot cast from GwtEvent.Type<H> to Event.Type<H>
    		[ERROR] [builtinds] - Line 41: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?
    		[ERROR] [builtinds] - 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] [builtinds] - Line 51: Cannot cast from GwtEvent.Type<H> to Event.Type<H>
    		[ERROR] [builtinds] - Line 60: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?
    		[ERROR] [builtinds] - Line 80: The method getCount(Event.Type<?>) in the type CountingEventBus is not applicable for the arguments (GwtEvent.Type<capture#5-of ?>)
    [INFO] [builtinds] - Module builtinds has been loaded
    My BuiltInDS.gwt.xml file looks like this:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd">
    
    <module rename-to="builtinds">
    
        <inherits name='com.google.gwt.user.User'/>
    
        <inherits name="com.smartgwtee.SmartGwtEE"/>
        <inherits name="com.smartgwtee.tools.Tools"/>
        
        <entry-point class='com.smartgwt.sample.client.BuiltInDS'/>
    	
    </module>
    ■ GWT_HOME set to GWT 2.3 folder.
    ■ SGWTEE_HOME set to SmartGWT 2.4 folder.
    ■ IE7
    ■ Windows XP

    The project runs OK in dev mode as far as a user would see (i.e., BuiltInDS GUI page loads & works), but these console errors are a bit concerning.

    I've tried fresh installs of the latest Eclipse J2EE and JavaScript versions, with GEP, and also later adding full GWT Designer.

    Any advice appreciated, thanks.

    #2
    Please use GWT 2.2 for now. Support for GWT 2.3 will be added in the soon to be released Smart GWT 2.5 release.

    Thanks,
    Sanjiv

    Comment


      #3
      Any news on 2.5 availability?

      We're also hitting this same problem and we don't have an option to fall back to GWT 2.2

      TIA

      Comment


        #4
        I am currently using smartGWT 2.5 nightly build and I am getting the same issue on half of my projects?

        I am not sure what to make of this. I've made sure that the gwt2.3 library is load first.

        Comment


          #5
          Half of your projects aren't using 2.5 or have GWT in the classpath first, or your IDE is confused in such a way that this is the result. Restart it and rebuild the projects if needed.

          Comment


            #6
            I did restart. Clear out class folder and rebuild mutlitple times.

            Here is the errors I am getting.






            16:17:15.865:INFO:Log:initialized
            16:17:15.865:WARN:Page:NOTE: isc.Page.getWidth() called before <BODY> tag was written out -- value cannot be determined. Returning 500
            16:17:15.865:WARN:Page:NOTE: isc.Page.getHeight() called before <BODY> tag was written out -- value cannot be determined. Returning 500
            16:17:16.162:WARN:Log:New Class ID: 'IAutoFitButton' collides with ID of existing Class object '[Class IAutoFitButton]'. Existing object will be replaced.
            16:17:16.162:WARN:Log:New Class ID: 'HeaderImgButton' collides with ID of existing Class object '[Class HeaderImgButton]'. Existing object will be replaced.
            16:17:16.209:WARN:Log:Error:
            'Syntax error'
            in http://127.0.0.1:8888/apt.html?gwt.codesvr=127.0.0.1:9997
            at line 2
            16:17:16.225:INFO:Log:isc.Page is loaded


            ---------------------


            16:15:24.364 [ERROR] [apt] Uncaught exception escaped

            com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
            at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
            at com.halliburton.lgc.esd.client.content.LoginPanel$5.execute(LoginPanel.java:260)
            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:167)
            at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
            at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
            at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
            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:214)
            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:167)
            at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
            at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
            at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
            at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.NullPointerException: null
            at com.smartgwt.client.widgets.grid.ListGrid.setDataSource(ListGrid.java:13500)
            at com.halliburton.lgc.esd.client.content.ESDAbstractPanel.createMainGrid(ESDAbstractPanel.java:120)
            at com.halliburton.lgc.esd.client.content.InstallPanel.createMainGrid(InstallPanel.java:652)
            at com.halliburton.lgc.esd.client.content.InstallPanel.setupContent(InstallPanel.java:141)
            at com.halliburton.lgc.esd.client.content.InstallPanel.initialize(InstallPanel.java:115)
            at com.halliburton.lgc.esd.client.content.InstallPanel.&lt;init&gt;(InstallPanel.java:104)
            at com.halliburton.lgc.esd.client.content.InstallPanel.getInstance(InstallPanel.java:97)
            at com.halliburton.lgc.esd.client.content.ContentPanel.onChange(ContentPanel.java:635)
            at com.halliburton.lgc.esd.event.LoggedInEvent.dispatch(LoggedInEvent.java:26)
            at com.halliburton.lgc.esd.event.LoggedInEvent.dispatch(LoggedInEvent.java:1)
            at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
            at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
            at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
            at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
            at com.halliburton.lgc.esd.client.content.LoginPanel$5.execute(LoginPanel.java:260)
            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:167)
            at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
            at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
            at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
            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:214)
            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:167)
            at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
            at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
            at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
            at java.lang.Thread.run(Thread.java:662)

            Comment


              #7
              You've really got to get over this habit of jumping in on threads claiming to be getting the same error, then revealing your error is completely different!

              Start over: are you or are you not getting the compile warnings the other user in this thread notes? If so, investigate this as a classpath issue and ignore any subsequent errors.

              If you're *not* getting the compile warnings the other user reported, as far as we can tell, there's a JavaScript syntax error in your bootstrap .html file.

              Comment


                #8
                No compiling error. My project was working fine on gwt2.2. I want to make sure I update to 2.3 before I start deployment. As far as I can tell this has always been my .html file.

                Sorry, if I am jumping on a different thread.


                -----------------------------

                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                <!-- The HTML 4.01 Transitional DOCTYPE declaration-->
                <!-- above set at the top of the file will set -->
                <!-- the browser's rendering engine into -->
                <!-- "Quirks Mode". Replacing this declaration -->
                <!-- with a "Standards Mode" doctype is supported, -->
                <!-- but may lead to some differences in layout. -->

                <html>
                <head>
                <meta http-equiv="content-type" content="text/html; charset=UTF-8">
                <meta name="description" content="Landmark Software Manager.">
                <meta name="keywords" content="Landmark, download, software, esd, lsm,apt">
                <meta name="Author" content="Tommy Tran">


                <!-- -->
                <!-- LSM -->
                <!-- -->
                <title>Landmark - Application Publishing Tool</title>
                <!--CSS for loading message at application Startup-->
                <link type="text/css" rel="stylesheet" href="apt.css">



                <!-- IMPORTANT : You must set the variable isomorphicDir to [MODULE_NAME]/sc/ so that the SmartGWT resource are
                correctly resolved -->
                <script> var isomorphicDir = "apt/sc/"; </script>

                <!-- -->
                <!-- This script loads your compiled module. -->
                <!-- If you add any GWT meta tags, they must -->
                <!-- be added before this line. -->
                <!-- -->


                <script type="text/javascript" language="javascript" src="apt/apt.nocache.js"></script>


                </head>

                <!-- -->
                <!-- The body can have arbitrary html, or -->
                <!-- you can leave the body empty if you want -->
                <!-- to create a completely dynamic UI. -->
                <!-- -->
                <body>

                <div id="loadingWrapper">
                <div id="loading">
                <div class="loadingIndicator">
                <img src="images/loading.gif" width="32" height="32" style="margin-right:8px;float:left;vertical-align:top;"/>
                Landmark Electronic Software Delivery<br/>
                <br>Application Publishing Tool...<br/>
                <span id="loadingMsg">Loading...</span>
                </div>
                </div>
                </div>

                <script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Loading Core API...';</script>

                <!--load the datasources-->
                <script src="apt/sc/DataSourceLoader?dataSource=userAuthenticationDMI"></script>
                <script src="apt/sc/DataSourceLoader?dataSource=esd_announcement,esd_version_lk,esd_install_suite,esd_os_lk,esd_tbl,esd_product_line,esd_restriction_lk,esd_common_ref_lk,esd_user,esd_ps_prd_mapping,ps_prod_item"></script>
                <script src="apt/sc/DataSourceLoader?dataSource=esd_restriction_ref,esd_install_os_ref,esd_prd_ln_vers_ref,ps_x_eccn_no,checksumDMI,prd_eccn_auth"></script>
                <script src="apt/sc/DataSourceLoader?dataSource=esd_rpt_prod_cmp_vw"></script>


                <!-- OPTIONAL: include this if you want history support -->
                <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>

                <!--include the application JS-->
                <script type="text/javascript">document.getElementById('loadingMsg').innerHTML = 'Loading Application<br>Please wait...';</script>


                </body>



                </html>

                Comment


                  #9
                  IE7 is misreporting the file where the syntax error is coming from. Use Firefox and Firebug to identify the actual file with the error.

                  Comment


                    #10
                    I am using FF and I did not get anything different. I tried clearing out all my classpath and adding what's required by smartGWT2.5. Here is the error I getting still. This code was working before, so I am not sure where the compile error is coming from. I ran clean build and recompile the gwt project. Did something hapen on the GWT event handler?



                    -------------------

                    18:28:23.758 [ERROR] [apt] Uncaught exception escaped

                    com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
                    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:129)
                    at com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:67)
                    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:167)
                    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
                    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
                    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
                    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:214)
                    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:167)
                    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
                    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
                    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
                    at java.lang.Thread.run(Thread.java:662)
                    Caused by: java.lang.NullPointerException: null
                    at com.smartgwt.client.widgets.form.DynamicForm.setDataSource(DynamicForm.java:3891)
                    at com.halliburton.lgc.esd.client.content.LoginPanel.setupContent(LoginPanel.java:96)
                    at com.halliburton.lgc.esd.client.content.LoginPanel.initialize(LoginPanel.java:83)
                    at com.halliburton.lgc.esd.client.content.LoginPanel.&lt;init&gt;(LoginPanel.java:79)
                    at com.halliburton.lgc.esd.client.content.LoginPanel.getInstance(LoginPanel.java:62)
                    at com.halliburton.lgc.esd.client.content.ContentPanel.getLoginWindow(ContentPanel.java:512)
                    at com.halliburton.lgc.esd.client.content.ContentPanel$5.onClick(ContentPanel.java:254)
                    at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:99)
                    at com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:1)
                    at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
                    at com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
                    at com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
                    at com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:127)
                    at com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:67)
                    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:167)
                    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:326)
                    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:207)
                    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:132)
                    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:214)
                    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:167)
                    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
                    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
                    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
                    at java.lang.Thread.run(Thread.java:662)

                    Comment


                      #11
                      There is no compile error in anything you've reported. There's a syntax error being reported. That's what your supposed to use Firefox/Firebug to find - what file actually has the syntax error.

                      Comment


                        #12
                        tinnitus007,

                        I got the same thing when I was messing with my build path even thought I hadn't changed any lib versions.

                        What fixed it for me was the lib load order in Eclipse.
                        Configure Build Path -> Order and Export

                        Ensure that GWT is above SGWT.

                        Hope that's related and helps.

                        Comment


                          #13
                          Can you tell me why when I do this it worked.

                          <script src="apt/sc/DataSourceLoader?dataSource=userAuthenticationDMI,esd_install_suite"></script>


                          but when I do this? it does not worked.

                          <script src="apt/sc/DataSourceLoader?dataSource=userAuthenticationDMI,esd_install_suite,esd_os_lk"></script>

                          But I need more that 2 DS?

                          None of my DS has changed since we upgraded?


                          Here is the esd_os_lk.ds.xml file.



                          <DataSource ID="esd_os_lk" serverType="sql" tableName="esd_os_lk">
                          <fields>
                          <field name="id" type="sequence" primaryKey="true" sequenceName="ESD_SEQ" hidden="true" />
                          <field name="os" type="text" required="true" title="OS"/>
                          <field name="status" type="enum" title="Status" required="true">
                          <valueMap>
                          <value ID="A">Active</value>
                          <value ID="I">Inactive</value>
                          </valueMap>
                          </field>
                          <field name="user_added" type="text" hidden="true"/>
                          <field name="user_added_date" type="date" hidden="true" />
                          <field name="user_modified" type="text" hidden="true"/>
                          <field name="user_modified_date" type="date" title="Modified Date" hidden="true"/>

                          </fields>
                          <schema>ESD</schema>
                          <dbName></dbName>

                          <operationBindings>
                          <operationBinding operationId="fetch" operationType="fetch">
                          <whereClause><![CDATA[
                          ($defaultWhereClause)
                          ]]>
                          </whereClause>
                          </operationBinding>

                          <operationBinding operationId="fetchActive" operationType="fetch">
                          <whereClause><![CDATA[
                          status='A' AND ($defaultWhereClause)
                          ]]>
                          </whereClause>
                          </operationBinding>

                          </operationBindings>

                          </DataSource>

                          Comment


                            #14
                            Look in Firebug at the response for the DataSourceLoader when that additional DataSources is included - it's some kind of error. This also shows up in the server-side log. Troubeshooting steps for DataSources not loading are in the FAQ.

                            Comment


                              #15
                              This is what I got from the response error.

                              ---------------------

                              <BR>BaseServlet Global Exception<BR>
                              <PRE>
                              javax.servlet.ServletException: java.sql.SQLException: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
                              at com.isomorphic.sql.SQLConnectionManager.getConnection(SQLConnectionManager.java:159)
                              at com.isomorphic.sql.SQLDriver.implementerClassForDB(SQLDriver.java:221)
                              at com.isomorphic.sql.SQLDriver.instance(SQLDriver.java:183)
                              at com.isomorphic.sql.SQLDataSource.init(SQLDataSource.java:160)
                              at com.isomorphic.datasource.DataSource.initialize(DataSource.java:352)
                              at com.isomorphic.datasource.BasicDataSource.fromConfig(BasicDataSource.java:165)
                              at com.isomorphic.datasource.DataSource.fromConfig(DataSource.java:337)
                              at com.isomorphic.datasource.FileSystemDSRepo.loadDS(FileSystemDSRepo.java:110)
                              at com.isomorphic.datasource.DataSource.forName(DataSource.java:156)
                              at com.isomorphic.datasource.DataSource.forName(DataSource.java:148)
                              at com.isomorphic.datasource.DataSource.forName(DataSource.java:143)
                              at com.isomorphic.datasource.PoolableDataSourceFactory.makeUnpooledObject(PoolableDataSourceFactory.java:95)
                              at com.isomorphic.datasource.PoolableDataSourceFactory.makeObject(PoolableDataSourceFactory.java:102)
                              at com.isomorphic.pool.PoolManager.borrowObject(PoolManager.java:82)
                              at com.isomorphic.datasource.DataSourceManager.getDataSource(DataSourceManager.java:84)
                              at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:81)
                              at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:64)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                              at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
                              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
                              at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
                              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
                              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
                              at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
                              at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
                              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
                              at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
                              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
                              at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
                              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
                              at org.mortbay.jetty.Server.handle(Server.java:324)
                              at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
                              at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
                              at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
                              at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
                              at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
                              at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
                              at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

                              at com.isomorphic.servlet.DataSourceLoader.processRequest(DataSourceLoader.java:89)
                              at com.isomorphic.servlet.DataSourceLoader.doGet(DataSourceLoader.java:64)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                              at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
                              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
                              at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
                              at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
                              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
                              at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
                              at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
                              at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
                              at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
                              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
                              at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
                              at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
                              at org.mortbay.jetty.Server.handle(Server.java:324)
                              at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
                              at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
                              at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
                              at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
                              at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
                              at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
                              at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
                              </PRE>

                              Comment

                              Working...
                              X