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 "Jan Thomä (JIRA)" <ji...@apache.org> on 2009/02/20 13:09:01 UTC

[jira] Created: (AXIS2-4244) NullPointerException in generated Stub.

NullPointerException in generated Stub.
---------------------------------------

                 Key: AXIS2-4244
                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Jan Thomä
            Priority: Blocker


I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:

             throw f;
            }
            } finally {
                _messageContext.getTransportOut().getSender().cleanup(_messageContext);
            }
        }

It looks like getTransportOut() returns null leading to the NPE. 

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


Re: [jira] Resolved: (AXIS2-4244) NullPointerException in generated Stub.

Posted by djeanprost <dj...@sofaxis.com>.
The JIRA entry is marked as fixed. Where can I find the fix ?
thank you
dom


JIRA jira@apache.org wrote:
> 
> 
>      [
> https://issues.apache.org/jira/browse/AXIS2-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
> 
> Deepal Jayasinghe resolved AXIS2-4244.
> --------------------------------------
> 
>     Resolution: Fixed
> 
> 

-- 
View this message in context: http://old.nabble.com/-jira--Created%3A-%28AXIS2-4244%29-NullPointerException-in-generated-Stub.-tp22119479p26725263.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


[jira] Updated: (AXIS2-4244) NullPointerException in generated Stub.

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

Matt Dewbery updated AXIS2-4244:
--------------------------------

    Attachment: stack.txt

I am also experiencing this issue, this JIRA seems to be a dup of  AXIS2-4259. Company paths have been edited in attached stack trace. Any possible work arounds appreciated as this is a bit of a blocker for us. 
Attempting to consume .NET webservice using generated AXIS2 client (XMLbeans).


> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>         Attachments: stack.txt
>
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

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


[jira] Resolved: (AXIS2-4244) NullPointerException in generated Stub.

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

Deepal Jayasinghe resolved AXIS2-4244.
--------------------------------------

    Resolution: Fixed

> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>         Attachments: stack.txt
>
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

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


[jira] Commented: (AXIS2-4244) NullPointerException in generated Stub.

Posted by "Christopher Cheng (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688253#action_12688253 ] 

Christopher Cheng commented on AXIS2-4244:
------------------------------------------

I just tried ADB instead of XMLBeans, the generated Stub has the same problem

> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>         Attachments: stack.txt
>
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

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


[jira] Commented: (AXIS2-4244) NullPointerException in generated Stub.

Posted by "Christopher Cheng (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688244#action_12688244 ] 

Christopher Cheng commented on AXIS2-4244:
------------------------------------------

I have exactly the same problem too, the version I tried was axsi2 1.4.1. Does anybody know which axis version and which databinding is stable now?


> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>         Attachments: stack.txt
>
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

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


[jira] Commented: (AXIS2-4244) NullPointerException in generated Stub.

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680809#action_12680809 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4244:
-----------------------------------------------------

Can you send the stack trace?

> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

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


[jira] Commented: (AXIS2-4244) NullPointerException in generated Stub.

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696030#action_12696030 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4244:
-----------------------------------------------------

Here the problem is that message sending has failed before it sends the message using a transport out.
Try to check the correct reason by debuging or putting a e.printstacktrace() for exception catch. Possible reason would be not having required runtime jars in the patch.

> NullPointerException in generated Stub.
> ---------------------------------------
>
>                 Key: AXIS2-4244
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4244
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jan Thomä
>            Priority: Blocker
>         Attachments: stack.txt
>
>
> I have created a Stub from a WSDL using XMLBeans. Now i get an NPE inside the generated stub around this code line:
>              throw f;
>             }
>             } finally {
>                 _messageContext.getTransportOut().getSender().cleanup(_messageContext);
>             }
>         }
> It looks like getTransportOut() returns null leading to the NPE. 

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