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. ,

    Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

  2. ,

    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.

Solutions on the web

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