eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm]

Sonatype JIRA | Peter Lynch | 3 years ago
  1. 0

    Was issue "magic.mime entry containing >>&1 cannot be parsed and spews WARN on startup", later renamed as we ended with replacing dead library MimeUtil2 with Apache Tika. on Rhel 5.9 and possible other linuxes, the magic.mime file contains: {noformat} # DocType contents: >>1 string webm video/webm {noformat} Our mime processing cannot handle this ( similar reported as https://sourceforge.net/p/mime-util/bugs/36/ ). NEXUS-5772 fix may have implied that there was a fix for this already. However now it seems NEXUS-5772 only added binary magic file support instead but does not make this warning go away. Only a WARN is logged using the attached magic.mime ( and can also be seen in Unit Tests ), however I am unclear what state this leaves Nexus in or how we can handle this better. From testing it seems content validation is still working despite the WARN. Would like someone investigate ramifications of this WARN. {noformat} jvm 1 | 2013-11-05 07:02:03 WARN [y-main-thread-1] - eu.medsea.mimeutil.detector.MagicMimeMimeDetector - eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm]: file "/usr/share/file/magic.mime": before or at line 22 jvm 1 | eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:84) ~[mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:91) ~[mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:91) ~[mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:67) ~[mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.addEntry(MagicMimeMimeDetector.java:537) [mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.parse(MagicMimeMimeDetector.java:517) [mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.parseMagicMimeFileLocation(MagicMimeMimeDetector.java:413) [mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.initMagicRules(MagicMimeMimeDetector.java:377) [mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeMimeDetector.<init>(MagicMimeMimeDetector.java:157) [mime-util-2.1.2.jar:na] jvm 1 | at org.sonatype.nexus.mime.detectors.NexusMagicMimeMimeDetector.<init>(NexusMagicMimeMimeDetector.java:23) [nexus-core-2.6.4-02.jar:2.6.4-02] jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.7.0_45] jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.7.0_45] jvm 1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.7.0_45] jvm 1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [na:1.7.0_45] jvm 1 | at java.lang.Class.newInstance(Class.java:374) [na:1.7.0_45] jvm 1 | at eu.medsea.mimeutil.MimeDetectorRegistry.registerMimeDetector(MimeUtil2.java:950) [mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.MimeUtil2.registerMimeDetector(MimeUtil2.java:204) [mime-util-2.1.2.jar:na] jvm 1 | at org.sonatype.nexus.mime.DefaultMimeSupport.<init>(DefaultMimeSupport.java:140) [nexus-core-2.6.4-02.jar:2.6.4-02] jvm 1 | at org.sonatype.nexus.mime.DefaultMimeSupport$$FastClassByGuice$$3e50030a.newInstance(<generated>) [sisu-guice-3.1.4.jar:2.6.4-02] jvm 1 | at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44) [sisu-inject-bean-2.3.4.jar:na] jvm 1 | at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82) [sisu-inject-bean-2.3.4.jar:na] jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:52) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:253) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:52) [sisu-inject-bean-2.3.4.jar:na] jvm 1 | at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44) [sisu-inject-bean-2.3.4.jar:na] jvm 1 | at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:134) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993) [sisu-guice-3.1.4.jar:3.1.4] jvm 1 | at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82) [sisu-inject-bean-2.3.4.jar:na] jvm 1 | at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:52) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:259) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) [sisu-inject-plexus-2.3.4.jar:na] jvm 1 | at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:41) [nexus-web-utils-2.6.4-02.jar:2.6.4-02] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) [jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:282) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:152) [nexus-jetty8-2.6.4-02.jar:2.6.4-02] jvm 1 | Caused by: eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [MimeMagicType: 0, 0, null, null, null] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.addEntry(MagicMimeEntry.java:166) ~[mime-util-2.1.2.jar:na] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:82) ~[mime-util-2.1.2.jar:na] jvm 1 | ... 122 common frames omitted jvm 1 | Caused by: java.lang.NumberFormatException: For input string: "&1" jvm 1 | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[na:1.7.0_45] jvm 1 | at java.lang.Integer.parseInt(Integer.java:481) ~[na:1.7.0_45] jvm 1 | at java.lang.Integer.parseInt(Integer.java:527) ~[na:1.7.0_45] jvm 1 | at eu.medsea.mimeutil.detector.MagicMimeEntry.addEntry(MagicMimeEntry.java:163) ~[mime-util-2.1.2.jar:na] jvm 1 | ... 123 common frames omitted jvm 1 | 2013-11-05 07:02:03 WARN [y-main-thread-1] - com.sonatype.nexus.licensing.ProfessionalApplicationStatusSource - No license installed jvm 1 | 2013-11-05 07:02:03 INFO [y-main-thread-1] - org.sonatype.nexus.DefaultNexus - jvm 1 {noformat}

    Sonatype JIRA | 3 years ago | Peter Lynch
    eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm]
  2. 0

    Issue 3471 - gerrit - Unable to start Gerrit - Gerrit Code Review - Google Project Hosting

    google.com | 1 year ago
    eu.medsea.mimeutil.detector.InvalidMagicMimeEntryException: Invalid Magic Mime Entry: [>>&1 string webm video/webm]
  3. 0

    InvalidMagicMimeEntryException while starting 12c(12.1.3.0) SOA server

    Oracle Community | 2 years ago | Arunava Datta
    java.lang.NumberFormatException: For input string: "&1"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    zip file attributes not processed correctly in voice-cmu-slt-hsmm

    GitHub | 4 years ago | psibre
    java.lang.NumberFormatException: For input string: "${zip_size}"
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "&1"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[na:1.7.0_45]
    2. java.lang.Integer.parseInt(Integer.java:481)[na:1.7.0_45]
    3. java.lang.Integer.parseInt(Integer.java:527)[na:1.7.0_45]
    3 frames
  3. Mime Detection Utility
    MagicMimeMimeDetector.<init>
    1. eu.medsea.mimeutil.detector.MagicMimeEntry.addEntry(MagicMimeEntry.java:163)[mime-util-2.1.2.jar:na]
    2. eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:82)[mime-util-2.1.2.jar:na]
    3. eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:91)[mime-util-2.1.2.jar:na]
    4. eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:91)[mime-util-2.1.2.jar:na]
    5. eu.medsea.mimeutil.detector.MagicMimeEntry.<init>(MagicMimeEntry.java:67)[mime-util-2.1.2.jar:na]
    6. eu.medsea.mimeutil.detector.MagicMimeMimeDetector.addEntry(MagicMimeMimeDetector.java:537)[mime-util-2.1.2.jar:na]
    7. eu.medsea.mimeutil.detector.MagicMimeMimeDetector.parse(MagicMimeMimeDetector.java:517)[mime-util-2.1.2.jar:na]
    8. eu.medsea.mimeutil.detector.MagicMimeMimeDetector.parseMagicMimeFileLocation(MagicMimeMimeDetector.java:413)[mime-util-2.1.2.jar:na]
    9. eu.medsea.mimeutil.detector.MagicMimeMimeDetector.initMagicRules(MagicMimeMimeDetector.java:377)[mime-util-2.1.2.jar:na]
    10. eu.medsea.mimeutil.detector.MagicMimeMimeDetector.<init>(MagicMimeMimeDetector.java:157)[mime-util-2.1.2.jar:na]
    10 frames
  4. org.sonatype.nexus
    NexusMagicMimeMimeDetector.<init>
    1. org.sonatype.nexus.mime.detectors.NexusMagicMimeMimeDetector.<init>(NexusMagicMimeMimeDetector.java:23)[nexus-core-2.6.4-02.jar:2.6.4-02]
    1 frame
  5. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.7.0_45]
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[na:1.7.0_45]
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.7.0_45]
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)[na:1.7.0_45]
    5. java.lang.Class.newInstance(Class.java:374)[na:1.7.0_45]
    5 frames
  6. Mime Detection Utility
    MimeUtil2.registerMimeDetector
    1. eu.medsea.mimeutil.MimeDetectorRegistry.registerMimeDetector(MimeUtil2.java:950)[mime-util-2.1.2.jar:na]
    2. eu.medsea.mimeutil.MimeUtil2.registerMimeDetector(MimeUtil2.java:204)[mime-util-2.1.2.jar:na]
    2 frames
  7. ${project.groupId}:${project.artifactId}
    DefaultMimeSupport$$FastClassByGuice$$3e50030a.newInstance
    1. org.sonatype.nexus.mime.DefaultMimeSupport.<init>(DefaultMimeSupport.java:140)[nexus-core-2.6.4-02.jar:2.6.4-02]
    2. org.sonatype.nexus.mime.DefaultMimeSupport$$FastClassByGuice$$3e50030a.newInstance(<generated>)[sisu-guice-3.1.4.jar:2.6.4-02]
    2 frames
  8. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)[sisu-guice-3.1.4.jar:3.1.4]
    2. com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)[sisu-guice-3.1.4.jar:3.1.4]
    3. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108)[sisu-guice-3.1.4.jar:3.1.4]
    4. com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.4.jar:3.1.4]
    5. com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.4.jar:3.1.4]
    6. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4]
    7. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4]
    8. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    9. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.4.jar:3.1.4]
    10. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[sisu-guice-3.1.4.jar:3.1.4]
    11. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4]
    12. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4]
    13. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4]
    14. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)[sisu-guice-3.1.4.jar:3.1.4]
    14 frames
  9. Sisu-Inject-Bean : legacy wrapper
    AbstractDeferredClass.get
    1. org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44)[sisu-inject-bean-2.3.4.jar:na]
    1 frame
  10. Google Guice - Core Library
    InjectorImpl$2.get
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[sisu-guice-3.1.4.jar:3.1.4]
    2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    3. com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)[sisu-guice-3.1.4.jar:3.1.4]
    4. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4]
    5. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4]
    6. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    7. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)[sisu-guice-3.1.4.jar:3.1.4]
    8. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[sisu-guice-3.1.4.jar:3.1.4]
    9. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.4.jar:3.1.4]
    10. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4]
    11. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.4.jar:3.1.4]
    12. com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.4.jar:3.1.4]
    13. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.4.jar:3.1.4]
    14. com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)[sisu-guice-3.1.4.jar:3.1.4]
    15. com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)[sisu-guice-3.1.4.jar:3.1.4]
    16. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:107)[sisu-guice-3.1.4.jar:3.1.4]
    17. com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.4.jar:3.1.4]
    18. com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.4.jar:3.1.4]
    19. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4]
    20. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4]
    21. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    22. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.4.jar:3.1.4]
    23. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[sisu-guice-3.1.4.jar:3.1.4]
    24. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.4.jar:3.1.4]
    25. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4]
    26. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.4.jar:3.1.4]
    27. com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.4.jar:3.1.4]
    28. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.4.jar:3.1.4]
    29. com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)[sisu-guice-3.1.4.jar:3.1.4]
    30. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4]
    31. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4]
    32. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4]
    32 frames
  11. Sisu-Inject-Bean : legacy wrapper
    LazyBeanEntry.getValue
    1. org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82)[sisu-inject-bean-2.3.4.jar:na]
    1 frame
  12. org.sonatype.guice
    LazyPlexusBean.getValue
    1. org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:52)[sisu-inject-plexus-2.3.4.jar:na]
    1 frame
  13. Sisu-Inject-Plexus : legacy wrapper
    ProvidedPropertyBinding.injectProperty
    1. org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:253)[sisu-inject-plexus-2.3.4.jar:na]
    2. org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:48)[sisu-inject-plexus-2.3.4.jar:na]
    2 frames
  14. org.sonatype.guice
    BeanInjector.injectMembers
    1. org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:52)[sisu-inject-bean-2.3.4.jar:na]
    1 frame
  15. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128)[sisu-guice-3.1.4.jar:3.1.4]
    2. com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117)[sisu-guice-3.1.4.jar:3.1.4]
    3. com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32)[sisu-guice-3.1.4.jar:3.1.4]
    4. com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:92)[sisu-guice-3.1.4.jar:3.1.4]
    5. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4]
    6. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:116)[sisu-guice-3.1.4.jar:3.1.4]
    7. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    8. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)[sisu-guice-3.1.4.jar:3.1.4]
    9. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:269)[sisu-guice-3.1.4.jar:3.1.4]
    10. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4]
    11. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4]
    12. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4]
    13. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)[sisu-guice-3.1.4.jar:3.1.4]
    13 frames
  16. Sisu-Inject-Bean : legacy wrapper
    AbstractDeferredClass.get
    1. org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:44)[sisu-inject-bean-2.3.4.jar:na]
    1 frame
  17. Google Guice - Core Library
    ProvisionListenerStackCallback$Provision.provision
    1. com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)[sisu-guice-3.1.4.jar:3.1.4]
    2. com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    3. com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)[sisu-guice-3.1.4.jar:3.1.4]
    4. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)[sisu-guice-3.1.4.jar:3.1.4]
    4 frames
  18. org.sonatype.guice
    PlexusLifecycleManager.onProvision
    1. org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:134)[sisu-inject-plexus-2.3.4.jar:na]
    1 frame
  19. Google Guice - Core Library
    InjectorImpl$2.get
    1. com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)[sisu-guice-3.1.4.jar:3.1.4]
    2. com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)[sisu-guice-3.1.4.jar:3.1.4]
    3. com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)[sisu-guice-3.1.4.jar:3.1.4]
    4. com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)[sisu-guice-3.1.4.jar:3.1.4]
    5. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[sisu-guice-3.1.4.jar:3.1.4]
    6. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1054)[sisu-guice-3.1.4.jar:3.1.4]
    7. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[sisu-guice-3.1.4.jar:3.1.4]
    8. com.google.inject.Scopes$1$1.get(Scopes.java:59)[sisu-guice-3.1.4.jar:3.1.4]
    9. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[sisu-guice-3.1.4.jar:3.1.4]
    10. com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)[sisu-guice-3.1.4.jar:3.1.4]
    11. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)[sisu-guice-3.1.4.jar:3.1.4]
    12. com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)[sisu-guice-3.1.4.jar:3.1.4]
    12 frames
  20. Sisu-Inject-Bean : legacy wrapper
    LazyBeanEntry.getValue
    1. org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:82)[sisu-inject-bean-2.3.4.jar:na]
    1 frame
  21. org.sonatype.guice
    LazyPlexusBean.getValue
    1. org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:52)[sisu-inject-plexus-2.3.4.jar:na]
    1 frame
  22. Plexus
    DefaultPlexusContainer.lookup
    1. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:259)[sisu-inject-plexus-2.3.4.jar:na]
    2. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251)[sisu-inject-plexus-2.3.4.jar:na]
    3. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)[sisu-inject-plexus-2.3.4.jar:na]
    3 frames
  23. ${project.groupId}:${project.artifactId}
    NexusBooterListener.contextInitialized
    1. org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:41)[nexus-web-utils-2.6.4-02.jar:2.6.4-02]
    1 frame
  24. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
    3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
    5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1252)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520]
    6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)[jetty-webapp-8.1.11.v20130520.jar:8.1.11.v20130520]
    8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
    9. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    10. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    11. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
    12. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    13. org.eclipse.jetty.server.Server.doStart(Server.java:282)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
    14. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
    14 frames
  25. org.sonatype.sisu
    Jetty8$JettyWrapperThread.run
    1. org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:152)[nexus-jetty8-2.6.4-02.jar:2.6.4-02]
    1 frame