git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab22918
)
JAL-1769 fixed output to jalview (.jpv) file in headless mode. Initial cause of failu...
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 7 Jul 2015 15:18:41 +0000
(16:18 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 7 Jul 2015 15:18:41 +0000
(16:18 +0100)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
be56292
..
e4ec30b
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-1372,6
+1372,10
@@
public class Jalview2XML
final SequenceI jds, List<String> viewIds, AlignmentPanel ap,
boolean storeDataset)
{
+ if (Desktop.desktop == null)
+ {
+ return;
+ }
JInternalFrame[] frames = Desktop.desktop.getAllFrames();
for (int f = frames.length - 1; f > -1; f--)
{