java.lang.StackOverflowError

Apache's JIRA Issue Tracker | Mike Yoder | 2 years ago
  1. 0

    I was attempting to use the LdapGroupsMapping code and the JavaKeyStoreProvider at the same time, and hit a really interesting, yet fatal, issue. The code goes into what ought to have been an infinite loop, were it not for it overflowing the stack and Java ending the loop. Here is a snippet of the stack; my annotations are at the bottom. {noformat} at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:88) at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:65) at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:291) at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58) at org.apache.hadoop.conf.Configuration.getPasswordFromCredentialProviders(Configuration.java:1863) at org.apache.hadoop.conf.Configuration.getPassword(Configuration.java:1843) at org.apache.hadoop.security.LdapGroupsMapping.getPassword(LdapGroupsMapping.java:386) at org.apache.hadoop.security.LdapGroupsMapping.setConf(LdapGroupsMapping.java:349) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:73) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133) at org.apache.hadoop.security.Groups.<init>(Groups.java:70) at org.apache.hadoop.security.Groups.<init>(Groups.java:66) at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:283) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:260) at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:804) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:774) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:647) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2753) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2745) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2611) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:88) at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:65) at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:291) at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58) at org.apache.hadoop.conf.Configuration.getPasswordFromCredentialProviders(Configuration.java:1863) at org.apache.hadoop.conf.Configuration.getPassword(Configuration.java:1843) at org.apache.hadoop.security.LdapGroupsMapping.getPassword(LdapGroupsMapping.java:386) at org.apache.hadoop.security.LdapGroupsMapping.setConf(LdapGroupsMapping.java:349) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:73) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133) at org.apache.hadoop.security.Groups.<init>(Groups.java:70) at org.apache.hadoop.security.Groups.<init>(Groups.java:66) at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:280) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:283) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:260) at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:804) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:774) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:647) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2753) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2745) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2611) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296){noformat} Here's my annotation, going from bottom to top. * Somehow we enter Path.getFileSystem() * This goes to FileSystem cache stuff, and then it wants the current user * So we get to UserGroupInformation.getCurrentUser(), which as you can imagine gets to * getUserToGroupsMappingService and thence to LdapGroupsMapping.setConf(). * That code gets the needed passwords, and we're using the CredentialProvider, so unsurprisingly we get to * getPasswordFromCredentialProviders() - which chooses the JavaKeyStoreProvider like I told it to. * The JavaKeyStoreProvider, in its constructor, does "fs = path.getFileSystem(conf);" * And guess what, we're back in Path.getFileSystem, where we started at the beginning. Please let me know if I've somehow configured something incorrectly, but if I have I can't figure out what it is...

    Apache's JIRA Issue Tracker | 2 years ago | Mike Yoder
    java.lang.StackOverflowError
  2. 0

    follwing code will cause infinite loop: ConfigurationFactoryBean cfactory = new ConfigurationFactoryBean(); cfactory.setRegisterUrlHandler(true); cfactory.afterPropertiesSet(); System.out.println("cfactory configured"); cfactory.getObject(); System.out.println("configuration retrieved from cfactory"); FileSystem fs = FileSystem.newInstance(cfactory.getObject()); System.out.println("filesystem instance created"); here is output: 12/07/10 10:42:55 INFO configuration.ConfigurationFactoryBean: Registered HDFS URL stream handler cfactory configured configuration retrieved from cfactory Exception in thread "main" java.lang.StackOverflowError at java.lang.String.startsWith(String.java:1462) at sun.misc.MetaIndex.mayContain(MetaIndex.java:243) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:761) at sun.misc.URLClassPath.getResource(URLClassPath.java:185) at sun.misc.URLClassPath.getResource(URLClassPath.java:237) at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113) at java.lang.ClassLoader.getResource(ClassLoader.java:974) at java.lang.ClassLoader.getResource(ClassLoader.java:972) at java.lang.ClassLoader.getResource(ClassLoader.java:972) at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159) at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:94) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:87) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:248) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:221) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1522) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249 --- etc --

    Spring JIRA | 4 years ago | Radim Kolar
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    follwing code will cause infinite loop: ConfigurationFactoryBean cfactory = new ConfigurationFactoryBean(); cfactory.setRegisterUrlHandler(true); cfactory.afterPropertiesSet(); System.out.println("cfactory configured"); cfactory.getObject(); System.out.println("configuration retrieved from cfactory"); FileSystem fs = FileSystem.newInstance(cfactory.getObject()); System.out.println("filesystem instance created"); here is output: 12/07/10 10:42:55 INFO configuration.ConfigurationFactoryBean: Registered HDFS URL stream handler cfactory configured configuration retrieved from cfactory Exception in thread "main" java.lang.StackOverflowError at java.lang.String.startsWith(String.java:1462) at sun.misc.MetaIndex.mayContain(MetaIndex.java:243) at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:761) at sun.misc.URLClassPath.getResource(URLClassPath.java:185) at sun.misc.URLClassPath.getResource(URLClassPath.java:237) at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113) at java.lang.ClassLoader.getResource(ClassLoader.java:974) at java.lang.ClassLoader.getResource(ClassLoader.java:972) at java.lang.ClassLoader.getResource(ClassLoader.java:972) at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159) at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:94) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:87) at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:248) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:221) at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1522) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2241) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2103) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:284) at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:49) at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:60) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1555) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1506) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1452) at org.apache.hadoop.conf.Configuration.get(Configuration.java:581) at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:240) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:223) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:214) at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:275) at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:497) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:480) at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2249 --- etc --

    Spring JIRA | 4 years ago | Radim Kolar
    java.lang.StackOverflowError
  5. 0

    [jira] [Commented] (AXIS2-1083) WSDL2Java: SchemaLocation and circular imports / StackOverflowError

    axis-java-dev | 2 years ago | nadir amra (JIRA)
    java.lang.StackOverflowError

    1 unregistered visitors
    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.StackOverflowError

      No message provided

      at java.lang.String.indexOf()
    2. Java RT
      DocumentBuilderFactory.newInstance
      1. java.lang.String.indexOf(String.java:1698)
      2. java.net.URLStreamHandler.parseURL(URLStreamHandler.java:272)
      3. sun.net.www.protocol.file.Handler.parseURL(Handler.java:67)
      4. java.net.URL.<init>(URL.java:614)
      5. java.net.URL.<init>(URL.java:482)
      6. sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1057)
      7. sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:1047)
      8. sun.misc.URLClassPath.findResource(URLClassPath.java:176)
      9. java.net.URLClassLoader$2.run(URLClassLoader.java:551)
      10. java.net.URLClassLoader$2.run(URLClassLoader.java:549)
      11. java.security.AccessController.doPrivileged(Native Method)
      12. java.net.URLClassLoader.findResource(URLClassLoader.java:548)
      13. java.lang.ClassLoader.getResource(ClassLoader.java:1147)
      14. java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:227)
      15. javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:94)
      16. java.security.AccessController.doPrivileged(Native Method)
      17. javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:87)
      18. javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:283)
      19. javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:255)
      20. javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)
      20 frames
    3. Hadoop
      Path.getFileSystem
      1. org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2425)
      2. org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2402)
      3. org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2319)
      4. org.apache.hadoop.conf.Configuration.get(Configuration.java:1146)
      5. org.apache.hadoop.security.SecurityUtil.getAuthenticationMethod(SecurityUtil.java:605)
      6. org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:272)
      7. org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:260)
      8. org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:804)
      9. org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:774)
      10. org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:647)
      11. org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2753)
      12. org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:2745)
      13. org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2611)
      14. org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370)
      15. org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
      15 frames
    4. org.apache.hadoop
      JavaKeyStoreProvider.<init>
      1. org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:88)
      1 frame