Skip to content

Commit d673ee3

Browse files
committed
fix NPE with Profile#prepareInitConfig.
1 parent 8c476f3 commit d673ee3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

key.core/src/main/java/de/uka/ilkd/key/proof/init/ProblemInitializer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,10 @@ private InitConfig createInputConfigFor(EnvInput envInput) throws ProofInputExce
443443

444444
// remove traces of the generic sorts within the base configuration
445445
cleanupNamespaces(config);
446-
profile.prepareInitConfig(BASE_INPUT_CONFIG);
447446
BASE_INPUT_CONFIG = config;
448-
return BASE_INPUT_CONFIG.copy();
447+
config = BASE_INPUT_CONFIG.copy();
448+
profile.prepareInitConfig(config);
449+
return config;
449450
}
450451

451452
/**

0 commit comments

Comments
 (0)