Announcement

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

    Mini Date Range Item problem

    Hi Guys
    I'm trying to use MiniDateRangeItem and I am heaving some problems.
    I'm using it for some custom filtering. Once user makes a date selection and clicks the Filter button I execute this code:
    Code:
    private Date getDateFrom(MiniDateRangeItem dateRange) {
            if (dateRange != null) {
                return dateRange.getValue().getStartDate();
            }
            return new Date();
    }

    What happens after is this Client Side exception:
    Code:
    2010-07-02 16:43:25,253 [btpool0-37] INFO  com....server.LogAllRPCCallsRemoteServiceServlet - RPC Call: void serverSideLog(String null<br/><pre style='border: 1pt solid red'>java.lang.Class.cast(Class.java:2990)
    com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:169)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:57)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    com.smartgwt.client.widgets.form.fields.MiniDateRangeItem.getValue(MiniDateRangeItem.java)
    com....client.exceptions.FilterButtonHandler.getDateFrom(FilterButtonHandler.java:46)
    com....client.exceptions.FilterButtonHandler.buildFilter(FilterButtonHandler.java:34)
    com....client.exceptions.FilterButtonHandler.getFilter(FilterButtonHandler.java:62)
    com....client.exceptions.ExceptionsPanel$FilteringForm.getFilter(ExceptionsPanel.java:157)
    com....client.exceptions.ActiveExceptionsQuery.getFilter(ActiveExceptionsQuery.java:41)
    com....client.exceptions.ActiveExceptionsQuery.fetch(ActiveExceptionsQuery.java:28)
    com....client.services.GWTRPCPagedDataSource.executeFetch(GWTRPCPagedDataSource.java:49)
    com....client.services.GWTRPCPagedDataSource.transformRequest(GWTRPCPagedDataSource.java:32)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    sun.reflect.GeneratedMethodAccessor837.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    com.smartgwt.client.widgets.grid.ListGrid.fetchData(ListGrid.java)
    com....client.exceptions.ExceptionsPanel$FilteringForm$1.onClick(ExceptionsPanel.java:107)
    com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:96)
    com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:1)
    com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
    com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
    com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
    com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:67)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    sun.reflect.GeneratedMethodAccessor837.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
    com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    java.lang.Thread.run(Thread.java:619)
    )
    Why is that happening? Am I doing something wrong?
    I'm stuck at this at the moment and don't know how to move on!

    I create my Range selection like this:
    Code:
    MiniDateRangeItem dateRange = new MiniDateRangeItem("dateRange", "");
    dateRange.setShouldSaveValue(true);
    DynamicForm dateRangeFilter = buildFilterFormWithGroupTitleAndNumberOfColumns("Date range", 1, dateRange);
    
     private DynamicForm buildFilterFormWithGroupTitleAndNumberOfColumns(String title, int numberOfColumns, FormItem formItem) {
                DynamicForm filter = new DynamicForm();
                filter.setNumCols(numberOfColumns);
                filter.setTitleOrientation(TitleOrientation.TOP);
                filter.setIsGroup(true);
                filter.setGroupTitle(title);
                filter.setHeight(100);
                filter.setFields(formItem);
                return filter;
            }
    Version of SmartGWT is 2.2.

    #2
    One more thing.
    When I check the dateRange I see this:
    Code:
    com.smartgwt.client.widgets.form.fields.MiniDateRangeItem@164e12c
    when I call
    Code:
    dateRange.getValue()
    I receive this as a popup in my Firefox browser:

    Code:
    Unexpected exception occurred: null
    and the stack trace looks the same as the one mentioned before (below).
    Does anyone know what is going on?

    Cheers, Greg

    Originally posted by Gigu
    Hi Guys
    I'm trying to use MiniDateRangeItem and I am heaving some problems.
    I'm using it for some custom filtering. Once user makes a date selection and clicks the Filter button I execute this code:
    Code:
    private Date getDateFrom(MiniDateRangeItem dateRange) {
            if (dateRange != null) {
                return dateRange.getValue().getStartDate();
            }
            return new Date();
    }

    What happens after is this Client Side exception:
    Code:
    2010-07-02 16:43:25,253 [btpool0-37] INFO  com....server.LogAllRPCCallsRemoteServiceServlet - RPC Call: void serverSideLog(String null<br/><pre style='border: 1pt solid red'>java.lang.Class.cast(Class.java:2990)
    com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:169)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:57)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    com.smartgwt.client.widgets.form.fields.MiniDateRangeItem.getValue(MiniDateRangeItem.java)
    com....client.exceptions.FilterButtonHandler.getDateFrom(FilterButtonHandler.java:46)
    com....client.exceptions.FilterButtonHandler.buildFilter(FilterButtonHandler.java:34)
    com....client.exceptions.FilterButtonHandler.getFilter(FilterButtonHandler.java:62)
    com....client.exceptions.ExceptionsPanel$FilteringForm.getFilter(ExceptionsPanel.java:157)
    com....client.exceptions.ActiveExceptionsQuery.getFilter(ActiveExceptionsQuery.java:41)
    com....client.exceptions.ActiveExceptionsQuery.fetch(ActiveExceptionsQuery.java:28)
    com....client.services.GWTRPCPagedDataSource.executeFetch(GWTRPCPagedDataSource.java:49)
    com....client.services.GWTRPCPagedDataSource.transformRequest(GWTRPCPagedDataSource.java:32)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    sun.reflect.GeneratedMethodAccessor837.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    com.smartgwt.client.widgets.grid.ListGrid.fetchData(ListGrid.java)
    com....client.exceptions.ExceptionsPanel$FilteringForm$1.onClick(ExceptionsPanel.java:107)
    com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:96)
    com.smartgwt.client.widgets.events.ClickEvent.dispatch(ClickEvent.java:1)
    com.google.gwt.event.shared.HandlerManager$HandlerRegistry.fireEvent(HandlerManager.java:65)
    com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access$1(HandlerManager.java:53)
    com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:178)
    com.smartgwt.client.widgets.BaseWidget.fireEvent(BaseWidget.java:67)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1713)
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    sun.reflect.GeneratedMethodAccessor837.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1668)
    com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    java.lang.Thread.run(Thread.java:619)
    )
    Why is that happening? Am I doing something wrong?
    I'm stuck at this at the moment and don't know how to move on!

    I create my Range selection like this:
    Code:
    MiniDateRangeItem dateRange = new MiniDateRangeItem("dateRange", "");
    dateRange.setShouldSaveValue(true);
    DynamicForm dateRangeFilter = buildFilterFormWithGroupTitleAndNumberOfColumns("Date range", 1, dateRange);
    
     private DynamicForm buildFilterFormWithGroupTitleAndNumberOfColumns(String title, int numberOfColumns, FormItem formItem) {
                DynamicForm filter = new DynamicForm();
                filter.setNumCols(numberOfColumns);
                filter.setTitleOrientation(TitleOrientation.TOP);
                filter.setIsGroup(true);
                filter.setGroupTitle(title);
                filter.setHeight(100);
                filter.setFields(formItem);
                return filter;
            }
    Version of SmartGWT is 2.2.

    Comment


      #3
      Can you try this with the latest nightly build, and, if you still see a problem, try creating a standalone test case that we can run to reproduce the issue.

      Comment


        #4
        Hi Isomorphic

        I tried nightly build with no luck.

        Created a test project.
        I zipped entire project and renamed the extenssion to java.
        Once you download it just rename it back to zip and unzip it.
        It needs smartgwt in lib folder and GWT_HOME setup. Once you got it you can run:

        Code:
        ant build hosted
        Try to select a date and click on a button. You should see an exception on a screen that I described before.

        Cheers, Greg

        Originally posted by Isomorphic
        Can you try this with the latest nightly build, and, if you still see a problem, try creating a standalone test case that we can run to reproduce the issue.
        Attached Files

        Comment


          #5
          Sorry, we don't look at entire projects - many things could be wrong. Just show minimal code that reproduces the problem.

          Comment


            #6
            Hi Isomorphic

            Here is a paste of the code from the only java file in the project I attached, that reporoduces the issue.

            Code:
            package org.gigoo.client;
            
            import com.google.gwt.core.client.EntryPoint;
            ...
            import com.smartgwt.client.widgets.layout.HLayout;
            
            public class MiniDateRange implements EntryPoint {
                private Canvas content;
                private MiniDateRangeItem miniDateRange;
                private Button clickMeButton;
                private DynamicForm dynamicForm;
            
                public void onModuleLoad() {
                    content = new Canvas();
            
                    addElements();
                    addClickHandler();
            
                    content.draw();
                }
            
                private void addClickHandler() {
                    clickMeButton.addClickHandler(new ClickHandler() {
            
                        public void onClick(ClickEvent clickEvent) {
                            miniDateRange.getValue();
                        }
                    });
                }
            
                private void addElements() {
                    miniDateRange = new MiniDateRangeItem("dateRangeitem", "Hi, I'm a mini date range item");
                    clickMeButton = new Button("Click me to invoke getValue on Mini Date Range Item");
                    dynamicForm = new DynamicForm();
                    dynamicForm.setFields(new FormItem[]{miniDateRange});
            
                    HLayout formLayout = new HLayout(10);
                    formLayout.addMember(dynamicForm);
                    formLayout.addMember(clickMeButton);
            
                    content.addChild(formLayout);
                }
            }

            Cheers, Greg

            Originally posted by Isomorphic
            Sorry, we don't look at entire projects - many things could be wrong. Just show minimal code that reproduces the problem.

            Comment


              #7
              We'll take a look, but note there's a more direct API getFromDate() and getToDate() that you can use instead. Please indicate if these work; if not, it suggests a broken project setup.

              Comment


                #8
                Hi Isomorphic

                Trying the direct API doesnt work as well. When selecting dates from calendar it is all fine. Once selecting Yesterdat or Tomorrow from drop down list this it what I get:

                Code:
                Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException
                (TypeError): ret.getTime is not a function
                 fileName: http://127.0.0.1:8888
                 lineNumber: 469
                 stack: ("fromDate")@http://127.0.0.1:8888:469
                @:0
                ([object GWTJavaObject],131230,[object GWTJavaObject])@http://127.0.0.1:8888/minidaterange/hosted.html?minidaterange:56
                ([object Object],(void 0))@http://127.0.0.1:8888:1866
                ((function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3080231, param);__gwt_makeJavaInvoke(1)(selfJ, 131230, event);var ret = __gwt_makeJavaInvoke(0)(event, 458754);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888:6
                @:0
                (null,65563,(function () {var param = {};var event = __gwt_makeJavaInvoke(1)(null, 3080231, param);__gwt_makeJavaInvoke(1)(selfJ, 131230, event);var ret = __gwt_makeJavaInvoke(0)(event, 458754);return !ret;}),[object Object],[object Object])@http://127.0.0.1:8888/minidaterange/hosted.html?minidaterange:56
                ([object Object],(void 0))@http://127.0.0.1:8888:18
                ([object Object],(void 0))@http://127.0.0.1:8888:13
                isc_StatefulCanvas_handleActivate([object Object],(void 0))@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Foundation.js:296
                isc_StatefulCanvas_handleClick([object Object],(void 0))@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Foundation.js:298
                isc_c_EventHandler_bubbleEvent([object Object],"click")@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Core.js:1466
                isc_c_EventHandler_handleClick([object Object])@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Core.js:1325
                isc_c_EventHandler__handleMouseUp([object MouseEvent],(void 0))@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Core.js:1312
                isc_c_EventHandler_handleMouseUp([object MouseEvent])@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Core.js:1303
                isc_c_EventHandler_dispatch(isc_c_EventHandler_handleMouseUp,[object MouseEvent])@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Core.js:1527
                anonymous([object MouseEvent])@http://127.0.0.1:8888/minidaterange/sc/modules/ISC_Core.js:38
                
                See the Development console log for details.
                Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
                Originally posted by Isomorphic
                We'll take a look, but note there's a more direct API getFromDate() and getToDate() that you can use instead. Please indicate if these work; if not, it suggests a broken project setup.

                Comment


                  #9
                  We're not reproducing this problem and no one else seems to be reporting it. Most likely you have corrupted your environment somehow and should rebuild it from scratch.

                  If you need more help, consider a support plan.

                  Comment


                    #10
                    I am getting this same error, any chance of re-opening and looking into this? It seems impossible to get the dates out of the DateRangeItem class...

                    Comment


                      #11
                      Have you tried running the exact test case above, standalone, in the SDK without any of your own additions? If so, with what exact version of the SDK with just this test code can you reproduce the problem (exact version is in the Developer Console in the lower left hand corner).

                      Comment


                        #12
                        This has been fixed, try the latest nightly.

                        Comment

                        Working...
                        X