@Test public void reading_query_bond_should_not_npe() throws Exception {

    try (MDLV3000Reader reader = new MDLV3000Reader(getClass().getResourceAsStream("v3000Query.mol"))) {
        IAtomContainer container = reader.read(SilentChemObjectBuilder.getInstance().newAtomContainer());
        for (IBond bond: container.bonds()) {
            assertNotNull(bond.getOrder());
        }
        assertThat(container.getBond(4).getOrder(), is(IBond.Order.UNSET));
    }
}