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 ax...@ws.apache.org on 2004/07/27 03:36:20 UTC

[jira] Created: (AXIS-1480) NPE in Service.getPort

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1480

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1480
    Summary: NPE in Service.getPort
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis

   Assignee: 
   Reporter: Joseph Dane

    Created: Mon, 26 Jul 2004 6:36 PM
    Updated: Mon, 26 Jul 2004 6:36 PM

Description:

line numbers are wrt version 1.99

Service.java:397
    public Remote getPort(String endpoint, Class proxyInterface)
            throws ServiceException {
        return getPort(endpoint, null, proxyInterface);
    }

[ note that null is passed for portName above
    private Remote getPort(String endpoint, QName portName,
                           Class proxyInterface) throws ServiceException {
  
     ...

        // Validate the proxyInterface
        if (wsdlParser != null) {
            Port port = wsdlService.getPort(portName.getLocalPart());

portName.getLocalPart() above will throw a NPE



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira