Hellowordwsclient fails
-----------------------

         Key: TUSCANY-75
         URL: http://issues.apache.org/jira/browse/TUSCANY-75
     Project: Tuscany
        Type: Bug
  Components: Java SCA Core  
 Environment: WinXp
URL: https://svn.apache.org/repos/asf/incubator/tuscany/java 
Last Changed Rev: 384161
Last Changed Date: 2006-03-08 04:03:21 -0500 (Wed, 08 Mar 2006)
    Reporter: Rick Rineholt
    Priority: Blocker


Helloworldwsclient fails and so does it's associate testing\tomcat \helloworldws
Exception in thread "main" java.lang.IllegalArgumentException
        at 
sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
        at java.lang.reflect.Field.set(Field.java:656)
        at 
org.apache.tuscany.core.injection.FieldInjector.inject(FieldInjector.java:40)
        at 
org.apache.tuscany.core.injection.PojoObjectFactory.getInstance(PojoObjectFactory.java:64)
        at 
org.apache.tuscany.container.java.context.JavaComponentContext.getInstance(JavaComponentContext.java:113)
        at 
org.apache.tuscany.core.context.impl.AggregateContextImpl.locateService(AggregateContextImpl.java:98)
        at 
org.apache.tuscany.samples.helloworldwsclient.HelloWorldClient.main(HelloWorldClient.java:42)

Test failing line         HelloWorldService helloworldService = 
(HelloWorldService) moduleContext.locateService("HelloWorldServiceComponent");

It looks like on FieldInjector line 40 objectFactory is NullMonitorFactory ... 
this seems to be off?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to