Project

General

Profile

Revision bd04ba61

IDbd04ba618f7a64729c783be18ffe8742825ef45b
Parent caffc76b
Child a8284340

Added by Katja Luther 7 months ago

fix NPE during exception handling

View differences:

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ApplicationWorkbenchAdvisor.java
120 120
	            }
121 121
		    	previousT = t;
122 122

  
123
                if (t != null && ( t instanceof NoHttpResponseException || t.getCause() instanceof CdmAuthenticationException || t.getMessage().contains("status code = 403"))){
123
                if (t != null && ( t instanceof NoHttpResponseException || (t.getCause() != null && t.getCause() instanceof CdmAuthenticationException) || (t.getMessage() != null && t.getMessage().contains("status code = 403")))){
124 124
                    MessagingUtils.informationDialog("Access denied", MessagingUtils.ACCESS_DENIED);
125 125

  
126 126
                }else

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)