You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/07/16 08:21:09 UTC

[jira] Created: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

doc/lit wrapped ws operation results in NPE if method has no parameters
-----------------------------------------------------------------------

         Key: GERONIMO-768
         URL: http://issues.apache.org/jira/browse/GERONIMO-768
     Project: Geronimo
        Type: Bug
  Components: webservices  
    Versions: 1.0-M3    
    Reporter: David Jencks


in doc/lit wrapped, an operation with no parameters corresponds to an element with no content such as 

   <element name="getMarketSummary">
    <complexType>
     <sequence/>
    </complexType>
   </element>
 
This results in an NPE on line 232 of  HeavyweightOperationDescBuilder after:

            SchemaType operationType = (SchemaType) schemaInfoBuilder.getComplexTypesInWsdl().get(name);

            Set expectedInParams = new HashSet();

            // schemaType should be complex using xsd:sequence compositor
            SchemaParticle parametersType = operationType.getContentModel();

there is no content model


-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-768?page=all ]
     
David Jencks closed GERONIMO-768:
---------------------------------


fixed in M4 branch
Sending        modules/axis-builder/src/java/org/apache/geronimo/axis/builder/HeavyweightOperationDescBuilder.java
Transmitting file data .
Committed revision 219764.

> doc/lit wrapped ws operation results in NPE if method has no parameters
> -----------------------------------------------------------------------
>
>          Key: GERONIMO-768
>          URL: http://issues.apache.org/jira/browse/GERONIMO-768
>      Project: Geronimo
>         Type: Bug
>   Components: webservices
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M5

>
> in doc/lit wrapped, an operation with no parameters corresponds to an element with no content such as 
>    <element name="getMarketSummary">
>     <complexType>
>      <sequence/>
>     </complexType>
>    </element>
>  
> This results in an NPE on line 232 of  HeavyweightOperationDescBuilder after:
>             SchemaType operationType = (SchemaType) schemaInfoBuilder.getComplexTypesInWsdl().get(name);
>             Set expectedInParams = new HashSet();
>             // schemaType should be complex using xsd:sequence compositor
>             SchemaParticle parametersType = operationType.getContentModel();
> there is no content model

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-768?page=all ]
     
David Jencks resolved GERONIMO-768:
-----------------------------------

    Fix Version: 1.0-M5
     Resolution: Fixed
      Assign To: David Jencks

Fixed in rev 219289

> doc/lit wrapped ws operation results in NPE if method has no parameters
> -----------------------------------------------------------------------
>
>          Key: GERONIMO-768
>          URL: http://issues.apache.org/jira/browse/GERONIMO-768
>      Project: Geronimo
>         Type: Bug
>   Components: webservices
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M5

>
> in doc/lit wrapped, an operation with no parameters corresponds to an element with no content such as 
>    <element name="getMarketSummary">
>     <complexType>
>      <sequence/>
>     </complexType>
>    </element>
>  
> This results in an NPE on line 232 of  HeavyweightOperationDescBuilder after:
>             SchemaType operationType = (SchemaType) schemaInfoBuilder.getComplexTypesInWsdl().get(name);
>             Set expectedInParams = new HashSet();
>             // schemaType should be complex using xsd:sequence compositor
>             SchemaParticle parametersType = operationType.getContentModel();
> there is no content model

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

Posted by Jacek Laskowski <jl...@apache.org>.
David Jencks wrote:
> 
> On Jul 17, 2005, at 12:51 PM, Jacek Laskowski wrote:
> 
>> David Jencks (JIRA) wrote:
>>
>>>     [  http://issues.apache.org/jira/browse/GERONIMO-768? 
>>> page=comments#action_12315970 ] David Jencks commented on  GERONIMO-768:
>>> ---------------------------------------
>>> Should this go into M4?
>>
>>
>> I don't know how important it is, so let me answer your question  
>> asking another. If we voted it, how would you vote?
> 
> 
> +1, or I wouldn't have asked :-)  It's a rather small bug fix

Right, you wouldn't. Didn't we agree that bug fixes should be put in M4, 
too? If so, combining your answer and our recommendation wouldn't let me 
vote differently.

+1.

> david jencks

Jacek

Re: [jira] Commented: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

Posted by David Jencks <dj...@gluecode.com>.
On Jul 17, 2005, at 12:51 PM, Jacek Laskowski wrote:

> David Jencks (JIRA) wrote:
>>     [  
>> http://issues.apache.org/jira/browse/GERONIMO-768? 
>> page=comments#action_12315970 ] David Jencks commented on  
>> GERONIMO-768:
>> ---------------------------------------
>> Should this go into M4?
>
> I don't know how important it is, so let me answer your question  
> asking another. If we voted it, how would you vote?

+1, or I wouldn't have asked :-)  It's a rather small bug fix

david jencks
>
> Jacek
>


Re: [jira] Commented: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

Posted by Jacek Laskowski <jl...@apache.org>.
David Jencks (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/GERONIMO-768?page=comments#action_12315970 ] 
> 
> David Jencks commented on GERONIMO-768:
> ---------------------------------------
> 
> Should this go into M4?

I don't know how important it is, so let me answer your question asking 
another. If we voted it, how would you vote?

Jacek

[jira] Commented: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-768?page=comments#action_12315970 ] 

David Jencks commented on GERONIMO-768:
---------------------------------------

Should this go into M4?

> doc/lit wrapped ws operation results in NPE if method has no parameters
> -----------------------------------------------------------------------
>
>          Key: GERONIMO-768
>          URL: http://issues.apache.org/jira/browse/GERONIMO-768
>      Project: Geronimo
>         Type: Bug
>   Components: webservices
>     Versions: 1.0-M3
>     Reporter: David Jencks
>     Assignee: David Jencks
>      Fix For: 1.0-M5

>
> in doc/lit wrapped, an operation with no parameters corresponds to an element with no content such as 
>    <element name="getMarketSummary">
>     <complexType>
>      <sequence/>
>     </complexType>
>    </element>
>  
> This results in an NPE on line 232 of  HeavyweightOperationDescBuilder after:
>             SchemaType operationType = (SchemaType) schemaInfoBuilder.getComplexTypesInWsdl().get(name);
>             Set expectedInParams = new HashSet();
>             // schemaType should be complex using xsd:sequence compositor
>             SchemaParticle parametersType = operationType.getContentModel();
> there is no content model

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira