Details
-
Type: Bug
-
Status: Closed
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.11.2.0
-
Fix Version/s: 2.11.2.1
-
Component/s: Structures
-
Labels:None
Description
Discovering structures for some uniprot entries result in a dialog popping up with 'null' in the message area. These seem to result from an empty JSON doc being returned by 3d-beacons:
https://www.ebi.ac.uk/pdbe/pdbe-kb/3dbeacons/api/uniprot/summary/P0DTD3.json
This raises unexpected exceptions:
java.lang.NullPointerException
at jalview.gui.structurechooser.TDBResultAnalyser.getFilteredResponse(TDBResultAnalyser.java:134)
at jalview.gui.structurechooser.ThreeDBStructureChooserQuerySource.selectFirstRankedQuery(ThreeDBStructureChooserQuerySource.java:361)
at jalview.gui.StructureChooser$7.run(StructureChooser.java:567)
at java.lang.Thread.run(Thread.java:750)
https://www.ebi.ac.uk/pdbe/pdbe-kb/3dbeacons/api/uniprot/summary/P0DTD3.json
This raises unexpected exceptions:
java.lang.NullPointerException
at jalview.gui.structurechooser.TDBResultAnalyser.getFilteredResponse(TDBResultAnalyser.java:134)
at jalview.gui.structurechooser.ThreeDBStructureChooserQuerySource.selectFirstRankedQuery(ThreeDBStructureChooserQuerySource.java:361)
at jalview.gui.StructureChooser$7.run(StructureChooser.java:567)
at java.lang.Thread.run(Thread.java:750)