
16/07/2014, 07:55
|
 | Colaborador | | Fecha de Ingreso: octubre-2004
Mensajes: 3.774
Antigüedad: 20 años, 4 meses Puntos: 454 | |
Respuesta: De String a Calendar con este formato Hola:
Puede ser que le estés pasando un String null. Si lo hago, a mí me sale esta excepcion
Exception in thread "main" java.lang.NullPointerException
at javax.xml.bind.WhiteSpaceProcessor.trim(Unknown Source)
at javax.xml.bind.DatatypeConverterImpl._parseDateTim e(Unknown Source)
at javax.xml.bind.DatatypeConverterImpl.parseDateTime (Unknown Source)
at javax.xml.bind.DatatypeConverter.parseDateTime(Unk nown Source)
Si no tuvieras la clase o el método la excepción sería algo como ClassNotFound o NoSuchMethodException.
Se bueno. |