> Dear Miguel (off-list attachment),
> The attached file, struvite.cif, passes a grammar check w/ enCIFer w/o
> errors, warnings, or remarks, and displays in its visualizer. I won't make
> any claims about it meeting all the official CIF reqs but it displays well
> in WebLab ViewerLite, including 2x2x2 multicell, unitcell boundaries,
> autobonding by proximity, etc.
> But Jmol.jar from Jmol10pre8 gives me 'java.lang.NullPointerException' :-(
The problem is that your file does not have a newline character at the end.
I have changed the code to gracefully deal with this situation. The fix
will be in the next release.
In the meantime, you can get it to work by just putting a newline at the
end of the last line of the file.
Note: This is a classical problem with parsers. In the old days large
numbers of compilers for computer lanaguages would croak if there wasn't a
newline at the end of the last line of the file. Countless hours have been