Thanks for the feedback. It works in my environments, but it might have to do with the conversion of JSON->Java object.
- How did you get your biojava setup? Maven? manually? - If manual setup, are you using net.sf.json-lib v. 2.3? - What is your operating system and java version? Thanks, Andreas On Tue, Jul 24, 2012 at 3:09 AM, Tony Power <[email protected]> wrote: > Hi all, > > When I am trying to run the demo at: > http://biojava.org/wiki/BioJava:CookBook3:HmmerService > > I get the following error: > > java.lang.ClassCastException: java.lang.Long cannot be cast to > java.lang.Integer > # Domain ACC Start End eValue > Description > at > org.biojava3.ws.hmmer.RemoteHmmerScan.scan(RemoteHmmerScan.java:119) > at > org.biojava3.ws.hmmer.RemoteHmmerScan.scan(RemoteHmmerScan.java:42) > > I have BioJava 3.0.4. > > Thanks, > Tony > _______________________________________________ > Biojava-l mailing list - [email protected] > http://lists.open-bio.org/mailman/listinfo/biojava-l > _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
