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 Steffen Pingel, 1 year ago
java.lang.IllegalArgumentException: java.io.IOException: invalid header encountered
via SpringSource Issue Tracker by Steffen Pingel, 1 year ago
java.lang.IllegalArgumentException: java.io.IOException: invalid header encountered
via Spring JIRA by yc_mr, 1 year ago
java.lang.IllegalArgumentException: Unable to get trusted keys
via Stack Overflow by tsunade21
, 2 years ago
java.lang.IllegalArgumentException: java.io.IOException: unknown object in stream: 7
via Spring JIRA by yc_mr, 1 year ago
java.lang.IllegalArgumentException: Unable to get trusted keys
java.io.IOException: invalid header encountered	at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)	at org.bouncycastle.openpgp.PGPLiteralData.(Unknown Source)	at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)	at org.bouncycastle.openpgp.PGPPublicKeyRingCollection.(Unknown Source)	at org.springframework.roo.felix.pgp.PgpServiceImpl.getTrustedKeys(PgpServiceImpl.java:132)	at org.springframework.roo.felix.pgp.PgpServiceImpl.trust(PgpServiceImpl.java:160)	at org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeys(PgpServiceImpl.java:103)	at org.springframework.roo.felix.pgp.PgpServiceImpl.trustDefaultKeysIfRequired(PgpServiceImpl.java:87)	at org.springframework.roo.felix.pgp.PgpServiceImpl.activate(PgpServiceImpl.java:80)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:227)	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)	at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:146)	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:226)	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)	at org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:95)	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1148)	at org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:88)	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220)	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)	at org.apache.felix.framework.Felix.getService(Felix.java:2913)	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330)	at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:785)	at org.apache.felix.scr.impl.manager.DependencyManager$1.getInstance(DependencyManager.java:1039)	at org.apache.felix.scr.impl.helper.BindMethod.getParameters(BindMethod.java:564)	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:226)	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:38)	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:591)	at org.apache.felix.scr.impl.helper.BaseMethod$NotResolved.invoke(BaseMethod.java:548)	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:472)	at org.apache.felix.scr.impl.manager.DependencyManager.invokeBindMethod(DependencyManager.java:1028)	at org.apache.felix.scr.impl.manager.DependencyManager.bind(DependencyManager.java:944)	at org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:868)	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:200)	at org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)	at org.apache.felix.scr.impl.manager.DelayedComponentManager.createRealComponent(DelayedComponentManager.java:95)	at org.apache.felix.scr.impl.manager.AbstractComponentManager$Registered.getService(AbstractComponentManager.java:1148)	at org.apache.felix.scr.impl.manager.DelayedComponentManager.getService(DelayedComponentManager.java:88)	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:306)	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:220)	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:322)	at org.apache.felix.framework.Felix.getService(Felix.java:2913)	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:330)	at org.springframework.roo.shell.eclipse.Bootstrap.initShell(Bootstrap.java:575)	at org.springframework.roo.shell.eclipse.Bootstrap.access$2(Bootstrap.java:545)	at org.springframework.roo.shell.eclipse.Bootstrap$RooShellStartupMonitor.run(Bootstrap.java:619)	at java.lang.Thread.run(Thread.java:619)