[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Created: (JIBX-459) Error while unmarshalling
From:       "Siva nk (JIRA)" <jira () codehaus ! org>
Date:       2011-09-21 20:48:17
Message-ID: 1386657324.4292.1316638097096.JavaMail.j2ee-jira () codehaus01-new ! managed ! contegix ! com
[Download RAW message or body]

Error while unmarshalling  empty elements
-----------------------------------------

                 Key: JIBX-459
                 URL: https://jira.codehaus.org/browse/JIBX-459
             Project: JiBX
          Issue Type: Bug
          Components: core
    Affects Versions: JiBX 1.2.3
         Environment: Windows 7/JIBX
            Reporter: Siva nk


I have an element as follows in binding file

<value style="element" name="id" get-method="getId" set-method="setId" ordered="false" usage="optional"/>

Its a long datatype.

In XML it shows up as empty tag

<ns1:id/>

While unmarshalling I am getting NumberFormatException. 

If i remove the blank tag it works fine. 

Same for other datatypes. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic