java.lang.StackOverflowError

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.

  • In the console output of a job, suddenly this error appears when emails should be sent. The emails are sent, but the job fails and contains the errormessage shown below. This first occured after installing jenkins 1.501. (The previous version was something like 1.493 or so) The stacktrace repeats itself, suggesting an infinite loop. Sorry, i have no idea which component this error is about. java.lang.StackOverflowError at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.exists(File.java:733) at hudson.model.User.getOrCreate(User.java:341) at hudson.model.User.get(User.java:331) at hudson.model.User.get(User.java:299) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:271) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530) at hudson.model.User.getProjects(User.java:448) at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532) at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530) at hudson.model.User.getProjects(User.java:448) at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:21) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532) at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277)
    via by Nemoo,
  • Hi, I have the following error at the end of the build : [INFO] [17:58:41.251] Executing post-job class org.sonar.plugins.buildbreaker.AlertBreaker [WARN] [17:58:41.252] Rules compliance < 90 [WARN] [17:58:41.252] Coverage < 80 [INFO] [17:58:41.252] Executing post-job class org.sonar.plugins.buildbreaker.ForbiddenConfigurationBreaker [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 12 seconds [INFO] Finished at: Wed Feb 20 17:58:41 CET 2013 [INFO] Final Memory: 60M/495M [INFO] ------------------------------------------------------------------------ Sonar analysis completed: UNSTABLE FATAL: null java.lang.StackOverflowError at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:243) at java.io.File.exists(File.java:750) at hudson.model.User.getOrCreate(User.java:341) at hudson.model.User.get(User.java:331) at hudson.model.User.get(User.java:299) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:271) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530) at hudson.model.User.getProjects(User.java:448) at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532) at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530) at hudson.model.User.getProjects(User.java:448) at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532) at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530) at hudson.model.User.getProjects(User.java:448) at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532) at hudson.plugins.git.GitChangeSet.isMailerPropertySet(GitChangeSet.java:291) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:277) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:325) at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:454) at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1530) at hudson.model.User.getProjects(User.java:448) at hudson.scm.MailAddressResolverImpl.findMailAddressFor(MailAddressResolverImpl.java:19) at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:101) at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:532)
    via by hugo lassiege,
  • This looks like Bug: NEXUS-1390 Wireshark shows me that the specific HTTP request that's barfing on 500 Internal Server Error is this: GET /nexus/content/groups/public/org/codehaus/mojo/rmic-maven-plugin/maven-metadata.xml HTTP/1.1 Also, note that this an evaluation copy of Nexus Professional 1.2.1. The top of the stack trace looks like this: java.lang.StackOverflowError at java.lang.StringCoding$StringEncoder.encode(Unknown Source) at java.lang.StringCoding.encode(Unknown Source) at java.lang.String.getBytes(Unknown Source) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source) at java.io.File.exists(Unknown Source) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getBaseDir(DefaultFSLocalRepositoryStorage.java:101) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.getFileFromBase(DefaultFSLocalRepositoryStorage.java:127) at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:270) at org.sonatype.nexus.proxy.repository.DefaultRepository.doRetrieveItem(DefaultRepository.java:69) at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.doRetrieveItem(AbstractMavenRepository.java:460) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:1050) at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:800) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:172) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:174) at org.sonatype.nexus.proxy.router.AbstractRegistryDrivenRepositoryRouter.doRetrieveItem(AbstractRegistryDrivenRepositoryRouter.java:172) at org.sonatype.nexus.proxy.router.AbstractRepositoryRouter.retrieveItem(AbstractRepositoryRouter.java:174) ... The rest of the stack crawl is attached.
    via by Deleted User,
  • Running the "solr all" command, e.g. as follows: {code}project --topLevelPackage com.roo2924 jpa setup --database HYPERSONIC_IN_MEMORY --provider HIBERNATE entity jpa --class ~.domain.Thing field string --fieldName name solr setup solr all{code} ... causes this error: {code}Exception in thread "Spring Roo JLine Shell" java.lang.StackOverflowError at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447) at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544) at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240) at java.lang.StringCoding.encode(StringCoding.java:272) at java.lang.String.getBytes(String.java:946) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.exists(File.java:733) at org.springframework.roo.process.manager.internal.DefaultFileManager.exists(DefaultFileManager.java:69) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:314) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:150) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:84) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:220) at org.springframework.roo.classpath.scanner.MemberDetailsScannerImpl.getMemberDetails(MemberDetailsScannerImpl.java:139) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.getMemberDetails(AbstractItdMetadataProvider.java:495) at org.springframework.roo.addon.solr.SolrMetadataProvider.getMetadata(SolrMetadataProvider.java:83) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:324) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:150) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:84) at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:220) at org.springframework.roo.classpath.scanner.MemberDetailsScannerImpl.getMemberDetails(MemberDetailsScannerImpl.java:139) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.getMemberDetails(AbstractItdMetadataProvider.java:495) at org.springframework.roo.addon.jpa.entity.JpaEntityMetadataProviderImpl.getMetadata(JpaEntityMetadataProviderImpl.java:191) at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:324) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:150) at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:200){code}
    via by Alan Stewart,
  • Maven build failing
    via Stack Overflow by abhijitbhave
    ,
    • java.lang.StackOverflowError at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242) at java.io.File.exists(File.java:772) at hudson.util.TextFile.exists(TextFile.java:57) at hudson.model.UpdateSite.getData(UpdateSite.java:289) at hudson.model.UpdateSite.getPlugin(UpdateSite.java:349) at hudson.model.UpdateCenter.getPlugin(UpdateCenter.java:611) at hudson.model.UpdateSite$Plugin.getNeededDependencies(UpdateSite.java:733) at hudson.model.UpdateSite$Plugin.isNeededDependenciesForNewerJenkins(UpdateSite.java:800) at hudson.model.UpdateSite$Plugin.isNeededDependenciesForNewerJenkins(UpdateSite.java:801) at hudson.model.UpdateSite$Plugin.isNeededDependenciesForNewerJenkins(UpdateSite.java:801) at hudson.model.UpdateSite$Plugin.isNeededDependenciesForNewerJenkins(UpdateSite.java:801)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    musketyr
    musketyr6 times, last one,
    Unknown visitor1 times, last one,