You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org> on 2008/05/14 08:57:55 UTC

[jira] Created: (TUSCANY-2319) binding.ws throws NullPointerException

binding.ws throws NullPointerException
--------------------------------------

                 Key: TUSCANY-2319
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2319
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Misc Binding Extensions
    Affects Versions: Java-SCA-Next
         Environment: Windows XP
            Reporter: Ramkumar Ramalingam
            Priority: Minor
             Fix For: Java-SCA-Next


In helloworld-ws-reference-jms sample, when the helloworldwsjms.composite is modified to look like this:

<interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld2)" />
            <binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding2)"
                    uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61619"/>

Here the wsdl.interface HelloWorld is replace with HelloWorld2 and the wsdl.binding HelloWorldSoapJmsBinding is replaced with HelloWorldSoapJmsBinding2.

Here a NullPointerException is thrown while running the sample, instead of showing a meaningful message.

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


[jira] Assigned: (TUSCANY-2319) binding.ws throws NullPointerException

Posted by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam reassigned TUSCANY-2319:
--------------------------------------------

    Assignee: Ramkumar Ramalingam

> binding.ws throws NullPointerException
> --------------------------------------
>
>                 Key: TUSCANY-2319
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2319
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Misc Binding Extensions
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Ramkumar Ramalingam
>            Assignee: Ramkumar Ramalingam
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>
> In helloworld-ws-reference-jms sample, when the helloworldwsjms.composite is modified to look like this:
> <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld2)" />
>             <binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding2)"
>                     uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61619"/>
> Here the wsdl.interface HelloWorld is replace with HelloWorld2 and the wsdl.binding HelloWorldSoapJmsBinding is replaced with HelloWorldSoapJmsBinding2.
> Here a NullPointerException is thrown while running the sample, instead of showing a meaningful message.

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


[jira] Updated: (TUSCANY-2319) binding.ws throws NullPointerException

Posted by "Ramkumar Ramalingam (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramkumar Ramalingam updated TUSCANY-2319:
-----------------------------------------

    Attachment: TUSCANY-2319.patch

The NPE thrown for this issue is not fixed as they come from the runtime module,  here the fix provides a meaningful warning message to the user so that he comes know what went wrong.

Along with this fix, i have also included the itests for the validation messages.

> binding.ws throws NullPointerException
> --------------------------------------
>
>                 Key: TUSCANY-2319
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2319
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Misc Binding Extensions
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Ramkumar Ramalingam
>            Assignee: Ramkumar Ramalingam
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2319.patch
>
>
> In helloworld-ws-reference-jms sample, when the helloworldwsjms.composite is modified to look like this:
> <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld2)" />
>             <binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding2)"
>                     uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61619"/>
> Here the wsdl.interface HelloWorld is replace with HelloWorld2 and the wsdl.binding HelloWorldSoapJmsBinding is replaced with HelloWorldSoapJmsBinding2.
> Here a NullPointerException is thrown while running the sample, instead of showing a meaningful message.

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


[jira] Resolved: (TUSCANY-2319) binding.ws throws NullPointerException

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws resolved TUSCANY-2319.
---------------------------------

    Resolution: Fixed

Committed at r6616651. Thanks for the patch Ram. 

> binding.ws throws NullPointerException
> --------------------------------------
>
>                 Key: TUSCANY-2319
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2319
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Misc Binding Extensions
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Ramkumar Ramalingam
>            Assignee: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2319.patch
>
>
> In helloworld-ws-reference-jms sample, when the helloworldwsjms.composite is modified to look like this:
> <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld2)" />
>             <binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding2)"
>                     uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61619"/>
> Here the wsdl.interface HelloWorld is replace with HelloWorld2 and the wsdl.binding HelloWorldSoapJmsBinding is replaced with HelloWorldSoapJmsBinding2.
> Here a NullPointerException is thrown while running the sample, instead of showing a meaningful message.

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


[jira] Assigned: (TUSCANY-2319) binding.ws throws NullPointerException

Posted by "Simon Laws (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Laws reassigned TUSCANY-2319:
-----------------------------------

    Assignee: Simon Laws  (was: Ramkumar Ramalingam)

> binding.ws throws NullPointerException
> --------------------------------------
>
>                 Key: TUSCANY-2319
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2319
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Misc Binding Extensions
>    Affects Versions: Java-SCA-Next
>         Environment: Windows XP
>            Reporter: Ramkumar Ramalingam
>            Assignee: Simon Laws
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>         Attachments: TUSCANY-2319.patch
>
>
> In helloworld-ws-reference-jms sample, when the helloworldwsjms.composite is modified to look like this:
> <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld2)" />
>             <binding.ws wsdlElement="http://helloworld#wsdl.binding(HelloWorldSoapJmsBinding2)"
>                     uri="jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&amp;java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&amp;java.naming.provider.url=tcp://localhost:61619"/>
> Here the wsdl.interface HelloWorld is replace with HelloWorld2 and the wsdl.binding HelloWorldSoapJmsBinding is replaced with HelloWorldSoapJmsBinding2.
> Here a NullPointerException is thrown while running the sample, instead of showing a meaningful message.

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