[ensembl-dev] healthcheck errors

LAW Andy andy.law at roslin.ed.ac.uk
Tue Apr 19 09:10:53 BST 2011


That error message means that you are trying to run java code compiled with a later version of the JDK than the JRE you are running it in (e.g. running code compiled with JDK 1.6 on a system that only has Java 1.5 installed).

So - if the compiled code is being distributed by being stored into the repository and then checked out, then version 62 has a requirement/dependency on Java 1.6


On 18 Apr 2011, at 22:19, Glenn Proctor wrote:

> Hi Sharon
> 
> Yes, you can check out the ensembl-release-62 branch of the
> healthchecks. The error you're getting likely stems from different
> versions of one or more classes being present; I just tried a fresh
> checkout of the 62 branch and the DuplicateExons test runs OK.
> 
> Regards
> 
> Glenn.
> 
> 
> On Mon, Apr 18, 2011 at 9:51 PM, Sharon Wei <weix at cshl.edu> wrote:
>> Dear Ensemblers,
>> 
>> Is there a version 62 branch for ensembl healthcheck?  I just checked out
>> the HEAD version and run a simple test, but got the following error.
>> 
>> [weix at brie ensj-healthcheck]$ sh run-healthcheck.sh -d
>> oryza_glaberrima_core_33_62_w1  DuplicateExons
>> Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
>> version number in .class file
>>        at java.lang.ClassLoader.defineClass1(Native Method)
>>        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>>        at
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>>        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>        at java.security.AccessController.doPrivileged(Native Method)
>>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> 
>> What is puzzling me is when I run the same test on a previous version (v56)
>> of healthcheck, it ran through  O.K.
>> 
>> [weix at brie ensj-healthcheck-59]$ sh run-healthcheck.sh -d
>> oryza_glaberrima_core_33_62_w1  DuplicateExons
>> DuplicateExons [oryza_glaberrima_core_33_62_w1] ........... FAILED
>> 
>> ---- RESULTS BY TEST CASE ----
>> 
>> org.ensembl.healthcheck.testcase.generic.DuplicateExons [Team responsible:
>> Not set]
>>  oryza_glaberrima_core_33_62_w1: Has at least 7352 duplicated exons.
>> 
>> Any idea?
>> 
>> Thanks,
>> 
>> 
>> Sharon
>> 
>> _______________________________________________
>> Dev mailing list    Dev at ensembl.org
>> List admin (including subscribe/unsubscribe):
>> http://lists.ensembl.org/mailman/listinfo/dev
>> Ensembl Blog: http://www.ensembl.info/
>> 
>> 
> 
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> List admin (including subscribe/unsubscribe): http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

Later,

Andy
--------
Yada, yada, yada...

Please note my new address and phone number:

The Roslin Institute
The University of Edinburgh
Easter Bush
Midlothian
EH25 9RG

0131 651 9100 (switchboard)
0131 651 9154 (direct)

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336 
Disclaimer: This e-mail and any attachments are confidential and intended solely for the use of the recipient(s) to whom they are addressed. If you have received it in error, please destroy all copies and inform the sender.




-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.





More information about the Dev mailing list