I recently updated from Karaf 2.2.3 to Karaf 2.2.4. I ususally use the features-maven-plugin from the current Karaf version. I therefore started to use version 2.2.4 of the features-maven-plugin. However, I get stack overflow using that version which has forced me to revert back to version 2.2.3. I still use version 2.2.4 of Karaf though.
Anyone else seen this? It is clearly a recursive problem. I get the following stack trace from my build: *Exception in thread "main" java.lang.StackOverflowError* * at sun.misc.JarIndex.get(JarIndex.java:154)* * at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:787)* * at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:765)* * at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:735)* * at sun.misc.URLClassPath.findResource(URLClassPath.java:146)* * at java.net.URLClassLoader$2.run(URLClassLoader.java:385)* * at java.security.AccessController.doPrivileged(Native Method)* * at java.net.URLClassLoader.findResource(URLClassLoader.java:382)* * at org.codehaus.plexus.classworlds.realm.ClassRealm.loadResourceFromSelf(ClassRealm.java:434) * * at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.getResource(SelfFirstStrategy.java:64) * * at org.codehaus.plexus.classworlds.realm.ClassRealm.findResource(ClassRealm.java:268) * * at java.lang.ClassLoader.getResource(ClassLoader.java:1002)* * at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1192)* * at javax.xml.parsers.SecuritySupport$4.run(SecuritySupport.java:96)* * at java.security.AccessController.doPrivileged(Native Method)* * at javax.xml.parsers.SecuritySupport.getResourceAsStream(SecuritySupport.java:89) * * at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:250) * * at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:223)* * at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123) * * at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo$Repository.loadFeatures(AddFeaturesToRepoMojo.java:422) * * at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo$Repository.getFeatures(AddFeaturesToRepoMojo.java:386) * * at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.retrieveDescriptorsRecursively(AddFeaturesToRepoMojo.java:228) * * at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.retrieveDescriptorsRecursively(AddFeaturesToRepoMojo.java:233) * * at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.retrieveDescriptorsRecursively(AddFeaturesToRepoMojo.java:233) * * at org.apache.karaf.tooling.features.AddFeaturesToRepoMojo.retrieveDescriptorsRecursively(AddFeaturesToRepoMojo.java:233) * *....* /Bengt
