java.lang.NullPointerException

Atlassian JIRA | Abdullahi Abduljabar [Atlassian] | 5 years ago
  1. 0

    The steps to replicate the error : 1. Export Back-up data from the production JIRA 4.4.3 and GreenHopper 5.7.4 2. Import the data into Test instance with JIRA 4.4.3 and GreenHopper 5.7.4 then we run into the error below : {noformat} 2011-12-05 14:31:05,258 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 90% complete... 2011-12-05 14:31:21,148 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Finished storing Generic Values. 2011-12-05 14:31:22,679 JiraImportTaskExecutionThread-1 ERROR superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.activeobjects.backup.ActiveObjectsForeignKeyCreator.create(ActiveObjectsForeignKeyCreator.java:51) at com.atlassian.activeobjects.backup.ForeignKeyAroundImporter.after(ForeignKeyAroundImporter.java:29) at com.atlassian.dbexporter.importer.AbstractImporter.importNode(AbstractImporter.java:53) at com.atlassian.dbexporter.DbImporter.importData(DbImporter.java:73) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.restore(ActiveObjectsBackup.java:155) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreActiveObjects(DefaultDataImportService.java:347) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:479) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:209) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:147) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2011-12-05 14:31:22,679 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete... 2011-12-05 14:31:22,679 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished. {noformat} *Note* : Test instance its connected to fresh database. JIRA used its 4.4.3 JIRA Standalone version. ||Workaround for this case || * Create SQL dump. * Restore it in new database. * Connected it to JIRA 4.4.3

    Atlassian JIRA | 5 years ago | Abdullahi Abduljabar [Atlassian]
    java.lang.NullPointerException
  2. 0

    The steps to replicate the error : 1. Export Back-up data from the production JIRA 4.4.3 and GreenHopper 5.7.4 2. Import the data into Test instance with JIRA 4.4.3 and GreenHopper 5.7.4 then we run into the error below : {noformat} 2011-12-05 14:31:05,258 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 90% complete... 2011-12-05 14:31:21,148 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Finished storing Generic Values. 2011-12-05 14:31:22,679 JiraImportTaskExecutionThread-1 ERROR superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.activeobjects.backup.ActiveObjectsForeignKeyCreator.create(ActiveObjectsForeignKeyCreator.java:51) at com.atlassian.activeobjects.backup.ForeignKeyAroundImporter.after(ForeignKeyAroundImporter.java:29) at com.atlassian.dbexporter.importer.AbstractImporter.importNode(AbstractImporter.java:53) at com.atlassian.dbexporter.DbImporter.importData(DbImporter.java:73) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.restore(ActiveObjectsBackup.java:155) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreActiveObjects(DefaultDataImportService.java:347) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:479) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:209) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:147) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2011-12-05 14:31:22,679 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete... 2011-12-05 14:31:22,679 JiraImportTaskExecutionThread-1 INFO superadmin 848x1092x2 b654b 10.62.65.6 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished. {noformat} *Note* : Test instance its connected to fresh database. JIRA used its 4.4.3 JIRA Standalone version. ||Workaround for this case || * Create SQL dump. * Restore it in new database. * Connected it to JIRA 4.4.3

    Atlassian JIRA | 5 years ago | Abdullahi Abduljabar [Atlassian]
    java.lang.NullPointerException
  3. 0

    Importing zipped backup data from prod to test jira instance fails with following exception: Error importing data: java.lang.NullPointerException Both instances are of version v4.4.5#66. error log from 2012-04-23 02:47:11,851 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 89% complete... 2012-04-23 02:47:14,679 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 90% complete... 2012-04-23 02:47:20,242 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Finished storing Generic Values. 2012-04-23 02:47:20,914 JiraImportTaskExecutionThread-1 ERROR anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.activeobjects.backup.ActiveObjectsForeignKeyCreator.create(ActiveObjectsForeignKeyCreator.java:55) at com.atlassian.activeobjects.backup.ForeignKeyAroundImporter.after(ForeignKeyAroundImporter.java:29) at com.atlassian.dbexporter.importer.AbstractImporter.importNode(AbstractImporter.java:53) at com.atlassian.dbexporter.DbImporter.importData(DbImporter.java:73) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.restore(ActiveObjectsBackup.java:158) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreActiveObjects(DefaultDataImportService.java:351) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:492) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:214) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:147) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2012-04-23 02:47:20,914 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete... 2012-04-23 02:47:20,914 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished.

    Atlassian JIRA | 5 years ago | faknine
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Importing zipped backup data from prod to test jira instance fails with following exception: Error importing data: java.lang.NullPointerException Both instances are of version v4.4.5#66. error log from 2012-04-23 02:47:11,851 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 89% complete... 2012-04-23 02:47:14,679 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 90% complete... 2012-04-23 02:47:20,242 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Finished storing Generic Values. 2012-04-23 02:47:20,914 JiraImportTaskExecutionThread-1 ERROR anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Error importing data: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.activeobjects.backup.ActiveObjectsForeignKeyCreator.create(ActiveObjectsForeignKeyCreator.java:55) at com.atlassian.activeobjects.backup.ForeignKeyAroundImporter.after(ForeignKeyAroundImporter.java:29) at com.atlassian.dbexporter.importer.AbstractImporter.importNode(AbstractImporter.java:53) at com.atlassian.dbexporter.DbImporter.importData(DbImporter.java:73) at com.atlassian.activeobjects.backup.ActiveObjectsBackup.restore(ActiveObjectsBackup.java:158) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreActiveObjects(DefaultDataImportService.java:351) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:492) at com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:214) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65) at com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28) at com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:147) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61) at com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2012-04-23 02:47:20,914 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 100% complete... 2012-04-23 02:47:20,914 JiraImportTaskExecutionThread-1 INFO anonymous 163x36x1 kglmiu 10.3.16.242 /secure/SetupImport.jspa [jira.bc.dataimport.DefaultDataImportService] JIRA Data Import has finished.

    Atlassian JIRA | 5 years ago | faknine
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    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.lang.NullPointerException

      No message provided

      at com.atlassian.activeobjects.backup.ActiveObjectsForeignKeyCreator.create()
    2. com.atlassian.activeobjects
      ForeignKeyAroundImporter.after
      1. com.atlassian.activeobjects.backup.ActiveObjectsForeignKeyCreator.create(ActiveObjectsForeignKeyCreator.java:51)
      2. com.atlassian.activeobjects.backup.ForeignKeyAroundImporter.after(ForeignKeyAroundImporter.java:29)
      2 frames
    3. com.atlassian.dbexporter
      DbImporter.importData
      1. com.atlassian.dbexporter.importer.AbstractImporter.importNode(AbstractImporter.java:53)
      2. com.atlassian.dbexporter.DbImporter.importData(DbImporter.java:73)
      2 frames
    4. com.atlassian.activeobjects
      ActiveObjectsBackup.restore
      1. com.atlassian.activeobjects.backup.ActiveObjectsBackup.restore(ActiveObjectsBackup.java:155)
      1 frame
    5. com.atlassian.jira
      ImportTaskManagerImpl$TaskCallableDecorator.call
      1. com.atlassian.jira.bc.dataimport.DefaultDataImportService.restoreActiveObjects(DefaultDataImportService.java:347)
      2. com.atlassian.jira.bc.dataimport.DefaultDataImportService.performImport(DefaultDataImportService.java:479)
      3. com.atlassian.jira.bc.dataimport.DefaultDataImportService.doImport(DefaultDataImportService.java:209)
      4. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:65)
      5. com.atlassian.jira.web.action.setup.DataImportAsyncCommand.call(DataImportAsyncCommand.java:28)
      6. com.atlassian.jira.task.ImportTaskManagerImpl$TaskCallableDecorator.call(ImportTaskManagerImpl.java:147)
      6 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      4. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      5. java.util.concurrent.FutureTask.run(Unknown Source)
      5 frames
    7. com.atlassian.multitenant
      MultiTenantExecutors$WrappedRunnable.run
      1. com.atlassian.multitenant.impl.DefaultMultiTenantManager.runForTenant(DefaultMultiTenantManager.java:61)
      2. com.atlassian.multitenant.juc.MultiTenantExecutors$WrappedRunnable.run(MultiTenantExecutors.java:160)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames