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 "ilab (Created) (JIRA)" <ji...@apache.org> on 2011/10/28 14:26:33 UTC
[jira] [Created] (AXIS2-5170) Empty xs:normalizedString parse
and/or serialization error
Empty xs:normalizedString parse and/or serialization error
----------------------------------------------------------
Key: AXIS2-5170
URL: https://issues.apache.org/jira/browse/AXIS2-5170
Project: Axis2
Issue Type: Bug
Components: codegen
Affects Versions: 1.6.1
Reporter: ilab
The object, which is created by axis2 parsing an empty xs:normalizedString tag, cannot be serialized as serialize(...) always throws "normalizedString cannot be null!!" exception.
Details:
When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() method parses an empty xs:normalizedString tag, the following code runs:
NormalizedString object = new NormalizedString();
[...]
object.setNormalizedString(org.apache.axis2.databinding.utils.ConverterUtil.convertToNormalizedString(content));
Method convertToNormalizedString() returns null for null/empty string values.
Afterwards, if NormalizedString.serialize(...) is called, it will throw "normalizedString cannot be null!!" exception.
For the full relevant code see for example http://www.docjar.com/html/api/org/apache/axis2/databinding/utils/ConverterUtil.java.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Resolved] (AXIS2-5170) Empty xs:normalizedString parse
and/or serialization error
Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved AXIS2-5170.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Assignee: Sagara Gunathunga
Fixed in r1362388.
> Empty xs:normalizedString parse and/or serialization error
> ----------------------------------------------------------
>
> Key: AXIS2-5170
> URL: https://issues.apache.org/jira/browse/AXIS2-5170
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.6.1
> Reporter: ilab
> Assignee: Sagara Gunathunga
> Priority: Critical
> Fix For: 1.7.0
>
>
> The object, which is created by axis2 parsing an empty xs:normalizedString tag, cannot be serialized as serialize(...) always throws "normalizedString cannot be null!!" exception.
> Details:
> When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() method parses an empty xs:normalizedString tag, the following code runs:
> NormalizedString object = new NormalizedString();
> [...]
> object.setNormalizedString(org.apache.axis2.databinding.utils.ConverterUtil.convertToNormalizedString(content));
> Method convertToNormalizedString() returns null for null/empty string values.
> Afterwards, if NormalizedString.serialize(...) is called, it will throw "normalizedString cannot be null!!" exception.
> For the full relevant code see for example http://www.docjar.com/html/api/org/apache/axis2/databinding/utils/ConverterUtil.java.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Updated] (AXIS2-5170) Empty xs:normalizedString parse
and/or serialization error
Posted by "ilab (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ilab updated AXIS2-5170:
------------------------
Priority: Critical (was: Major)
> Empty xs:normalizedString parse and/or serialization error
> ----------------------------------------------------------
>
> Key: AXIS2-5170
> URL: https://issues.apache.org/jira/browse/AXIS2-5170
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.6.1
> Reporter: ilab
> Priority: Critical
>
> The object, which is created by axis2 parsing an empty xs:normalizedString tag, cannot be serialized as serialize(...) always throws "normalizedString cannot be null!!" exception.
> Details:
> When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() method parses an empty xs:normalizedString tag, the following code runs:
> NormalizedString object = new NormalizedString();
> [...]
> object.setNormalizedString(org.apache.axis2.databinding.utils.ConverterUtil.convertToNormalizedString(content));
> Method convertToNormalizedString() returns null for null/empty string values.
> Afterwards, if NormalizedString.serialize(...) is called, it will throw "normalizedString cannot be null!!" exception.
> For the full relevant code see for example http://www.docjar.com/html/api/org/apache/axis2/databinding/utils/ConverterUtil.java.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
[jira] [Commented] (AXIS2-5170) Empty xs:normalizedString parse
and/or serialization error
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416009#comment-13416009 ]
Hudson commented on AXIS2-5170:
-------------------------------
Integrated in Axis2 #1641 (See [https://builds.apache.org/job/Axis2/1641/])
Fixed AXIS2-5170- Can't find such constrain on http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#normalizedString. (Revision 1362388)
Result = FAILURE
sagara :
Files :
* /axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
* /axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/utils/ConverterUtilTest.java
> Empty xs:normalizedString parse and/or serialization error
> ----------------------------------------------------------
>
> Key: AXIS2-5170
> URL: https://issues.apache.org/jira/browse/AXIS2-5170
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.6.1
> Reporter: ilab
> Assignee: Sagara Gunathunga
> Priority: Critical
> Fix For: 1.7.0
>
>
> The object, which is created by axis2 parsing an empty xs:normalizedString tag, cannot be serialized as serialize(...) always throws "normalizedString cannot be null!!" exception.
> Details:
> When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() method parses an empty xs:normalizedString tag, the following code runs:
> NormalizedString object = new NormalizedString();
> [...]
> object.setNormalizedString(org.apache.axis2.databinding.utils.ConverterUtil.convertToNormalizedString(content));
> Method convertToNormalizedString() returns null for null/empty string values.
> Afterwards, if NormalizedString.serialize(...) is called, it will throw "normalizedString cannot be null!!" exception.
> For the full relevant code see for example http://www.docjar.com/html/api/org/apache/axis2/databinding/utils/ConverterUtil.java.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org