[Biojava-l] error on hmmer demo

Andreas Prlic andreas at sdsc.edu
Tue Jul 24 16:19:50 UTC 2012


Can you try with sun-java, rather than openjdk?
A

On Tue, Jul 24, 2012 at 9:15 AM, Tony Power <power3d at gmail.com> wrote:
> Hi again,
>
> Sorry about the lack of details.
> Here it goes:
> Debian testing;
> Biojava from debian repository;
> OpenJDK 7 (installed from debian rep too);
>
> Thanks,
>
> On Tue, Jul 24, 2012 at 4:19 PM, Andreas Prlic <andreas at sdsc.edu> wrote:
>> 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 <power3d at gmail.com> 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  -  Biojava-l at lists.open-bio.org
>>> http://lists.open-bio.org/mailman/listinfo/biojava-l
>>
>>
>>



More information about the Biojava-l mailing list