Project

General

Profile

bug #7777

NPE on login attempt after logout

Added by Andreas Kohlbecker 3 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
09/20/2018
Due date:
% Done:

100%

Severity:
major
Found in Version:

Description

login attempt after logging out

Caused by: java.lang.NullPointerException
    at eu.etaxonomy.cdm.vaadin.view.LoginPresenter.onEvent(LoginPresenter.java:133)
    at org.vaadin.spring.events.internal.EventBusListenerWrapper.publish(EventBusListenerWrapper.java:55)
    at org.vaadin.spring.events.internal.ListenerCollection.publish(ListenerCollection.java:167)
    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:116)
    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:131)
    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:133)
    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:121)
    at eu.etaxonomy.cdm.vaadin.view.LoginViewBean.handleLoginClick(LoginViewBean.java:69)
    at eu.etaxonomy.cdm.vaadin.view.LoginViewBean.lambda$initContent$61446b05$1(LoginViewBean.java:56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
    ... 76 more

Associated revisions

Revision 3363dabd (diff)
Added by Andreas Kohlbecker 2 months ago

fix #7777 avoiding null access to views of undisposed LoginPresenters

History

#1 Updated by Andreas Kohlbecker 3 months ago

  • Subject changed from NPE on login attempt to NPE on login attempt after logout
  • Description updated (diff)

#2 Updated by Andreas Kohlbecker 2 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#3 Updated by Andreas Kohlbecker about 2 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

no more NPEs on re-logins

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)