You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.NullPointerException
at org.biojava.nbio.structure.StructureTools.addGroupToStructure(StructureTools.java:547)
at org.biojava.nbio.structure.symmetry.utils.SymmetryTools.divideStructure(SymmetryTools.java:538)
at main.TestSymmetryDisplay.main(TestSymmetryDisplay.java:53)
The weird thing is that the error goes away if I don't create the MultipleAlignmentJmol instance. We must be modifying the CESymmResult state in a way that breaks divideStructure.
I've fixed the NPE, but I'm still a bit concerned about MultipleAlignmentJmol modifying stuff. I'm not sure if I have time to track this bug down though.
Activity
josemduarte commentedon Dec 31, 2018
A bug in cloning perhaps?
Fix biojava#817 NullPointerException
sbliven commentedon Jan 1, 2019
I've fixed the NPE, but I'm still a bit concerned about MultipleAlignmentJmol modifying stuff. I'm not sure if I have time to track this bug down though.
sbliven commentedon Jan 7, 2019
Reopening for potential cloning bug
Add failing test for biojava#817
sbliven commentedon Jan 7, 2019
I have a test for this issue in my fix817 branch (83f2b38). Basically, creating MultipleAlignmentJmol results in all atoms having null EntityInfo.