Hi Gavin
Unfortuneatly my @Local interface does have the getInstance function
declaration:
Here is the local interface for the siteEditor component.
anonymous wrote : @Local
| public interface ISiteEditor {
|
| public boolean isNew();
| public void setNew(boolean isNew);
|
| public Contract getInstance();
| public void setInstance(Contract instance);
|
| public String update();
| public String delete();
| public String create();
|
| public String done();
|
| public void destroy();
| }
As I said the exception gets thrown when the contractOperations gets injected
into the siteEditor stateful session bean. It finds the bean in the session
scope but then when it goes to set the field it throws the following error
Caused by: java.lang.IllegalArgumentException
| at
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913943#3913943
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913943
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user