Skip to content

Commit e33ddfd

Browse files
AXIS2-6045 NPE after upgrade to 1.8.2
1 parent dddc100 commit e33ddfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/kernel/src/org/apache/axis2/description/AxisService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ public void printUserWSDL(OutputStream out, String wsdlName, String ip)
11751175
definition = (Definition) wsdlParameter.getValue();
11761176
}
11771177

1178-
if (!wsdlImportLocationAdjusted) {
1178+
if (!wsdlImportLocationAdjusted && definition != null) {
11791179
changeImportAndIncludeLocations(definition);
11801180
wsdlImportLocationAdjusted = true;
11811181
}

0 commit comments

Comments
 (0)