java.lang.reflect.InvocationTargetException

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.

  • When trying to startup fisheye 2.1 it crashes with an out of memory error unless you adjust the max heap size in FISHEYE_OPTS: {noformat}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:585) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.OutOfMemoryError: Java heap space at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95) at com.atlassian.modzdetector.IOUtils.copyLarge(IOUtils.java:53) at com.atlassian.modzdetector.IOUtils.copy(IOUtils.java:37) at com.atlassian.modzdetector.IOUtils.toByteArray(IOUtils.java:31) at com.atlassian.modzdetector.MD5HashAlgorithm.getHash(MD5HashAlgorithm.java:17) at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:153) at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:201) at com.atlassian.modzdetector.ModzDetector.checkRegistry(ModzDetector.java:77) at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:53) at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:36) at com.cenqua.fisheye.support.ModzDetectorCache.getModifications(ModzDetectorCache.java:49) at com.cenqua.fisheye.ctl.Run.printSystemInfo(Run.java:421) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:285) at com.cenqua.fisheye.ctl.Run.main(Run.java:71){noformat} Related issue is [MODZ-2|https://studio.atlassian.com/browse/MODZ-2] which was fixed in Modz Detector 0.8 so we should upgrade from 0.6.
    via by Andrew Myers [Atlassian],
  • When trying to startup fisheye 2.1 it crashes with an out of memory error unless you adjust the max heap size in FISHEYE_OPTS: {noformat}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:585) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.OutOfMemoryError: Java heap space at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95) at com.atlassian.modzdetector.IOUtils.copyLarge(IOUtils.java:53) at com.atlassian.modzdetector.IOUtils.copy(IOUtils.java:37) at com.atlassian.modzdetector.IOUtils.toByteArray(IOUtils.java:31) at com.atlassian.modzdetector.MD5HashAlgorithm.getHash(MD5HashAlgorithm.java:17) at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:153) at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:201) at com.atlassian.modzdetector.ModzDetector.checkRegistry(ModzDetector.java:77) at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:53) at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:36) at com.cenqua.fisheye.support.ModzDetectorCache.getModifications(ModzDetectorCache.java:49) at com.cenqua.fisheye.ctl.Run.printSystemInfo(Run.java:421) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:285) at com.cenqua.fisheye.ctl.Run.main(Run.java:71){noformat} Related issue is [MODZ-2|https://studio.atlassian.com/browse/MODZ-2] which was fixed in Modz Detector 0.8 so we should upgrade from 0.6.
    via by Andrew Myers [Atlassian],
  • Re: Japanese PDF rendering
    via by Heather Phipps,
  • If there is a large (e.g. 1GB) binary file in the Subversion repository and the 'raw' link is clicked to download it, FishEye may run out of heap space. In the browser, a 500 error is given with the following text: {panel} Additionally, an error occured trying to render this page. java.lang.IllegalStateException: Context not available, filter already exited {panel} In the logs: {panel}java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid26274.hprof ... Heap dump file created [307441037 bytes in 2.875 secs] ERROR - Error for /source/browse/~raw,r=2375/PROJ/branches/dist/example_big_file.exe java.lang.OutOfMemoryError: Java heap space at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95) at org.tmatesoft.svn.core.internal.wc.SVNCancellableOutputStream.write(SVNCancellableOutputStream.java:44) at org.tmatesoft.svn.core.internal.io.fs.FSRepositoryUtil.copy(FSRepositoryUtil.java:111) at org.tmatesoft.svn.core.internal.io.fs.FSRepository.getFile(FSRepository.java:222) at org.tmatesoft.svn.core.wc.SVNWCClient.doGetFileContents(SVNWCClient.java:443) at org.tmatesoft.svn.core.javahl.SVNClientImpl.fileContent(SVNClientImpl.java:1392) at org.tigris.subversion.javahl.SVNClient.fileContent(SVNClient.java:295) at com.cenqua.fisheye.svn.SvnThrottledClient.fileContent(SvnThrottledClient.java:208) at com.cenqua.fisheye.svn.SvnCache.getBinaryRevision(SvnCache.java:366) at com.cenqua.fisheye.web.ViewFileAction.doRawRequest(ViewFileAction.java:535) at com.cenqua.fisheye.web.ViewFileAction.handleRequest(ViewFileAction.java:104) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:149) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:240) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:140) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:192) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.studio.fisheye.web.SeraphRememberMeFilter.doFilter(SeraphRememberMeFilter.java:99) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.ProductInfoFilter.doFilter(ProductInfoFilter.java:32) {panel}
    via by Mike Knight,
  • If there is a large (e.g. 1GB) binary file in the Subversion repository and the 'raw' link is clicked to download it, FishEye may run out of heap space. In the browser, a 500 error is given with the following text: {panel} Additionally, an error occured trying to render this page. java.lang.IllegalStateException: Context not available, filter already exited {panel} In the logs: {panel}java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid26274.hprof ... Heap dump file created [307441037 bytes in 2.875 secs] ERROR - Error for /source/browse/~raw,r=2375/PROJ/branches/dist/example_big_file.exe java.lang.OutOfMemoryError: Java heap space at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95) at org.tmatesoft.svn.core.internal.wc.SVNCancellableOutputStream.write(SVNCancellableOutputStream.java:44) at org.tmatesoft.svn.core.internal.io.fs.FSRepositoryUtil.copy(FSRepositoryUtil.java:111) at org.tmatesoft.svn.core.internal.io.fs.FSRepository.getFile(FSRepository.java:222) at org.tmatesoft.svn.core.wc.SVNWCClient.doGetFileContents(SVNWCClient.java:443) at org.tmatesoft.svn.core.javahl.SVNClientImpl.fileContent(SVNClientImpl.java:1392) at org.tigris.subversion.javahl.SVNClient.fileContent(SVNClient.java:295) at com.cenqua.fisheye.svn.SvnThrottledClient.fileContent(SvnThrottledClient.java:208) at com.cenqua.fisheye.svn.SvnCache.getBinaryRevision(SvnCache.java:366) at com.cenqua.fisheye.web.ViewFileAction.doRawRequest(ViewFileAction.java:535) at com.cenqua.fisheye.web.ViewFileAction.handleRequest(ViewFileAction.java:104) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:149) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:240) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:140) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:192) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.studio.fisheye.web.SeraphRememberMeFilter.doFilter(SeraphRememberMeFilter.java:99) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.ProductInfoFilter.doFilter(ProductInfoFilter.java:32) {panel}
    via by Mike Knight,
  • Re: Japanese PDF rendering
    via by Heather Phipps,
  • exception OutOfMemoryError POP3
    via by 843834,
  • Android Studio Upgrade Issue 2.2.3
    via Stack Overflow by Spindoctor
    ,
    • 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:585) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:106) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39) Caused by: java.lang.OutOfMemoryError: Java heap space at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95) at com.atlassian.modzdetector.IOUtils.copyLarge(IOUtils.java:53) at com.atlassian.modzdetector.IOUtils.copy(IOUtils.java:37) at com.atlassian.modzdetector.IOUtils.toByteArray(IOUtils.java:31) at com.atlassian.modzdetector.MD5HashAlgorithm.getHash(MD5HashAlgorithm.java:17) at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:153) at com.atlassian.modzdetector.ModzDetector.checkResource(ModzDetector.java:201) at com.atlassian.modzdetector.ModzDetector.checkRegistry(ModzDetector.java:77) at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:53) at com.atlassian.modzdetector.ModzDetector.getModifiedFiles(ModzDetector.java:36) at com.cenqua.fisheye.support.ModzDetectorCache.getModifications(ModzDetectorCache.java:49) at com.cenqua.fisheye.ctl.Run.printSystemInfo(Run.java:421) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:285)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    3 more bugmates