Project

General

Profile

Revision 3363dabd

ID3363dabd63329f2f2fd160f5a6c5107ba10a9d2e
Parent 849697fa
Child b378fe05

Added by Andreas Kohlbecker almost 2 years ago

fix #7777 avoiding null access to views of undisposed LoginPresenters

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/LoginPresenter.java
130 130

  
131 131
    @Override
132 132
    public void onEvent(Event<AuthenticationAttemptEvent> event) {
133
        authenticate(event.getPayload().getUserName(), getView().getLoginDialog().getPassword().getValue());
133
        if(getView()!= null){
134
            authenticate(event.getPayload().getUserName(), getView().getLoginDialog().getPassword().getValue());
135
        } else {
136
            log.info("view is NULL, not yet disposed LoginPresenter?");
137
        }
134 138
    }
135 139

  
136 140

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)