소스 검색

Fixed NPE when timer fires before updateFromUidl (#10400)

Change-Id: Ib4be170a2e824e9e9623160ed09f585c92295323
tags/7.0.0.beta11
Artur Signell 11 년 전
부모
커밋
679b267197
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6
    0
      client/src/com/vaadin/client/ui/VUI.java

+ 6
- 0
client/src/com/vaadin/client/ui/VUI.java 파일 보기

@@ -238,6 +238,12 @@ public class VUI extends SimplePanel implements ResizeHandler,
@Deprecated
protected void windowSizeMaybeChanged(int newWindowWidth,
int newWindowHeight) {
if (connection == null) {
// Connection is null if the timer fires before the first UIDL
// update
return;
}

boolean changed = false;
ComponentConnector connector = ConnectorMap.get(connection)
.getConnector(this);

Loading…
취소
저장