Fixed minor NPE jdev_excrep
authorJakub Lehotsky <jlehotsky@netbeans.org>
Tue, 21 Feb 2017 10:37:42 +0100
branchjdev_excrep
changeset 638154f32566b123
parent 6380 1ebd353f82b0
child 6382 2e7a0966e1ca
child 6383 8b98e23cd3ec
Fixed minor NPE
logger/uihandler.api/src/org/netbeans/modules/exceptions/entity/Submit.java
     1.1 --- a/logger/uihandler.api/src/org/netbeans/modules/exceptions/entity/Submit.java	Thu Feb 09 17:46:23 2017 +0100
     1.2 +++ b/logger/uihandler.api/src/org/netbeans/modules/exceptions/entity/Submit.java	Tue Feb 21 10:37:42 2017 +0100
     1.3 @@ -168,6 +168,8 @@
     1.4      }
     1.5  
     1.6      public String getShortTestName() {
     1.7 +        if (testName == null)
     1.8 +            return null;
     1.9          if (testName.contains("::")) {
    1.10              String[] classSplit = testName.split("::");
    1.11              if (classSplit[0].contains(".")) {