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

Samebug tips

  1. ,

    You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

  2. ,

    Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

Solutions on the web

via Sonatype JIRA by Peter Lynch, 1 year ago
Invalid Magic Mime Entry: [>>&1 string webm video/webm]
via https://bugzilla.redhat.com/bugzilla/ by Dominik Pospisil, 2 years ago
Invalid Magic Mime Entry: [>>&1 string webm video/webm]: file "/usr/share/file/magic.mime": before or at line 22: eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm]
via Sonatype JIRA by Rich Seddon, 1 year ago
Invalid Magic Mime Entry: [>>&1 string webm video/webm]
via Google Groups by Pravin, 2 years ago
Invalid Magic Mime Entry: [>>&1 string webm video/webm]
eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm] at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:84)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:91)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:91)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:67)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.addEntry(MagicMimeMimeDetector.java:537)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.parse(MagicMimeMimeDetector.java:517)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.parseMagicMimeFileLocation(MagicMimeMimeDetector.java:413)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.initMagicRules(MagicMimeMimeDetector.java:377)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.<init>(MagicMimeMimeDetector.java:157)[mime-util-2.1.2.jar:na] at org.sonatype.nexus.mime.detectors.NexusMagicMimeMimeDetector.<init>(NexusMagicMimeMimeDetector.java:23)[nexus-core-2.6.4-02.jar:2.6.4-02] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_45] at java.lang.Class.newInstance(Class.java:374)[na:1.7.0_45] at eu.medsea.mimeutil.MimeDetectorRegistry.registerMimeDetector(MimeUtil2.java:950)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.MimeUtil2.registerMimeDetector(MimeUtil2.java:204)[mime-util-2.1.2.jar:na] at org.sonatype.nexus.mime.DefaultMimeSupport.<init>(DefaultMimeSupport.java:140)[nexus-core-2.6.4-02.jar:2.6.4-02] at org.sonatype.nexus.mime.DefaultMimeSupport$$FastClassByGuice$$3e50030a.newInstance(<generated>)[sisu-guice-3.1.4.jar:2.6.4-02] at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)[sisu-guice-3.1.4.jar:3.1.4] at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44)[sisu-inject-bean-2.3.4.jar:na] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4] at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82)[sisu-inject-bean-2.3.4.jar:na] at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:52)[sisu-inject-plexus-2.3.4.jar:na] at org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:253)[sisu-inject-plexus-2.3.4.jar:na] at org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)[sisu-inject-plexus-2.3.4.jar:na] at org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:52)[sisu-inject-bean-2.3.4.jar:na] at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)[sisu-guice-3.1.4.jar:3.1.4] at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44)[sisu-inject-bean-2.3.4.jar:na] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4] at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:134)[sisu-inject-plexus-2.3.4.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)[sisu-guice-3.1.4.jar:3.1.4] at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4] at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82)[sisu-inject-bean-2.3.4.jar:na] at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:52)[sisu-inject-plexus-2.3.4.jar:na] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:259)[sisu-inject-plexus-2.3.4.jar:na] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251)[sisu-inject-plexus-2.3.4.jar:na] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)[sisu-inject-plexus-2.3.4.jar:na] at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:41)[nexus-web-utils-2.6.4-02.jar:2.6.4-02] at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.doStart(Server.java:282)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:152)[nexus-jetty8-2.6.4-02.jar:2.6.4-02]Caused by: eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [MimeMagicType: 0, 0, null, null, null] at eu.medsea.mimeutil.detector.MagicMimeEntry.addEntry(MagicMimeEntry.java:166)[mime-util-2.1.2.jar:na] at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:82)[mime-util-2.1.2.jar:na] ... 122 moreCaused by: java.lang.NumberFormatException: For input string: "&1" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[na:1.7.0_45] at java.lang.Integer.parseInt(Integer.java:481)[na:1.7.0_45] at java.lang.Integer.parseInt(Integer.java:527)[na:1.7.0_45] at eu.medsea.mimeutil.detector.MagicMimeEntry.addEntry(MagicMimeEntry.java:163)[mime-util-2.1.2.jar:na] ... 123 more