Skip to main content

IV10036: NUMBERFORMATEXCEPTION WHILE UNMARSHALLING .


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NumberFormatException: Not a valid char
    constructor input
    .
    Stack Trace:
    Caused by: javax.xml.bind.UnmarshalException
    
    - with linked exception:
    
    [java.lang.NumberFormatException]
    
                    at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingC
    ontext.h
    andleEvent(UnmarshallingContext.java:631)
    
                    at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingC
    ontext.h
    andleError(UnmarshallingContext.java:660)
    
                    at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingC
    ontext.h
    andleError(UnmarshallingContext.java:656)
    
                    at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.handleP
    arseConv
    ersionException(Loader.java:249)
    
                    at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.LeafPropertyLo
    ader.tex
    t(LeafPropertyLoader.java:54)
    .
    .
    
    Caused by: java.lang.NumberFormatException
    
                    at
    java.math.BigDecimal.<init>(BigDecimal.java:534)
    
                    at
    java.math.BigDecimal.<init>(BigDecimal.java:728)
    
                    at
    com.sun.xml.internal.bind.DatatypeConverterImpl._parseDecimal(Da
    tatypeCo
    nverterImpl.java:157)
    
                    at
    com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoIm
    pl$23.pa
    rse(RuntimeBuiltinLeafInfoImpl.java:719)
    
                    at
    com.sun.xml.internal.bind.v2.model.impl.RuntimeBuiltinLeafInfoIm
    pl$23.pa
    rse(RuntimeBuiltinLeafInfoImpl.java:717)
    
                    at
    com.sun.xml.internal.bind.v2.runtime.reflect.TransducedAccessor$
    Composit
    eTransducedAccessorImpl.parse(TransducedAccessor.java:230)
    
                    at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.LeafPropertyLo
    ader.tex
    t(LeafPropertyLoader.java:50)
    

Local fix

Problem summary

  • NumberFormatException while unmarshalling JAXB.This occurs while
    unmarshalling if the unmarshaller encounters a 'xs:element' with
    type decimal value.
    
    When it tries to parse a charsequence whose content is ' ' it
    throws NumberFormatException
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR3
    .
    The JVM has been updated to check the length of character
    sequence before parcing the decimal value.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV10036

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-04

  • Closed date

    2012-01-21

  • Last modified date

    2012-01-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
6.0


Reference #:
IV10036


Modified date:
2012-01-21

Translate my page

Content navigation