Commit f0f03d26 authored by Adam Knapp's avatar Adam Knapp
Browse files

Eliminating possible null pointer exception

Change-Id: Iba683e262e69e7cae1d6f82d736bf29fec043db7
Signed-off-by: default avatarAdam Knapp <>
parent 47809ca6
......@@ -635,6 +635,9 @@ public final class TTCN3Module extends Module {
} else {
final TTCN3Module theImportedModule = (TTCN3Module) theImport.getReferredModule();
if (theImportedModule == null) {
// make sure the version attribute is parsed (if any)
final ProductIdentity requiredVersion = versionReq.getVersionNumber();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment