JAL-3599 Deliberate NPE to see if build plan fails
authorBen Soares <b.soares@dundee.ac.uk>
Fri, 9 Jun 2023 15:48:32 +0000 (16:48 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Fri, 9 Jun 2023 15:48:32 +0000 (16:48 +0100)
src/jalview/gui/Desktop.java

index 2dfe820..1a21006 100644 (file)
@@ -626,6 +626,10 @@ public class Desktop extends jalview.jbgui.GDesktop
 
     if (Platform.isJS())
     {
+      // emulate a problem
+      String a = null;
+      int l = a.length();
+
       // used for jalviewjsTest
       jalview.bin.Console.info("JALVIEWJS: CREATED DESKTOP");
     }