jchempaint
jchempaint copied to clipboard
error message and clean state after SMILES C1C1 instead of NullPtr
Both input of C1C1 from text field and file gives (different) exceptions. It should give an error message box, rejecting the input.
The cause is primarily a CDK issue, see https://sourceforge.net/tracker/?func=detail&aid=3531612&group_id=20024&atid=120024 but we could add safeguards to give diagnostics and do full recovery.
It would appear that the difference between both cases is that there is a cleanup() after File Read but not after text input.
Still unresolved as in https://sourceforge.net/p/cdk/bugs/1234/ Reopened to apply the PendingCDK label.