java.lang.RuntimeException: field info metadata structure could not be build for field: org/springframework/context/support/AbstractApplicationContext.logger:Lorg/apache/commons/logging/Log;

Terracotta | sajid | 8 years ago
  1. 0

    Spring 2.5 + TC 2.7.3 + Tomat 6.0.18 deployment problem

    Terracotta | 8 years ago | sajid
    java.lang.RuntimeException: field info metadata structure could not be build for field: org/springframework/context/support/AbstractApplicationContext.logger:Lorg/apache/commons/logging/Log;
  2. 0

    java.lang.LinkageError: cannot run jetty webapp with terracotta

    Terracotta | 8 years ago | joachimm
    java.lang.RuntimeException: field info metadata structure could not be build for field: org/springframework/context/support/AbstractAp plicationContext.logger:Lorg/apache/commons/logging/Log;
  3. 0

    java.lang.LinkageError: cannot run jetty webapp with terracotta

    terracotta.org | 1 year ago
    java.lang.RuntimeException: field info metadata structure could not be build for field: org/springframework/context/support/AbstractAp plicationContext.logger:Lorg/apache/commons/logging/Log; at com.tc.aspectwerkz.transform.inlining.weaver.FieldSetFieldGetVisitor$ReplacePutFieldAndGetFieldInstructionCodeAdapter.getFi eldInfo(FieldSetFieldGetVisitor.java:381) at com.tc.aspectwerkz.transform.inlining.weaver.FieldSetFieldGetVisitor$ReplacePutFieldAndGetFieldInstructionCodeAdapter.visit FieldInsn(FieldSetFieldGetVisitor.java:191)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When I try to do a restore or shutdown JIRA I often (but not always) get an exception of the form: {noformat} 2012-03-20 14:07:44,578 Thread-12 ERROR [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415) at java.util.zip.ZipFile.getEntry(ZipFile.java:160) at java.util.jar.JarFile.getEntry(JarFile.java:208) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) .... 2012-03-20 14:07:44,583 Thread-12 ERROR [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent@56dfbb87' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@2801d0b1'. java.lang.RuntimeException: org/springframework/context/ConfigurableApplicationContext at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.shutdown(DefaultPluginManager.java:211) at com.atlassian.jira.ComponentManager$PluginSystem.shutdown(ComponentManager.java:709) at com.atlassian.jira.ComponentManager.shutdown(ComponentManager.java:293) at com.atlassian.jira.util.CompositeShutdown.shutdown(CompositeShutdown.java:32) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCheckImpl.java:86) at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:119) .... Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ConfigurableApplicationContext at org.springframework.web.servlet.FrameworkServlet.destroy(FrameworkServlet.java:642) at com.atlassian.plugin.servlet.DelegatingPluginServlet.destroy(DelegatingPluginServlet.java:70) at com.atlassian.plugin.servlet.DefaultServletModuleManager.removeServletModule(DefaultServletModuleManager.java:162) at com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor.disabled(ServletModuleDescriptor.java:43) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$MultiTenantModuleDescriptorCreator.destroy(MultiTenantModuleDescriptorFactory.java:317) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$MultiTenantModuleDescriptorCreator.destroy(MultiTenantModuleDescriptorFactory.java:290) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStop(MultiTenantComponentMapImpl.java:177) ... Caused by: java.lang.ClassNotFoundException: org.springframework.context.ConfigurableApplicationContext at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) {noformat} The attached log [^error.log] contains examples of both the error on shutdown and restore. It seems to occur when shutting down the plugin system.

    Atlassian JIRA | 5 years ago | Brenden Bain [Atlassian]
    java.lang.RuntimeException: org/springframework/context/ConfigurableApplicationContext
  6. 0

    GitHub comment 512#248900950

    GitHub | 2 months ago | BraisGabin
    java.lang.RuntimeException: Failed to load the native library. The error was "Unable to load library 'vlc': JNA native support (darwin/libvlc.jnilib) not found in resource path (~/projects/Lince/build/classes/main:~/projects/Lince/build/resources/main:~/.gradle/caches/modules-2/files-2.1/uk.co.caprica/vlcj/2.4.1/57a33ac153f2116d9c3099fc9a3efc8226ae00bc/vlcj-2.4.1.jar:~/.gradle/caches/modules-2/files-2.1/org.jdesktop/beansbinding/1.2.1/5a34143743fc23e24b27e7cb7042ff0fb710a69b/beansbinding-1.2.1.jar:~/.gradle/caches/modules-2/files-2.1/com.healthmarketscience.jackcess/jackcess/1.2.13/1e36ef61f70f3dce01e4e146c3cabd3d1c22f5ff/jackcess-1.2.13.jar:~/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/3.5.2/f1bf9fe267e17c1a8f7d1aa2c985e7fe81a06da6/jna-3.5.2.jar:~/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/platform/3.5.2/beac07d13858ef3697ceeab43897d70aeb5113c9/platform-3.5.2.jar:~/.gradle/caches/modules-2/files-2.1/commons-lang/commons-lang/2.0/b2921b7862e7b26b43aa239c2c20cc16431a8ffd/commons-lang-2.0.jar:~/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.0.3/760c711c71588bc273d3e56d196d720a7678cd93/commons-logging-1.0.3.jar)". The required native libraries are named "libvlc.dylib" and "libvlccore.dylib". In the text below <libvlc-path> represents the name of the directory containing "libvlc.dylib" and "libvlccore.dylib"... There are a number of different ways to specify where to find the native libraries: 1. Include NativeLibrary.addSearchPath("vlc", "<libvlc-path>"); at the start of your application code. 2. Include System.setProperty("jna.library.path", "<libvlc-path>"); at the start of your application code. 3. Specify -Djna.library.path=<libvlc-path> on the command-line when starting your application. 4. Add <libvlc-path> to the system search path (and reboot). If this still does not work, then it may be necessary to explicitly add the native library directory to the operating system configuration - e.g. on Linux this might mean setting the LD_LIBRARY_PATH environment variable, or adding configuration to the "/etc/ld.so.conf" file or the "/etc/ld.so.conf.d" directory. Of these options, setting LD_LIBRARY_PATH is the only one that would not require root privileges. Finally, it is not possible to mix CPU architectures - it is not possible for a 64-bit Java Virtual Machine to load 32-bit native libraries. More information may be available in the log, specify -Dvlcj.log=DEBUG on the command-line when starting your application.

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

      field info metadata structure could not be build for field: org/springframework/context/support/AbstractApplicationContext.logger:Lorg/apache/commons/logging/Log;

      at com.tc.aspectwerkz.transform.inlining.weaver.FieldSetFieldGetVisitor$ReplacePutFieldAndGetFieldInstructionCodeAdapter.getFieldInfo()
    2. com.tc.aspectwerkz
      FieldSetFieldGetVisitor$ReplacePutFieldAndGetFieldInstructionCodeAdapter.visitFieldInsn
      1. com.tc.aspectwerkz.transform.inlining.weaver.FieldSetFieldGetVisitor$ReplacePutFieldAndGetFieldInstructionCodeAdapter.getFieldInfo(FieldSetFieldGetVisitor.java:381)
      2. com.tc.aspectwerkz.transform.inlining.weaver.FieldSetFieldGetVisitor$ReplacePutFieldAndGetFieldInstructionCodeAdapter.visitFieldInsn(FieldSetFieldGetVisitor.java:191)
      2 frames
    3. com.tc.asm
      ClassReader.accept
      1. com.tc.asm.MethodAdapter.visitFieldInsn(MethodAdapter.java:115)
      2. com.tc.asm.ClassReader.accept(ClassReader.java:1369)
      3. com.tc.asm.ClassReader.accept(ClassReader.java:420)
      3 frames
    4. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:290)
      2. com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:168)
      3. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:641)
      3 frames
    5. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      2 frames
    6. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      4 frames
    7. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      2. java.lang.ClassLoader.defineClass1(Native Method)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4 frames
    8. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      4 frames
    9. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      2. java.lang.ClassLoader.defineClass1(Native Method)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4 frames
    10. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      4 frames
    11. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      2. java.lang.ClassLoader.defineClass1(Native Method)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4 frames
    12. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      4 frames
    13. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      2. java.lang.ClassLoader.defineClass1(Native Method)
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      4. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4 frames
    14. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
      4 frames
    15. Spring Core
      ClassUtils.forName
      1. org.springframework.util.ClassUtils.forName(ClassUtils.java:242)
      1 frame
    16. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.determineContextClass(ContextLoader.java:283)
      2. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:243)
      3. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      4. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      4 frames
    17. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
      7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:578)
      18 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    19. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames