Field assertionsDisabled

18 views
Skip to first unread message

sophiataskova

unread,
Aug 11, 2011, 2:12:20 PM8/11/11
to jenabean-dev, ble...@mtholyoke.edu
Hello!

I am writing with a question regarding a warning that occurs when I
try to perform a query through a Java project in Eclipse. The stack
trace is pasted below. It seems that assertionsDisabled is a field
that is provided by the compiler and so I am unable to tag it as
@Transient. Could you let me know if there some other way to avoid
persisting assertionsDisabled as a property of java beans?


The entire stack trace is the following:

WARNING: Could not set bean field $assertionsDisabled
java.lang.IllegalAccessException: Can not set static final boolean
field laser.ddg.AbstractProcedureInstanceNode.$assertionsDisabled to
java.lang.Boolean
at
sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(Unknown
Source)
at
sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(Unknown
Source)
at
sun.reflect.UnsafeQualifiedStaticBooleanFieldAccessorImpl.set(Unknown
Source)
at java.lang.reflect.Field.set(Unknown Source)
at thewebsemantic.FieldContext.setProperty(FieldContext.java:
72)
at thewebsemantic.RDF2Bean.applyLiteral(RDF2Bean.java:678)
at thewebsemantic.RDF2Bean.apply(RDF2Bean.java:620)
at thewebsemantic.RDF2Bean.apply(RDF2Bean.java:570)
at thewebsemantic.RDF2Bean.applyProperties(RDF2Bean.java:444)
at thewebsemantic.RDF2Bean.applyProperties(RDF2Bean.java:436)
at thewebsemantic.RDF2Bean.testCycle(RDF2Bean.java:397)
at thewebsemantic.RDF2Bean.toObject(RDF2Bean.java:393)
at thewebsemantic.RDF2Bean.load(RDF2Bean.java:267)
at thewebsemantic.RDF2Bean.load(RDF2Bean.java:243)
at thewebsemantic.Sparql.exec(Sparql.java:50)

Thank you very much in advance,

Sofiya Taskova

Taylor Cowan

unread,
Aug 15, 2011, 5:47:38 PM8/15/11
to jenabe...@googlegroups.com
looks like JenaBena is trying to access or set a static field...I've
never seen this before. what version of the jdk are you using? any
other special considerations/weaving going on their?

Taylor

> --
> You received this message because you are subscribed to the Google Groups "jenabean-dev" group.
> To post to this group, send email to jenabe...@googlegroups.com.
> To unsubscribe from this group, send email to jenabean-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jenabean-dev?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages