Carl Miller created DROOLS-805:
----------------------------------
Summary: JobResult causes exception creating JAXB context
Key: DROOLS-805
URL:
https://issues.jboss.org/browse/DROOLS-805
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.2.0.Final
Reporter: Carl Miller
Assignee: Mario Fusco
In trying to use the following snippet of code:
JAXBContext jc = JAXBContext.newInstance( JobResult.class );
to transform a json string returned by a "/jobs/{jobId}" REST call into a
JobResult, I kept getting an error stating setLastModified( Long ) was not a method in
that class. Upon further examination, the getter in the JobResult.java class returns a
"Long" yet the setter accepts a "long" (subtle difference). Made the
change to setLastModified to accept a Long and my JaxBContext issue went away.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)