java.lang.reflect.UndeclaredThrowableException

JIRA | Fabrizio | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    looking into my log today i've found this {code} 2013-10-02 15:15:45,008 QuartzWorker-1 ERROR ServiceRunner HD Customer MYCOMP [jira.emh.service.DefaultJEMHAuditTrailManager] 2013-10-02 15:15:45,008 QuartzWorker-1 ERROR ServiceRunner HD Customer MYCOMP [jira.emh.service.DefaultJEMHAuditTrailManager] (BUG) Unexpected exception: null 2013-10-02 15:15:45,010 QuartzWorker-1 ERROR ServiceRunner HD Customer MYCOMP [jira.emh.service.EnterpriseMessageHandlerImpl] Unhandled Exception (bug?): null (NPE?): UndeclaredThrowableException: null: java.lang.reflect.UndeclaredThrowableException at $Proxy2102.save(Unknown Source) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:951) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:226) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'EMAIL_SUBJECT' at row 1 2013-10-02 15:15:45,018 QuartzWorker-1 ERROR ServiceRunner HD Customer MYCOMP [jira.emh.service.EnterpriseMessageHandlerImpl] Unhandled Exception occurred during processing (mail will be deleted (to stop re-processing) but forwarded), type=java.lang.reflect.UndeclaredThrowableException), location=$Proxy2102.save(Unknown Source). This may be a BUG: null 2013-10-02 15:15:45,023 QuartzWorker-1 ERROR ServiceRunner HD Customer MYCOMP [atlassian.mail.incoming.mailfetcherservice] HD Customer MYCOMP[10602]: Exception: null java.lang.reflect.UndeclaredThrowableException at $Proxy2102.save(Unknown Source) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleException(EnterpriseMessageHandlerImpl.java:374) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:268) at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45) at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368) at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271) at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356) at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'EMAIL_SUBJECT' at row 1 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3556) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2109) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2648) at com.mysql.jdbc.PreparedStatement.executeMYCOMPnal(PreparedStatement.java:2077) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2362) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2280) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2265) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at net.java.ao.EntityProxy.save(EntityProxy.java:278) at net.java.ao.EntityProxy.invoke(EntityProxy.java:119) ... 13 more 2013-10-02 15:15:59,112 http-bio-8080-exec-727{code} the defined user in notification configuration haven't recieved any error log, and i can't see this email in auditing How can i be sure that every email will not be deleted but forwarded in case of problem?

    JIRA | 3 years ago | Fabrizio
    java.lang.reflect.UndeclaredThrowableException

    Root Cause Analysis

    1. java.lang.reflect.UndeclaredThrowableException

      No message provided

      at $Proxy2102.save()
    2. Unknown
      $Proxy2102.save
      1. $Proxy2102.save(Unknown Source)
      1 frame
    3. com.javahollic.jira
      EnterpriseMessageHandlerProxy.handleMessage
      1. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.initAuditEvent(EnterpriseMessageHandlerImpl.java:951)
      2. com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:226)
      3. com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45)
      3 frames
    4. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368)
      2. com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271)
      3. com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356)
      4. com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:252)
      5. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      6. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
      6 frames
    5. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      1 frame
    6. com.atlassian.multitenant
      MultiTenantThreadPool$MultiTenantRunnable.run
      1. com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
      1 frame
    7. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      1 frame