You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2008/06/25 18:52:45 UTC

[jira] Created: (WODEN-212) Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation

Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation 
-----------------------------------------------------------------------------------------------------

                 Key: WODEN-212
                 URL: https://issues.apache.org/jira/browse/WODEN-212
             Project: Woden
          Issue Type: Bug
            Reporter: Sagara Gunathunga 
            Priority: Minor


Calling getSource() method on XMLElement interface returns NullPointerException instead of  source object. This error occurs only if OMWSDLReader use to read wsdl document in to object model. 

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


[jira] Updated: (WODEN-212) Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation

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

Sagara Gunathunga  updated WODEN-212:
-------------------------------------

    Attachment: OMWSDLReader.java.txt

Actual problem with two methods of OMWSDLReader class (parseSchemaImport and parseSchemaInline methods).

Required fix is attached as a patch file; I observed   the same error in the trunk also, so it is required to apply this patch for both trunk and branch65.   


> Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WODEN-212
>                 URL: https://issues.apache.org/jira/browse/WODEN-212
>             Project: Woden
>          Issue Type: Bug
>            Reporter: Sagara Gunathunga 
>            Priority: Minor
>         Attachments: OMWSDLReader.java.txt
>
>
> Calling getSource() method on XMLElement interface returns NullPointerException instead of  source object. This error occurs only if OMWSDLReader use to read wsdl document in to object model. 

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


[jira] Commented: (WODEN-212) Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation

Posted by "John Kaputin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WODEN-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610257#action_12610257 ] 

John Kaputin commented on WODEN-212:
------------------------------------

Most of the changes in the patch file were due to white space changes - looks like auto reformat indenting changes. I think there are just two one line changes actually required, to set the Schema's XMLElement in the parseSchemaImport and parseSchemaInline methods, so I have just made those changes to trunk and the woden65 branch. Thanks Sagara for contributing this fix.

> Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WODEN-212
>                 URL: https://issues.apache.org/jira/browse/WODEN-212
>             Project: Woden
>          Issue Type: Bug
>            Reporter: Sagara Gunathunga 
>            Assignee: John Kaputin
>            Priority: Minor
>         Attachments: OMWSDLReader.java.txt
>
>
> Calling getSource() method on XMLElement interface returns NullPointerException instead of  source object. This error occurs only if OMWSDLReader use to read wsdl document in to object model. 

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


[jira] Resolved: (WODEN-212) Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation

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

John Kaputin resolved WODEN-212.
--------------------------------

    Resolution: Fixed

r673709 - woden65 branch
r673711 - woden trunk

> Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WODEN-212
>                 URL: https://issues.apache.org/jira/browse/WODEN-212
>             Project: Woden
>          Issue Type: Bug
>            Reporter: Sagara Gunathunga 
>            Assignee: John Kaputin
>            Priority: Minor
>         Attachments: OMWSDLReader.java.txt
>
>
> Calling getSource() method on XMLElement interface returns NullPointerException instead of  source object. This error occurs only if OMWSDLReader use to read wsdl document in to object model. 

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


[jira] Assigned: (WODEN-212) Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation

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

Lawrence Mandel reassigned WODEN-212:
-------------------------------------

    Assignee: John Kaputin

John, can you please review Sagara's patch.

> Calling getSource() method on XMLElement interface returns NullPointerException in OM implementation 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WODEN-212
>                 URL: https://issues.apache.org/jira/browse/WODEN-212
>             Project: Woden
>          Issue Type: Bug
>            Reporter: Sagara Gunathunga 
>            Assignee: John Kaputin
>            Priority: Minor
>         Attachments: OMWSDLReader.java.txt
>
>
> Calling getSource() method on XMLElement interface returns NullPointerException instead of  source object. This error occurs only if OMWSDLReader use to read wsdl document in to object model. 

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