java.lang.reflect.InvocationTargetException

Jenkins JIRA | G. Ann Campbell | 5 years ago
  1. 0

    Just tried to upgrade to 2.0. Jenkinks log give exceptions on startup & none of my projects display any changes / change logs. Reverting restores change logs. Here's a sample stacktrace java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2141) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1948) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2054) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1015) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:456) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:197) at org.apache.commons.digester.Digester.endElement(Digester.java:1130) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragment ScannerImpl.java:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocu mentFragmentScannerImpl.java:2938) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentSc annerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.commons.digester.Digester.parse(Digester.java:1631) at hudson.scm.CVSChangeLogSet.parse(CVSChangeLogSet.java:113) at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:43) at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:38) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:808) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:782) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:356) at hudson.model.User.getBuilds(User.java:390) at hudson.WebAppMain$2$1.doRun(WebAppMain.java:225) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.RuntimeException: Invalid date at hudson.scm.CVSChangeLogSet$CVSChangeLog.setDate(CVSChangeLogSet.java:235) ... 34 more Caused by: java.text.ParseException: Unparseable date: "2012-02-29" at java.text.DateFormat.parse(DateFormat.java:337) at hudson.scm.CVSChangeLogSet$CVSChangeLog.setDate(CVSChangeLogSet.java:232) ... 34 more

    Jenkins JIRA | 5 years ago | G. Ann Campbell
    java.lang.reflect.InvocationTargetException
  2. 0

    Just tried to upgrade to 2.0. Jenkinks log give exceptions on startup & none of my projects display any changes / change logs. Reverting restores change logs. Here's a sample stacktrace java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155) at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2141) at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1948) at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2054) at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1015) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:456) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:197) at org.apache.commons.digester.Digester.endElement(Digester.java:1130) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragment ScannerImpl.java:1782) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocu mentFragmentScannerImpl.java:2938) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentSc annerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.commons.digester.Digester.parse(Digester.java:1631) at hudson.scm.CVSChangeLogSet.parse(CVSChangeLogSet.java:113) at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:43) at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:38) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:808) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:782) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:356) at hudson.model.User.getBuilds(User.java:390) at hudson.WebAppMain$2$1.doRun(WebAppMain.java:225) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.RuntimeException: Invalid date at hudson.scm.CVSChangeLogSet$CVSChangeLog.setDate(CVSChangeLogSet.java:235) ... 34 more Caused by: java.text.ParseException: Unparseable date: "2012-02-29" at java.text.DateFormat.parse(DateFormat.java:337) at hudson.scm.CVSChangeLogSet$CVSChangeLog.setDate(CVSChangeLogSet.java:232) ... 34 more

    Jenkins JIRA | 5 years ago | G. Ann Campbell
    java.lang.reflect.InvocationTargetException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SimpleDateFormat is not thread safe

    GitHub | 4 years ago | dkocher
    java.text.ParseException: Unparseable date: "2011-09-02T09:37:03Z"

  1. DoktorDoener666 1 times, last 2 weeks ago
  2. Alexandru Popa 1 times, last 2 weeks ago
  3. maxxi 8 times, last 3 days ago
  4. iridic 5 times, last 1 month ago
  5. ivotje50 33 times, last 1 month ago
23 more registered users
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.text.ParseException

    Unparseable date: "2012-02-29"

    at java.text.DateFormat.parse()
  2. Java RT
    DateFormat.parse
    1. java.text.DateFormat.parse(DateFormat.java:337)
    1 frame
  3. Hudson
    CVSChangeLogSet$CVSChangeLog.setDate
    1. hudson.scm.CVSChangeLogSet$CVSChangeLog.setDate(CVSChangeLogSet.java:232)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Apache Commons BeanUtils
    BeanUtils.setProperty
    1. org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155)
    2. org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:2141)
    3. org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1948)
    4. org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:2054)
    5. org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1015)
    6. org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:456)
    6 frames
  6. Commons Digester
    Digester.endElement
    1. org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:197)
    2. org.apache.commons.digester.Digester.endElement(Digester.java:1130)
    2 frames
  7. Java RT
    SAXParserImpl$JAXPSAXParser.parse
    1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
    2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
    3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
    4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    8. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    9. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    10. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    10 frames
  8. Commons Digester
    Digester.parse
    1. org.apache.commons.digester.Digester.parse(Digester.java:1631)
    1 frame
  9. Hudson
    SafeTimerTask.run
    1. hudson.scm.CVSChangeLogSet.parse(CVSChangeLogSet.java:113)
    2. hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:43)
    3. hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:38)
    4. hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:808)
    5. hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:782)
    6. hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:356)
    7. hudson.model.User.getBuilds(User.java:390)
    8. hudson.WebAppMain$2$1.doRun(WebAppMain.java:225)
    9. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
    9 frames
  10. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:512)
    2. java.util.TimerThread.run(Timer.java:462)
    2 frames