java.lang.reflect.InvocationTargetException

Atlassian JIRA | Dylan Hansen [Atlassian] | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If you create a backup with the "repository and application caches" flag set, it's unable to be restored on a new instance. The following error is thrown during the restore process: {noformat} ... Extracting cache/var/cache/FECRUPlugin/hgfelog/hgFeGenTestData.py (4K)... Extracting cache/var/cache/FECRUPlugin/hgfelog/hgfelog_currentRepoTest.py (635B)... Replacing existing cache for deleteme.txt... ERROR: problem running command 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 com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.NullPointerException at com.cenqua.fisheye.util.FileUtils.deleteTree(FileUtils.java:30) at com.atlassian.crucible.migration.item.FishEyeCacheBackup$1.restore(FishEyeCacheBackup.java:150) at com.cenqua.fisheye.ctl.Restore.run(Restore.java:157) at com.cenqua.fisheye.ctl.Restore.main(Restore.java:212) ... 6 more {noformat} To reproduce: # Create a backup with the "repository and application caches" flag set. # Try to restore the backup in a new instance: {noformat}./fisheyectl.sh restore -f /usr/local/fecru/fecru-2.3.6/backup/backup_2010-08-10_1329.zip -t built-in{noformat}

    Atlassian JIRA | 6 years ago | Dylan Hansen [Atlassian]
    java.lang.reflect.InvocationTargetException
  2. 0

    If you create a backup with the "repository and application caches" flag set, it's unable to be restored on a new instance. The following error is thrown during the restore process: {noformat} ... Extracting cache/var/cache/FECRUPlugin/hgfelog/hgFeGenTestData.py (4K)... Extracting cache/var/cache/FECRUPlugin/hgfelog/hgfelog_currentRepoTest.py (635B)... Replacing existing cache for deleteme.txt... ERROR: problem running command 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 com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.NullPointerException at com.cenqua.fisheye.util.FileUtils.deleteTree(FileUtils.java:30) at com.atlassian.crucible.migration.item.FishEyeCacheBackup$1.restore(FishEyeCacheBackup.java:150) at com.cenqua.fisheye.ctl.Restore.run(Restore.java:157) at com.cenqua.fisheye.ctl.Restore.main(Restore.java:212) ... 6 more {noformat} To reproduce: # Create a backup with the "repository and application caches" flag set. # Try to restore the backup in a new instance: {noformat}./fisheyectl.sh restore -f /usr/local/fecru/fecru-2.3.6/backup/backup_2010-08-10_1329.zip -t built-in{noformat}

    Atlassian JIRA | 6 years ago | Dylan Hansen [Atlassian]
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.cenqua.fisheye.util.FileUtils.deleteTree()
    2. com.cenqua.fisheye
      FileUtils.deleteTree
      1. com.cenqua.fisheye.util.FileUtils.deleteTree(FileUtils.java:30)
      1 frame
    3. com.atlassian.crucible
      FishEyeCacheBackup$1.restore
      1. com.atlassian.crucible.migration.item.FishEyeCacheBackup$1.restore(FishEyeCacheBackup.java:150)
      1 frame
    4. com.cenqua.fisheye
      Restore.main
      1. com.cenqua.fisheye.ctl.Restore.run(Restore.java:157)
      2. com.cenqua.fisheye.ctl.Restore.main(Restore.java:212)
      2 frames
    5. 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
    6. com.cenqua.fisheye
      FishEyeCtl.main
      1. com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106)
      2. com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39)
      2 frames