Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via SpringSource Issue Tracker by annika, 1 year ago
via SpringSource Issue Tracker by annika, 1 year ago
via Oracle Community by 843851, 7 months ago
via Oracle Community by 843798, 1 year ago
via Coderanch by Brian Sterner, 1 year ago
via Google Groups by Gabriel Vince, 2 years ago
java.lang.OutOfMemoryError: Java heap space	at java.util.HashMap.(HashMap.java:187)	at java.util.HashMap.(HashMap.java:199)	at org.eclipse.osgi.internal.resolver.ImportPackageSpecificationImpl.getDirectives(ImportPackageSpecificationImpl.java:27)	at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createImportPackageSpecification(StateObjectFactoryImpl.java:219)	at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:96)	at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createState(StateObjectFactoryImpl.java:315)	at org.eclipse.osgi.internal.baseadaptor.StateManager.getState(StateManager.java:252)	at com.springsource.kernel.osgi.framework.equinox.EquinoxUtils.getDirectDependencies(EquinoxUtils.java:106)	at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.getDependencyBundles(KernelBundleClassLoader.java:347)	at com.springsource.kernel.osgi.framework.equinox.KernelBundleClassLoader.findLocalResource(KernelBundleClassLoader.java:181)	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalResource(BundleLoader.java:741)	at org.eclipse.osgi.internal.loader.BundleLoader.findResource(BundleLoader.java:611)	at org.eclipse.osgi.internal.loader.BundleLoader.findResource(BundleLoader.java:564)	at org.eclipse.osgi.framework.internal.core.BundleHost.getResource(BundleHost.java:273)	at org.springframework.osgi.util.BundleDelegatingClassLoader.findResource(BundleDelegatingClassLoader.java:124)	at org.springframework.osgi.util.BundleDelegatingClassLoader.getResource(BundleDelegatingClassLoader.java:146)	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)	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.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:89)	at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:370)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:316)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:284)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)	at org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:164)