You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2007/12/02 02:33:43 UTC

[jira] Created: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

NPE throws when invoking jax-ws calculator sample service
---------------------------------------------------------

                 Key: AXIS2-3382
                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: samples
    Affects Versions: 1.3
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Assignee: Lahiru Sandakith
            Priority: Critical


- Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
- Issue the following request
  http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 

You will get <faultstring>java.lang.NullPointerException</faultstring>

This issue has been reported by a user in the axis2 user list as well. 



-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547872 ] 

Lahiru Sandakith commented on AXIS2-3382:
-----------------------------------------

Here is what I did 

Build the axis2 from source.. from trunk
extracted the standalone build at module/distribution 
build the sample jaxws
deployed it in axis2 and start the server.

1) invoked with rest like browser invocation as original issue reports -> not working
2) codegen the client stub  from the wsdl ,  wrote client , invoke it - > issues 

apply the patch..
build again 
both 1) and 2) works

Thanks 
Sandakith.

> NPE throws when invoking jax-ws calculator sample service
> ---------------------------------------------------------
>
>                 Key: AXIS2-3382
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Lahiru Sandakith
>            Priority: Critical
>         Attachments: Fix_for_Axis2_3382.txt
>
>
> - Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
> - Issue the following request
>   http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 
> You will get <faultstring>java.lang.NullPointerException</faultstring>
> This issue has been reported by a user in the axis2 user list as well. 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-3382.
-------------------------------------

    Resolution: Fixed

Fixed in svn revision 635068

> NPE throws when invoking jax-ws calculator sample service
> ---------------------------------------------------------
>
>                 Key: AXIS2-3382
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Lahiru Sandakith
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: Fix_for_Axis2_3382.txt
>
>
> - Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
> - Issue the following request
>   http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 
> You will get <faultstring>java.lang.NullPointerException</faultstring>
> This issue has been reported by a user in the axis2 user list as well. 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Sandakith updated AXIS2-3382:
------------------------------------

    Attachment: Fix_for_Axis2_3382.txt

Attaching the fix for the issue.. since there are some test failing at this time in the trunk.
This issue is limited to jaxws module.

can someone who more familiar with JAXWS review this one..

> NPE throws when invoking jax-ws calculator sample service
> ---------------------------------------------------------
>
>                 Key: AXIS2-3382
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Lahiru Sandakith
>            Priority: Critical
>         Attachments: Fix_for_Axis2_3382.txt
>
>
> - Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
> - Issue the following request
>   http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 
> You will get <faultstring>java.lang.NullPointerException</faultstring>
> This issue has been reported by a user in the axis2 user list as well. 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3382:
------------------------------------

    Fix Version/s: 1.4

> NPE throws when invoking jax-ws calculator sample service
> ---------------------------------------------------------
>
>                 Key: AXIS2-3382
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Lahiru Sandakith
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: Fix_for_Axis2_3382.txt
>
>
> - Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
> - Issue the following request
>   http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 
> You will get <faultstring>java.lang.NullPointerException</faultstring>
> This issue has been reported by a user in the axis2 user list as well. 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

Posted by "Roy A. Wood Jr. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579635#action_12579635 ] 

Roy A. Wood Jr. commented on AXIS2-3382:
----------------------------------------

Hi Lahiru,
   It appears that the change you made to EndpointController has caused a regression in some of our JAXWS testing. You mentioned, in the comment, that this check would already be handled when the EndpointInvocationContext reaches the handleRequest method but I don't see that happening. Do you have any objections to me  placing that check back in EndpointController?

> NPE throws when invoking jax-ws calculator sample service
> ---------------------------------------------------------
>
>                 Key: AXIS2-3382
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Lahiru Sandakith
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: Fix_for_Axis2_3382.txt
>
>
> - Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
> - Issue the following request
>   http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 
> You will get <faultstring>java.lang.NullPointerException</faultstring>
> This issue has been reported by a user in the axis2 user list as well. 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3382) NPE throws when invoking jax-ws calculator sample service

Posted by "Lahiru Sandakith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579781#action_12579781 ] 

Lahiru Sandakith commented on AXIS2-3382:
-----------------------------------------

Hi Roy, 
no objection on place it again, 
Thanks 
Lahiru

> NPE throws when invoking jax-ws calculator sample service
> ---------------------------------------------------------
>
>                 Key: AXIS2-3382
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3382
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Lahiru Sandakith
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: Fix_for_Axis2_3382.txt
>
>
> - Deploy jaxws-calculator-1.3.aar (Either in tomcat or standalone axis2 server)
> - Issue the following request
>   http://127.0.0.1:8080/axis2/services/CalculatorService/add?value1=1&value2=3 
> You will get <faultstring>java.lang.NullPointerException</faultstring>
> This issue has been reported by a user in the axis2 user list as well. 

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org