[prev in list] [next in list] [prev in thread] [next in thread]
List: jaxme-dev
Subject: [jira] [Resolved] (WODEN-243) Code error in org.apache.woden.internal.DOMWSDLWriter
From: "Andreas Veithen (JIRA)" <jira () apache ! org>
Date: 2017-08-20 16:01:00
Message-ID: JIRA.13093093.1502181430000.74544.1503244860183 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/WODEN-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Andreas Veithen resolved WODEN-243.
-----------------------------------
Resolution: Fixed
> Code error in org.apache.woden.internal.DOMWSDLWriter
> -----------------------------------------------------
>
> Key: WODEN-243
> URL: https://issues.apache.org/jira/browse/WODEN-243
> Project: Woden
> Issue Type: Bug
> Components: Parser
> Affects Versions: M10
> Reporter: Jeff Thomas
>
> Looks like a small error in the DOMWSDLWriter:
> The check on line 767 should be against the 'interfaceName' and not the 'name' \
> attribute. {code:java}
> 760 QName name = service.getName();
> 761 if (name != null){
> 762 DOMUtils.printAttribute(Constants.ATTR_NAME,
> 763 name.getLocalPart(),
> 764 pw);
> 765 }
> 766 QName interfaceName = service.getInterfaceName();
> 767 if (name != null){
> 768
> 769 DOMUtils.printQualifiedAttribute(Constants.ATTR_INTERFACE,
> 770 interfaceName,des, pw);
> 771 }
> {code}
> This could lead to a NullPointerException in printQualifiedAttribute.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic