jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giovanni Toraldo <notificati...@github.com>
Subject Re: [jclouds] Added context information for exceptions that are hard to debug (#873)
Date Wed, 28 Oct 2015 13:25:40 GMT
java.lang.IllegalStateException: Incorrect number of names on @org.jclouds.json.SerializedNames(value=[slug,
name, sizes, available, features]).
 Class [org.jclouds.digitalocean2.domain.AutoValue_Region]. Annotation config: [slug,name,sizes,available,features].
Fields in object; [java.lang.String,java.lang.String,java

No idea of what [Z] means, but it's probably a syntetic field added by jacoco as explained
in [FAQs](http://eclemma.org/jacoco/trunk/doc/faq.html):

> My code uses reflection. Why does it fail when I execute it with JaCoCo?
> To collect execution data JaCoCo instruments the classes under test which adds two members
to the classes: A private static field $jacocoData and a private static method $jacocoInit().
Both members are marked as synthetic.
> Please change your code to ignore synthetic members. This is a good practice anyways
as also the Java compiler creates synthetic members in certain situation.

How can we proceed?

Reply to this email directly or view it on GitHub:
View raw message