Announcement

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

    4.1 calendar month view error

    1. SmartGWT 4.1 / SmartClient Version: v9.1p_2014-03-05/PowerEdition Deployment (built 2014-03-05)
    2. Browsers: IE 9 & 10, Chome, Firefox

    Code:
    00:00:37,459 [ERROR] Uncaught exception escaped
    com.google.gwt.core.client.JavaScriptException: (null) @com.smartgwt.client.util.JSOHelper::isArray(Lcom/google/gwt/core/client/JavaScriptObject;)([JavaScript object(2511)]): null 	at 
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249) 	at 
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) 	at 
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571) 	at 
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:194) 	at 
    com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:35) 	at 
    com.smartgwt.client.util.JSOHelper.isArray(JSOHelper.java) 	at 
    com.smartgwt.client.util.ConvertTo.arrayOfCalendarEvent(ConvertTo.java:6179) 	at 
    sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source) 	at 
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at 
    java.lang.reflect.Method.invoke(Method.java:601) 	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:338) 	at 
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) 	at 
    com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) 	at 
    com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571) 	at 
    com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279) 	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:242) 	at 
    sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) 	at 
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at 
    java.lang.reflect.Method.invoke(Method.java:601) 	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:338) 	at 
    com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219) 	at 
    ...
    Sample code:
    Code:
    import com.google.gwt.core.client.EntryPoint;
    import com.smartgwt.client.util.SC;
    import com.smartgwt.client.widgets.calendar.Calendar;
    
    /**
     * Main entry point.
     *
     * @author kiipper
     */
    public class MainEntryPoint implements EntryPoint {
    
        /**
         * Creates a new instance of MainEntryPoint
         */
        public MainEntryPoint() {
        }
    
        /**
         * The entry point method, called automatically by loading a module that
         * declares an implementing class as an entry-point
         */
        @Override
        public void onModuleLoad() {
            SC.showConsole();
            Calendar cal = new Calendar();
            cal.setWidth100();
            cal.setHeight100();
            cal.draw();
        }
    }
    Just click on the month view of the calendar and the Exception will be trigged.
    The code goes into deadlock after that.

    Also, the showcase is not working for calendar month views too. It shows no events. (http://www.smartclient.com/smartgwt/showcase/#simple_calendar_category)
    Check the image if needed.
    Attached Files

    #2
    Guys,
    did you found this bug or it's happening only with me?
    Are the showcase bug related with the exception I got?
    Is there anything more I could do to help?

    Comment


      #3
      Its been addressed today - please retest with a build dated March 7 or later

      Comment


        #4
        It's Working!

        It's working guys.
        Thank you.

        Comment

        Working...
        X