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:
290f1ac
)
JAL-2241 check for null jprovider when processing New View action
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 11 Oct 2016 11:09:37 +0000
(12:09 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 11 Oct 2016 11:09:37 +0000
(12:09 +0100)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
9a8e5f6
..
a4e5785
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-3018,7
+3018,8
@@
public class Jalview2XML
entry.setType(PDBEntry.Type.FILE);
}
}
- if (ids[p].getFile() != null)
+ // jprovider is null when executing 'New View'
+ if (ids[p].getFile() != null && jprovider != null)
{
if (!pdbloaded.containsKey(ids[p].getFile()))
{