java.lang.VerifyError

Bad <init> method call from inside of a branch > Exception Details: >  Location: grails/web/mime/MimeType.<init>(Ljava/lang/String;)V @115: invokespecial >  Reason: Error exists in the bytecode >  Bytecode: 0000000: 05bd 0004 5903 2b12 4fb8 009c 5359 0403 0000010: bd00 04b8 003d 128e b800 9c53 5910 ff12 0000020: 02b8 00a0 2a5f ab00 0000 00a2 0000 0004 0000030: a159 6e5c 0000 002a aad3 b1ff 0000 0053 0000040: b7d2 0ba6 0000 0066 e925 fa09 0000 0085 0000050: 5f5a 5903 32b8 006d c000 4f5f 5904 32b8 0000060: 006d c000 4f5f 5905 3212 8eb8 005d c000 0000070: 8e5f 57b7 002e a700 5c5f 5a59 0332 b800 0000080: 6dc0 004f 5f57 b700 a2a7 0049 5f5a 5903 0000090: 32b8 006d c000 4f5f 5904 3212 8eb8 005d 00000a0: c000 8e5f 57b7 00a4 a700 2a5f 5a59 0332 00000b0: b800 6dc0 004f 5f59 0432 b800 6dc0 004f 00000c0: 5f57 b700 a7a7 000d bb00 a959 12ab b700 00000d0: acbf 57b1                               >  Stackmap Table: full_frame(@80,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@121,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@140,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@171,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@200,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@210,{Object[#2],Object[#79]},{Object[#89]}) >

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web280

  • via Unknown by Unknown author,
  • via Unknown by Graeme Rocher,
  • via GitHub by smartrics
    ,
  • Stack trace

    • java.lang.VerifyError: Bad <init> method call from inside of a branch > Exception Details: >  Location: grails/web/mime/MimeType.<init>(Ljava/lang/String;)V @115: invokespecial >  Reason: Error exists in the bytecode >  Bytecode: 0000000: 05bd 0004 5903 2b12 4fb8 009c 5359 0403 0000010: bd00 04b8 003d 128e b800 9c53 5910 ff12 0000020: 02b8 00a0 2a5f ab00 0000 00a2 0000 0004 0000030: a159 6e5c 0000 002a aad3 b1ff 0000 0053 0000040: b7d2 0ba6 0000 0066 e925 fa09 0000 0085 0000050: 5f5a 5903 32b8 006d c000 4f5f 5904 32b8 0000060: 006d c000 4f5f 5905 3212 8eb8 005d c000 0000070: 8e5f 57b7 002e a700 5c5f 5a59 0332 b800 0000080: 6dc0 004f 5f57 b700 a2a7 0049 5f5a 5903 0000090: 32b8 006d c000 4f5f 5904 3212 8eb8 005d 00000a0: c000 8e5f 57b7 00a4 a700 2a5f 5a59 0332 00000b0: b800 6dc0 004f 5f59 0432 b800 6dc0 004f 00000c0: 5f57 b700 a7a7 000d bb00 a959 12ab b700 00000d0: acbf 57b1                               >  Stackmap Table: full_frame(@80,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@121,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@140,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@171,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@200,{UninitializedThis,Object[#79]},{Object[#89],UninitializedThis}) full_frame(@210,{Object[#2],Object[#79]},{Object[#89]}) > at java.lang.Class.getDeclaredConstructors0(Native Method)[na:1.7.0_65] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)[na:1.7.0_65] at java.lang.Class.getDeclaredConstructors(Class.java:1901)[na:1.7.0_65] at org.codehaus.groovy.reflection.CachedClass$2$1.run(CachedClass.java:71)[groovy-2.4.0.jar:2.4.0] at java.security.AccessController.doPrivileged(Native Method)[na:1.7.0_65] at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:68)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:66)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.reflection.CachedClass.getConstructors(CachedClass.java:265)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:215)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:225)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createNormalMetaClass(MetaClassRegistry.java:168)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:158)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:141)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:250)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:282)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.ClassMetaClassGetPropertySite.<init>(ClassMetaClassGetPropertySite.java:35)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createClassMetaClassGetPropertySite(AbstractCallSite.java:360)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.createGetPropertySite(AbstractCallSite.java:312)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.acceptGetProperty(AbstractCallSite.java:299)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:291)[groovy-2.4.0.jar:2.4.0] at org.grails.plugins.web.mime.MimeTypesGrailsPlugin$_doWithSpring_closure1.doCall(MimeTypesGrailsPlugin.groovy:39)[grails-plugin-mimetypes-3.0.0.M1.jar:3.0.0.M1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_65] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1017)[groovy-2.4.0.jar:2.4.0] at groovy.lang.Closure.call(Closure.java:423)[groovy-2.4.0.jar:2.4.0] at groovy.lang.Closure.call(Closure.java:417)[groovy-2.4.0.jar:2.4.0] at grails.spring.BeanBuilder.invokeBeanDefiningClosure(BeanBuilder.java:754)[grails-spring-3.0.0.M1.jar:3.0.0.M1] at grails.spring.BeanBuilder.beans(BeanBuilder.java:584)[grails-spring-3.0.0.M1.jar:3.0.0.M1] at grails.spring.BeanBuilder.invokeMethod(BeanBuilder.java:527)[grails-spring-3.0.0.M1.jar:3.0.0.M1] at org.grails.plugins.DefaultGrailsPlugin.doWithRuntimeConfiguration(DefaultGrailsPlugin.java:547)[grails-core-3.0.0.M1.jar:3.0.0.M1] at org.grails.plugins.AbstractGrailsPluginManager.doRuntimeConfiguration(AbstractGrailsPluginManager.java:171)[grails-core-3.0.0.M1.jar:3.0.0.M1] at grails.boot.config.GrailsApplicationPostProcessor.postProcessBeanDefinitionRegistry(GrailsApplicationPostProcessor.groovy:78)[grails-core-3.0.0.M1.jar:3.0.0.M1] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:119)[spring-context-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)[spring-context-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)[spring-context-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.2.1.RELEASE.jar:1.2.1.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)[spring-boot-1.2.1.RELEASE.jar:1.2.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)[spring-boot-1.2.1.RELEASE.jar:1.2.1.RELEASE] at grails.boot.GrailsApp.run(GrailsApp.groovy:40)[grails-core-3.0.0.M1.jar:3.0.0.M1] at grails.boot.GrailsApp.run(GrailsApp.groovy:187)[grails-core-3.0.0.M1.jar:3.0.0.M1] at grails.boot.GrailsApp.run(GrailsApp.groovy:176)[grails-core-3.0.0.M1.jar:3.0.0.M1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_65] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)[groovy-2.4.0.jar:2.4.0] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:43)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:88)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)[groovy-2.4.0.jar:2.4.0] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)[groovy-2.4.0.jar:2.4.0] at g300m1.Application.main(Application.groovy:8)[main/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_65] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_65] at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)[idea_rt.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    15 more bugmates