Ticket #1100 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

CustomLayouts make application UI work slow / buggy

Reported by: Jani Laakso Owned by: Matti Tahvonen
Priority: blocker Milestone: 5.0.0-beta-phase2 (release candidate)
Component: gwt-adapter-server Version: 5.0.0-pre
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: yes Contract:

Description

Inspect if this affects upgrading => tell Marko (documentation) if so

Try UpgradingSample? layout issues after login Reproduce

  • login ISSUE: this takes too much time
  • click menu items multiple times ISSUE: "production" layout flashes ISSUE: sometimes two elements of menu seem to be selected (rendered blue)
  • now logout ISSUE: this also takes too much time

Tested with FF2.0.0.9 (mac)

Same with CustomLayoutDemo?

  • click menus ISSUE: header is updated but body area is not (requires hitting "refresh" button) ISSUE: sometimes two elements of menu seem to be selected (rendered blue)
    com.itmill.toolkit.event.ListenerMethod$MethodException
    Cause: java.lang.NullPointerException
    	at com.itmill.toolkit.event.ListenerMethod.receiveEvent(ListenerMethod.java:434)
    	at com.itmill.toolkit.event.EventRouter.fireEvent(EventRouter.java:175)
    	at com.itmill.toolkit.ui.AbstractComponent.fireEvent(AbstractComponent.java:893)
    	at com.itmill.toolkit.ui.AbstractField.fireValueChange(AbstractField.java:754)
    	at com.itmill.toolkit.ui.AbstractField.setValue(AbstractField.java:471)
    	at com.itmill.toolkit.ui.AbstractSelect.setValue(AbstractSelect.java:589)
    	at com.itmill.toolkit.ui.AbstractSelect.changeVariables(AbstractSelect.java:467)
    	at com.itmill.toolkit.ui.Tree.changeVariables(Tree.java:371)
    	at com.itmill.toolkit.terminal.gwt.server.CommunicationManager.handleVariables(CommunicationManager.java:542)
    	at com.itmill.toolkit.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:268)
    	at com.itmill.toolkit.terminal.gwt.server.ApplicationServlet.service(ApplicationServlet.java:343)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    	at java.lang.Thread.run(Thread.java:613)
    Caused by: java.lang.NullPointerException
    	at com.itmill.toolkit.demo.CustomLayoutDemo.componentEvent(CustomLayoutDemo.java:119)
    	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:585)
    	at com.itmill.toolkit.event.ListenerMethod.receiveEvent(ListenerMethod.java:417)
    	... 23 more
    

Change History

Changed 14 months ago by Matti Tahvonen

  • owner changed from Jani Laakso to Matti Tahvonen
  • status changed from new to assigned

At leas some of these issues are IPanel related...

Changed 14 months ago by Matti Tahvonen

CustomLayout? body updating issues resolved in [2764]. Menus selection is most likely a bug in tree.

Changed 14 months ago by Matti Tahvonen

in [2766] fixed tree selection indication problems

Changed 14 months ago by Matti Tahvonen

in [2767] some small changes to CustomLayoutDemo?

Changed 14 months ago by Matti Tahvonen

  • status changed from assigned to closed
  • resolution set to fixed

after ITree refactoring everything seems to work fine in this demo.

Note: See TracTickets for help on using tickets.