Could you post the source code for this class? >From the error, I'm speculating that it has a proteted constructor....
Dan On 2 May 2014 12:39, <[email protected]> wrote: > Hi, > > I have domain object (JDO annotated) with private properties and public > getters/setter methods. I have got the below error when instantiated by > using DomainObjectContainer.newTransientInstance(..) from a service class. > > > > Caused by: java.lang.IllegalAccessException: Class > org.apache.isis.core.runtime.bytecode.identity.ObjectFactoryBasic can not > access a member of class com.wipro.wess.OmUser with modifiers "protected" > at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) > at java.lang.Class.newInstance0(Class.java:349) > at java.lang.Class.newInstance(Class.java:308) > at > org.apache.isis.core.runtime.bytecode.identity.ObjectFactoryBasic.doInstantiate(ObjectFactoryBasic.java:46) > ... 71 more > > Its strange there are some other domain objects in my application, they > are working fine. Only problem coming to this new domain object > > Please suggest. > > Br > Ranganath Varma > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you are > not the intended recipient, you should not disseminate, distribute or copy > this e-mail. Please notify the sender immediately and destroy all copies of > this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com >
