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 aries-dev by Michael Dufel (JIRA), 1 year ago
org.apache.aries.application.modelling.ModellerException: org.apache.aries.application.modelling.ModellerException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1	at java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:762)	at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:258)	at org.apache.aries.application.modelling.impl.ExportedServiceImpl.(ExportedServiceImpl.java:87)	at org.apache.aries.application.modelling.impl.ModellingManagerImpl.getExportedService(ModellingManagerImpl.java:60)	at org.apache.aries.application.modelling.impl.AbstractParserProxy.parseCDRForServices(AbstractParserProxy.java:181)	at org.apache.aries.application.modelling.impl.AbstractParserProxy.parseAllServiceElements(AbstractParserProxy.java:108)	at org.apache.aries.application.modelling.impl.ModelledResourceManagerImpl.getBlueprintServiceElements(ModelledResourceManagerImpl.java:140)	at org.apache.aries.application.modelling.impl.ModelledResourceManagerImpl.getServiceElements(ModelledResourceManagerImpl.java:117)	at org.apache.aries.application.modelling.impl.ModelledResourceManagerImpl.getModelledResource(ModelledResourceManagerImpl.java:184)	at org.apache.aries.application.modelling.impl.ModelledResourceManagerImpl.getModelledResource(ModelledResourceManagerImpl.java:159)	at Proxyacd811b3_de31_4c94_b271_de145e8aa84f.getModelledResource(Unknown Source)	at org.apache.aries.subsystem.core.internal.BundleRevisionResource.computeModelledResource(BundleRevisionResource.java:80)	at org.apache.aries.subsystem.core.internal.BundleRevisionResource.getModelledResource(BundleRevisionResource.java:137)	at org.apache.aries.subsystem.core.internal.BundleRevisionResource.computeServiceCapabilities(BundleRevisionResource.java:88)	at org.apache.aries.subsystem.core.internal.BundleRevisionResource.getCapabilities(BundleRevisionResource.java:56)	at org.apache.aries.subsystem.core.internal.BundleResourceInstaller$BundleConstituent.getCapabilities(BundleResourceInstaller.java:74)	at org.apache.aries.subsystem.core.internal.SystemRepository.findProviders(SystemRepository.java:59)	at org.apache.aries.subsystem.core.internal.SystemRepository.findProviders(SystemRepository.java:44)	at org.apache.aries.subsystem.core.internal.SystemRepository.findProviders(SystemRepository.java:38)	at org.apache.aries.subsystem.core.internal.SubsystemResource.addDependencies(SubsystemResource.java:278)	at org.apache.aries.subsystem.core.internal.SubsystemResource.addDependenciesFromSystemRepository(SubsystemResource.java:309)	at org.apache.aries.subsystem.core.internal.SubsystemResource.access$400(SubsystemResource.java:75)	at org.apache.aries.subsystem.core.internal.SubsystemResource$2.findProviders(SubsystemResource.java:504)	at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:265)	at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:148)	at org.apache.aries.subsystem.core.internal.SubsystemResource.computeDependencies(SubsystemResource.java:410)	at org.apache.aries.subsystem.core.internal.SubsystemResource.computeDependencies(SubsystemResource.java:393)	at org.apache.aries.subsystem.core.internal.SubsystemResource.(SubsystemResource.java:101)	at org.apache.aries.subsystem.core.internal.SubsystemResource.(SubsystemResource.java:92)	at org.apache.aries.subsystem.core.internal.InstallAction.createSubsystemResource(InstallAction.java:128)	at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:62)	at org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:31)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:560)	at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:252)	at org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:58)	at org.coderthoughts.subsystems.gogo.Activator.install(Activator.java:29)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)	at org.coderthoughts.subsystems.gogo.$Activator790720175.install(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:497)	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:198)	at java.lang.Thread.run(Thread.java:722)	at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:118)	at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3$1.run(ConsoleFactoryService.java:109)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)	at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.run(ConsoleFactoryService.java:107)