Project

General

Profile

Revision d64bebb3

IDd64bebb37dade57ca0b265100b4d04d974014469
Parent f2c1e4b7
Child 9ab881d2

Added by Andreas Müller almost 6 years ago

fix NPE in messaging handling #4816

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java
104 104
		    	//        leading to a recursive infinite loop of :
105 105
		    	//        initial exception thrown -> status handling -> dialog opening + logging of status ->
106 106
		    	//        status handling -> dialog opening + logging of status ... and so on
107
		    	if(t != null && t instanceof RuntimeException && !t.getMessage().equals("Widget is disposed")){
107
		    	if(t != null && t instanceof RuntimeException && ! "Widget is disposed".equals(t.getMessage())){
108 108
		    		MessagingUtils.errorDialog("Unexpected error",
109 109
		    				null,
110 110
		    				MessagingUtils.UNEXPECTED_ERROR_MESSAGE,

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)