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 Oracle Community by Saurabh G, 1 year ago
java.lang.reflect.InvocationTargetException
java.lang.OutOfMemoryError: 	at java.io.RandomAccessFile.readBytes(Native Method)	at java.io.RandomAccessFile.read(RandomAccessFile.java:338)	at java.io.RandomAccessFile.readFully(RandomAccessFile.java:397)	at java.io.RandomAccessFile.readFully(RandomAccessFile.java:377)	at oracle.ide.net.JarIndex.buildHashIndex(JarIndex.java:1031)	at oracle.ide.net.JarIndex.runLocked(JarIndex.java:1551)	at oracle.ide.net.JarIndex.run(JarIndex.java:1473)	at oracle.ide.net.JarIndex.openInputStream(JarIndex.java:579)	at oracle.ide.net.JarURLFileSystemHelper.openInputStream(JarURLFileSystemHelper.java:381)	at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1321)	at oracle.ide.net.ZipURLFileSystemHelper.openInputStream(ZipURLFileSystemHelper.java:233)	at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1321)	at sun.reflect.GeneratedMethodAccessor854.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:143)	at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:61)	at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:650)	at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:235)	at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:151)	at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:141)	at oracle.adf.share.config.ADFSettingsImpl.(ADFSettingsImpl.java:72)	at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:90)	at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:67)	at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:898)	at oracle.mds.internal.persistence.file.J2EEUtils.getWebAppRoot(J2EEUtils.java:233)	at oracle.mds.persistence.stores.j2ee.ServletContextMetadataStore.getWebAppMDSRoot(ServletContextMetadataStore.java:124)	at oracle.mds.internal.persistence.file.J2EEUtils.getCacheScope(J2EEUtils.java:170)	at oracle.mds.internal.cache.LookupKey.createBaseLookupKey(LookupKey.java:213)	at oracle.mds.internal.cache.BaseMOKey.(BaseMOKey.java:70)	at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1232)	at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3874)	at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1589)	at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1525)	at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:193)	at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)	at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:240)	at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1822)	at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:667)	at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:748)	at oracle.adf.model.BindingContext.initialize(BindingContext.java:402)	at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:238)	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:203)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)	at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)	at java.security.AccessController.doPrivileged(Native Method)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)