From: Patrick P. <pa...@dc...> - 2005-03-23 18:02:35
|
=20 I can't track this error down better than this ... my code is here http://www.dcs.gla.ac.uk/~pat/cp4/JChoco/hrp/ and a call to java Test hrp_11_5.dat ends up with some sort of null pointer exception in the jchoco code via choco.AbstractConstraint.addListner(Unknown Source) =20 I also have a bizarre error in the following code, specifically file UMatrix.java http://www.dcs.gla.ac.uk/~pat/cp4/JChoco/speciesTrees/ Here I have an "ultrametrix" constraint as seen in lines 37 to 41 of file UMatrix.java. In particular there is a redundant constraint that when added causes JChoco to bomb out on a ClassCastException. The redundat constraint is A=3DB and C>B and C>A. Remove the last of these = and the error goes away! =20 I am now going to go home and cry and when I come back to work I am going to volunteer to take on the duties of our Janitor =20 Patrick -- Patrick Prosser tel: +44 141 330 4934 Computing Science fax: +44 141 330 4913 Glasgow University mail: pa...@dc... G12 8RZ =20 http://www.dcs.gla.ac.uk/~pat <http://www.dcs.gla.ac.uk/~pat> =20 =20 |