Hi Vishma, I think you said you would upload a simple example to a github repo? If you can do that then I'll take a look this evening.
In the meantime, from the stacktrace numbers it looks like the domain object that you are getting to render isn't actually a view model, which means it doesn't have an @XmlRootElement annotation (nor either of the older ways of doing view models, either the @ViewModel annotation or implementing the ViewModel interface). Perhaps you could post the source code of the class? Thx, Dan On 27 Jan 2016 10:44, "Vishma Senadhi Dias" <vishma...@cse.mrt.ac.lk> wrote: > Hi, > I wish to display a domain object instance received as a response from a > web service. I have my local interface of the response as a domain object. > I get the response from an action in the domain service. Can anyone please > tell me the reason for this exception to occur? Any suggestions would be > highly appreciated. > > Caused by: > > * org.apache.isis.core.commons.exceptions.IsisException > * *Resolve state* (for > PojoAdapter@7a2e4bc7 > [T:!it.manager.Temperature:572b8a6c-1d55-4ea6-8774-615ab37cc057,specification=Temperature,version=null,pojo-toString=it.manager.Temperature@55918e59 > ,pojo-hash=#55918e59]) > *inconsistent with fact that data exists for fields* > * > org.apache.isis.core.runtime.memento.Memento#updateFieldsAndResolveState(Memento.java:307) > * > org.apache.isis.core.runtime.memento.Memento#updateObject(Memento.java:283) > * > org.apache.isis.core.runtime.memento.Memento#recreateObject(Memento.java:224) > * > org.apache.isis.viewer.wicket.model.mementos.ObjectAdapterMemento$Type$3#recreateAdapter(ObjectAdapterMemento.java:159) > * > org.apache.isis.viewer.wicket.model.mementos.ObjectAdapterMemento$Type#getAdapter(ObjectAdapterMemento.java:183) > * > org.apache.isis.viewer.wicket.model.mementos.ObjectAdapterMemento#getObjectAdapter(ObjectAdapterMemento.java:280) > * > org.apache.isis.viewer.wicket.model.models.EntityModel#load(EntityModel.java:326) > * > org.apache.isis.viewer.wicket.ui.components.entity.EntityComponentFactoryAbstract#appliesTo(EntityComponentFactoryAbstract.java:61) > * > org.apache.isis.viewer.wicket.ui.ComponentFactoryAbstract#appliesTo(ComponentFactoryAbstract.java:77) > > Regards, > Vishma. > >