Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.11.2.7
-
Fix Version/s: 2.11.3.0
-
Component/s: data retrieval services
-
Labels:None
Description
Originally Cannot retrieve uniprot accession 'Q29079':
Bug first reported by UoD student - retrieval of Q29079 leads to an exception and warning dialog:
java.lang.NullPointerException: null
at jalview.ws.dbsources.Uniprot.uniprotEntryToSequence(Uniprot.java:303) ~[jalview.jar:2.11.2.7]
at jalview.ws.dbsources.Uniprot.getSequenceRecords(Uniprot.java:162) ~[jalview.jar:2.11.2.7]
at jalview.gui.SequenceFetcher.fetchSingleAccession(SequenceFetcher.java:800) [jalview.jar:2.11.2.7]
at jalview.gui.SequenceFetcher.run(SequenceFetcher.java:582) [jalview.jar:2.11.2.7]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_322]
reason is that some features have 'unknown' status for their start or end attribute, with no actual value, so the code throws an NPE.
Bug first reported by UoD student - retrieval of Q29079 leads to an exception and warning dialog:
java.lang.NullPointerException: null
at jalview.ws.dbsources.Uniprot.uniprotEntryToSequence(Uniprot.java:303) ~[jalview.jar:2.11.2.7]
at jalview.ws.dbsources.Uniprot.getSequenceRecords(Uniprot.java:162) ~[jalview.jar:2.11.2.7]
at jalview.gui.SequenceFetcher.fetchSingleAccession(SequenceFetcher.java:800) [jalview.jar:2.11.2.7]
at jalview.gui.SequenceFetcher.run(SequenceFetcher.java:582) [jalview.jar:2.11.2.7]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_322]
reason is that some features have 'unknown' status for their start or end attribute, with no actual value, so the code throws an NPE.