java.lang.reflect.UndeclaredThrowableException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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?
    via by Fabrizio,
    • 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)
    No Bugmate found.