java.lang.NullPointerException

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.

  • Automated xml backups are corrupted and cannot be opened. NOTE: The issue does not occur with the jtds driver. The MS JDBC is required for SQL integrated security. The exception in the logs: {code} 2013-04-10 09:22:53,607 QuartzWorker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Data export completed in 9517ms. Wrote 155300 entities to export in memory. 2013-04-10 09:22:53,607 QuartzWorker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Attempting to save the Active Objects Backup 2013-04-10 09:22:54,186 QuartzWorker-0 ERROR ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Error during Active Objects Backup com.atlassian.activeobjects.spi.ActiveObjectsImportExportException: There was an error during import/export with plugin Tempo Plugin(is.origo.jira.tempo-plugin) #7.5.3:Cannot encode value for unsupported column type: "ntext" (-16) of column AO_86ED1B_TIMEPLAN.DESCRIPTION at com.atlassian.activeobjects.backup.ImportExportErrorServiceImpl.newImportExportException(ImportExportErrorServiceImpl.java:24) at com.atlassian.dbexporter.exporter.DataExporter.exportRow(DataExporter.java:164) at com.atlassian.dbexporter.exporter.DataExporter.exportTable(DataExporter.java:92) at com.atlassian.dbexporter.exporter.DataExporter.access$100(DataExporter.java:28) at com.atlassian.dbexporter.exporter.DataExporter$1.call(DataExporter.java:50) at com.atlassian.dbexporter.exporter.DataExporter$1.call(DataExporter.java:45) at com.atlassian.dbexporter.jdbc.JdbcUtils.withConnection(JdbcUtils.java:30) at com.atlassian.dbexporter.exporter.DataExporter.export(DataExporter.java:44) at com.atlassian.dbexporter.DbExporter.exportData(DbExporter.java:53) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.save(ActiveObjectsBackup.java:112) at com.atlassian.jira.bc.dataimport.DefaultExportService.exportActiveObjects(DefaultExportService.java:198) at com.atlassian.jira.bc.dataimport.DefaultExportService.export(DefaultExportService.java:80) at com.atlassian.jira.bc.dataimport.DefaultExportService.export(DefaultExportService.java:59) at com.atlassian.jira.service.services.export.ExportService.performBackup(ExportService.java:145) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:130) 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) 2013-04-10 09:22:54,186 QuartzWorker-0 ERROR ServiceRunner Backup Service [service.services.export.ExportService] An exception while running the export service "Backup Service": There was a problem backing up data for the Tempo Plugin plugin. com.atlassian.core.AtlassianCoreException: There was a problem backing up data for the Tempo Plugin plugin. at com.atlassian.jira.service.services.export.ExportService.performBackup(ExportService.java:148) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:130) 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) 2013-04-10 09:22:54,248 QuartzWorker-0 WARN ServiceRunner Backup Service [service.services.export.ExportService] The corrupted backup file 'C:\Program Files (x86)\Atlassian\Application Data\JIRA\export\2013-Apr-10--0922.zip' was copied to 'C:\Program Files (x86)\Atlassian\Application Data\JIRA\export\corrupted\2013-Apr-10--0922.zip' but could not be deleted. 2013-04-10 09:22:54,248 QuartzWorker-0 ERROR ServiceRunner Backup Service [atlassian.jira.service.ServiceRunner] An error occured while trying to run service 'Backup Service'. null java.lang.NullPointerException at com.atlassian.jira.service.services.export.ExportService.writeFailureReasonFile(ExportService.java:256) at com.atlassian.jira.service.services.export.ExportService.moveBackupAside(ExportService.java:196) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:136) 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) {code}
    via by Ribbles,
  • Automated xml backups are corrupted and cannot be opened. NOTE: The issue does not occur with the jtds driver. The MS JDBC is required for SQL integrated security. The exception in the logs: {code} 2013-04-10 09:22:53,607 QuartzWorker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Data export completed in 9517ms. Wrote 155300 entities to export in memory. 2013-04-10 09:22:53,607 QuartzWorker-0 INFO ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Attempting to save the Active Objects Backup 2013-04-10 09:22:54,186 QuartzWorker-0 ERROR ServiceRunner Backup Service [jira.bc.dataimport.DefaultExportService] Error during Active Objects Backup com.atlassian.activeobjects.spi.ActiveObjectsImportExportException: There was an error during import/export with plugin Tempo Plugin(is.origo.jira.tempo-plugin) #7.5.3:Cannot encode value for unsupported column type: "ntext" (-16) of column AO_86ED1B_TIMEPLAN.DESCRIPTION at com.atlassian.activeobjects.backup.ImportExportErrorServiceImpl.newImportExportException(ImportExportErrorServiceImpl.java:24) at com.atlassian.dbexporter.exporter.DataExporter.exportRow(DataExporter.java:164) at com.atlassian.dbexporter.exporter.DataExporter.exportTable(DataExporter.java:92) at com.atlassian.dbexporter.exporter.DataExporter.access$100(DataExporter.java:28) at com.atlassian.dbexporter.exporter.DataExporter$1.call(DataExporter.java:50) at com.atlassian.dbexporter.exporter.DataExporter$1.call(DataExporter.java:45) at com.atlassian.dbexporter.jdbc.JdbcUtils.withConnection(JdbcUtils.java:30) at com.atlassian.dbexporter.exporter.DataExporter.export(DataExporter.java:44) at com.atlassian.dbexporter.DbExporter.exportData(DbExporter.java:53) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.save(ActiveObjectsBackup.java:112) at com.atlassian.jira.bc.dataimport.DefaultExportService.exportActiveObjects(DefaultExportService.java:198) at com.atlassian.jira.bc.dataimport.DefaultExportService.export(DefaultExportService.java:80) at com.atlassian.jira.bc.dataimport.DefaultExportService.export(DefaultExportService.java:59) at com.atlassian.jira.service.services.export.ExportService.performBackup(ExportService.java:145) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:130) 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) 2013-04-10 09:22:54,186 QuartzWorker-0 ERROR ServiceRunner Backup Service [service.services.export.ExportService] An exception while running the export service "Backup Service": There was a problem backing up data for the Tempo Plugin plugin. com.atlassian.core.AtlassianCoreException: There was a problem backing up data for the Tempo Plugin plugin. at com.atlassian.jira.service.services.export.ExportService.performBackup(ExportService.java:148) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:130) 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) 2013-04-10 09:22:54,248 QuartzWorker-0 WARN ServiceRunner Backup Service [service.services.export.ExportService] The corrupted backup file 'C:\Program Files (x86)\Atlassian\Application Data\JIRA\export\2013-Apr-10--0922.zip' was copied to 'C:\Program Files (x86)\Atlassian\Application Data\JIRA\export\corrupted\2013-Apr-10--0922.zip' but could not be deleted. 2013-04-10 09:22:54,248 QuartzWorker-0 ERROR ServiceRunner Backup Service [atlassian.jira.service.ServiceRunner] An error occured while trying to run service 'Backup Service'. null java.lang.NullPointerException at com.atlassian.jira.service.services.export.ExportService.writeFailureReasonFile(ExportService.java:256) at com.atlassian.jira.service.services.export.ExportService.moveBackupAside(ExportService.java:196) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:136) 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) {code}
    via by Ribbles,
  • Hello, Since upgrading to JIRA 3.6 Enterprise (standalone) over the weekend, the e-mail handler that helps create and comment on issues has a problem where it keeps posting the same comments over and over again. From what I see, the user replies to an e-mail to add a comment made in a reported JIRA issue, but it appears that JIRA is not cleaning up the message off from the mail server once it processes. Becaus of this, we keep getting the same message over and over again until I can manually delete it off myself from the mail server. Looking at the log, here's what I see: 2006-05-05 07:22:56,793 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Aborting 2006-05-05 07:22:56,825 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue IQ-3400: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:85) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:55) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.addChangeHistoryItem(AbstractCommentHandler.java:122) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:255) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:100) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2006-05-05 07:22:56,825 WARN [service.util.handler.AbstractCommentHandler] Exception creating comment null java.io.IOException at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:262) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90) at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:100) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) The same block appears over and over again in the log, until I remove the offending message from the mail server. We never had any problems before JIRA 3.6 and I don't see anything special about the e-mail message that causes it to get "stuck" in the mail queue since it was just a comment with no attachments. Any help is appreciated. Nordy Isaac
    via by Nordy Isaac,
  • Attachment creation failure will cause a _NullPointer_ exception when attempting to create a change item for the attachment in the history of the issue. This results in the message handler looping over the mail indefinitely as the processing never completes. The exception generated is as follows: {panel} 2006-04-21 17:24:10,854 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file. Ab orting 2006-04-21 17:24:10,862 ERROR [service.util.handler.AbstractMessageHandler] Exception while creating attachment for issue STAT-212: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.issue.history.ChangeLogUtils.createChangeGroup(ChangeLogUtils.java:85) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:55) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.addChangeHistoryItem(AbstractCommentHandl er.java:122) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageH andler.java:262) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.ja va:216) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessa geHandler.java:195) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java :90) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2006-04-21 17:24:10,864 WARN [service.util.handler.AbstractCommentHandler] Exception creating comment null java.io.IOException at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageH andler.java:269) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.ja va:216) at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessa geHandler.java:195) at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java :90) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) {panel}
    via by Keith Brophy,
    • java.lang.NullPointerException at com.atlassian.jira.service.services.export.ExportService.writeFailureReasonFile(ExportService.java:256) at com.atlassian.jira.service.services.export.ExportService.moveBackupAside(ExportService.java:196) at com.atlassian.jira.service.services.export.ExportService.run(ExportService.java:136) 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.