[jira] Commented: (TUSCANY-1750) Databinding-echo sample fails with an Exception

2007-09-18 Thread Jean-Sebastien Delfino (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528520
 ] 

Jean-Sebastien Delfino commented on TUSCANY-1750:
-

I suggest to just document the Linux limitation in the README of that sample.


> Databinding-echo sample fails with an Exception
> ---
>
> Key: TUSCANY-1750
> URL: https://issues.apache.org/jira/browse/TUSCANY-1750
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Data Binding Runtime
>Affects Versions: Java-SCA-1.0
>Reporter: Jean-Sebastien Delfino
> Fix For: Java-SCA-1.0
>
>
> The databinding-echo sample fails with the following exception:
> [java] ComponentA --> Received message: 123 
> [java.lang.String]
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at 
> org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceFactory.newInstance(ReflectiveInstanceFactory.java:58)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaComponentContextProvider.createInstanceWrapper(JavaComponentContextProvider.java:93)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider.createInstanceWrapper(JavaImplementationProvider.java:158)
> [java] at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.createInstanceWrapper(AbstractScopeContainer.java:65)
> [java] at 
> org.apache.tuscany.sca.core.scope.StatelessScopeContainer.getWrapper(StatelessScopeContainer.java:38)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:85)
> [java] at 
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at dbecho.ComponentAImpl.call(ComponentAImpl.java:41)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [java] at java.lang.reflect.Method.invoke(Method.java:615)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> [java] at 
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at 
> dbecho.EchoDataBindingClient.main(EchoDataBindingClient.java:34)
> [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (TUSCANY-1750) Databinding-echo sample fails with an Exception

2007-09-18 Thread Luciano Resende (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528476
 ] 

Luciano Resende commented on TUSCANY-1750:
--

I see same exception as Sebastien in Linux (ubuntu)

> Databinding-echo sample fails with an Exception
> ---
>
> Key: TUSCANY-1750
> URL: https://issues.apache.org/jira/browse/TUSCANY-1750
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Data Binding Runtime
>Affects Versions: Java-SCA-1.0
>Reporter: Jean-Sebastien Delfino
> Fix For: Java-SCA-1.0
>
>
> The databinding-echo sample fails with the following exception:
> [java] ComponentA --> Received message: 123 
> [java.lang.String]
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at 
> org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceFactory.newInstance(ReflectiveInstanceFactory.java:58)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaComponentContextProvider.createInstanceWrapper(JavaComponentContextProvider.java:93)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider.createInstanceWrapper(JavaImplementationProvider.java:158)
> [java] at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.createInstanceWrapper(AbstractScopeContainer.java:65)
> [java] at 
> org.apache.tuscany.sca.core.scope.StatelessScopeContainer.getWrapper(StatelessScopeContainer.java:38)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:85)
> [java] at 
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at dbecho.ComponentAImpl.call(ComponentAImpl.java:41)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [java] at java.lang.reflect.Method.invoke(Method.java:615)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> [java] at 
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at 
> dbecho.EchoDataBindingClient.main(EchoDataBindingClient.java:34)
> [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (TUSCANY-1750) Databinding-echo sample fails with an Exception

2007-09-18 Thread haleh mahbod (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528464
 ] 

haleh mahbod commented on TUSCANY-1750:
---

I just ran this on windows xp and it works!

C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\databinding-echo>ant
run
Buildfile: build.xml

run:
 [java] [Property] prefix: ABC
 [java] [Property] prefix1: ABC
 [java] [Property] bar: BAR
 [java] ComponentA --> Received message: 123 [
java.lang.String]
 [java] ComponentB --> Received message: [#document: null] [org.apache.xerce
s.dom.DeferredDocumentImpl]
 [java] Passing thro invoker...
 [java] ComponentB --> Returned message: [#document: null] [org.apache.xerce
s.dom.DeferredDocumentImpl]
 [java] ComponentA --> Returned message: 123 [java.lang.String]
 [java] [Property] prefix: ABC
 [java] [Property] prefix1: ABC
 [java] [Property] bar: BAR
 [java] ComponentA --> Received message: 123 [
java.lang.String]
 [java] ComponentB --> Received message: com.ctc.wstx.sr.ValidatingStreamRea
[EMAIL PROTECTED] [com.ctc.wstx.sr.ValidatingStreamReader]
 [java] ComponentB --> Returned message: com.ctc.wstx.sr.ValidatingStreamRea
[EMAIL PROTECTED] [com.ctc.wstx.sr.ValidatingStreamReader]
 [java] ComponentA --> Returned message: 123 [java.lang.String]
 [java] call  response = 123
 [java] call1 response = 123

BUILD SUCCESSFUL
Total time: 4 seconds
C:\tuscany-new\sca-dist\tuscany-sca-1.0-incubating\samples\databinding-echo>

> Databinding-echo sample fails with an Exception
> ---
>
> Key: TUSCANY-1750
> URL: https://issues.apache.org/jira/browse/TUSCANY-1750
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Data Binding Runtime
>Affects Versions: Java-SCA-1.0
>Reporter: Jean-Sebastien Delfino
> Fix For: Java-SCA-1.0
>
>
> The databinding-echo sample fails with the following exception:
> [java] ComponentA --> Received message: 123 
> [java.lang.String]
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at 
> org.apache.tuscany.sca.implementation.java.context.ReflectiveInstanceFactory.newInstance(ReflectiveInstanceFactory.java:58)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaComponentContextProvider.createInstanceWrapper(JavaComponentContextProvider.java:93)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationProvider.createInstanceWrapper(JavaImplementationProvider.java:158)
> [java] at 
> org.apache.tuscany.sca.core.scope.AbstractScopeContainer.createInstanceWrapper(AbstractScopeContainer.java:65)
> [java] at 
> org.apache.tuscany.sca.core.scope.StatelessScopeContainer.getWrapper(StatelessScopeContainer.java:38)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:85)
> [java] at 
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:73)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at dbecho.ComponentAImpl.call(ComponentAImpl.java:41)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [java] at java.lang.reflect.Method.invoke(Method.java:615)
> [java] at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
> [java] at 
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInteceptor.invoke(PassByValueInteceptor.java:49)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
> [java] at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
> [java] at $Proxy6.call(Unknown Source)
> [java] at 
> dbecho.EchoDataBindingClient.main(EchoDataBindingClient.java:34)
> [java] Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]