java.lang.NoSuchFieldError: EMPTY_ORDERED_MAP_ITERATOR

AppFuse JIRA | Ashish Jain | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ================================Stack Trace================================= DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] com.jframeworks.web.admin.filters.SideMenuFilter - destroy called DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] net.sf.navigator.menu.MenuContextListener - destroying struts-menu... ERROR ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.session.ManagerBase - Exception unloading sessions to persi stent storage java.lang.NoSuchFieldError: EMPTY_ORDERED_MAP_ITERATOR at org.apache.commons.collections.map.AbstractLinkedMap.mapIterator(AbstractLinkedMap.java:345) at org.apache.commons.collections.map.AbstractHashedMap.doWriteObject(AbstractHashedMap.java:1138) at org.apache.commons.collections.map.LinkedMap.writeObject(LinkedMap.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1478) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:948) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4363) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3019) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:432) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1278) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559) at java.lang.Thread.run(Thread.java:595) ========================================================================================================== This error doesn't come if I put this line in my Filter (responsible for building MenuRepo from DB) public void destroy() { if (LOG.isDebugEnabled()) LOG.debug("destroy called"); this.getServletContext().removeAttribute("sideMenuRepository"); } I think, there is some problem in serializing MenuRepository, not sure whether it is mismatch of collection API?

    AppFuse JIRA | 10 years ago | Ashish Jain
    java.lang.NoSuchFieldError: EMPTY_ORDERED_MAP_ITERATOR
  2. 0

    ================================Stack Trace================================= DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] com.jframeworks.web.admin.filters.SideMenuFilter - destroy called DEBUG ContainerBackgroundProcessor[StandardEngine[Catalina]] net.sf.navigator.menu.MenuContextListener - destroying struts-menu... ERROR ContainerBackgroundProcessor[StandardEngine[Catalina]] org.apache.catalina.session.ManagerBase - Exception unloading sessions to persi stent storage java.lang.NoSuchFieldError: EMPTY_ORDERED_MAP_ITERATOR at org.apache.commons.collections.map.AbstractLinkedMap.mapIterator(AbstractLinkedMap.java:345) at org.apache.commons.collections.map.AbstractHashedMap.doWriteObject(AbstractHashedMap.java:1138) at org.apache.commons.collections.map.LinkedMap.writeObject(LinkedMap.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1478) at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:948) at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517) at org.apache.catalina.session.StandardManager.unload(StandardManager.java:463) at org.apache.catalina.session.StandardManager.stop(StandardManager.java:667) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4363) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3019) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:432) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1278) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559) at java.lang.Thread.run(Thread.java:595) ========================================================================================================== This error doesn't come if I put this line in my Filter (responsible for building MenuRepo from DB) public void destroy() { if (LOG.isDebugEnabled()) LOG.debug("destroy called"); this.getServletContext().removeAttribute("sideMenuRepository"); } I think, there is some problem in serializing MenuRepository, not sure whether it is mismatch of collection API?

    AppFuse JIRA | 10 years ago | Ashish Jain
    java.lang.NoSuchFieldError: EMPTY_ORDERED_MAP_ITERATOR
  3. 0

    ....springframework.web.context.request.RequestContextListener java.lang.NoSuchFieldError: STANDARD_NUMBER_TYPES | Web Development

    bighow.org | 7 months ago
    java.lang.NoSuchFieldError: STANDARD_NUMBER_TYPES at org.springframework.web.context.request.ServletRequestAttributes.(ServletRequestAttributes.java:55) at org.springframework.web.context.request.RequestContextListener.requestInitialized(RequestContextListener.java:59) at org.apache.catalina.core.StandardContext.fireRequestInitEvent(StandardContext.java:6157) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:165) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't claim anything

    GitHub | 5 months ago | lukas1101
    java.lang.NoSuchFieldError: OFF_HAND 22.11 22:06:23 [Server] WARN Task #26 for GriefPrevention v16.4 generated an exception
  6. 0

    SQL Developer 1.5.1, JDK 5 u16 + JDK 6 u7 + u10, & Insider 2.5 = FREEZE

    Oracle Community | 9 years ago | Olaf Heimburger-Oracle
    java.lang.NoSuchFieldError: INSTANCE at elephant.insider.config.GlobalSettings.<clinit>(GlobalSettings.java:1 02) at elephant.insider.server.meter.MeterUpdateGroup$1.getInterval(MeterUpd ateGroup.java:16) at elephant.insider.view.impl.MeterUpdater$Dispatcher.run(MeterUpdater.j ava:221)

    Root Cause Analysis

    1. java.lang.NoSuchFieldError

      EMPTY_ORDERED_MAP_ITERATOR

      at org.apache.commons.collections.map.AbstractLinkedMap.mapIterator()
    2. Commons Collections
      LinkedMap.writeObject
      1. org.apache.commons.collections.map.AbstractLinkedMap.mapIterator(AbstractLinkedMap.java:345)
      2. org.apache.commons.collections.map.AbstractHashedMap.doWriteObject(AbstractHashedMap.java:1138)
      3. org.apache.commons.collections.map.LinkedMap.writeObject(LinkedMap.java:157)
      3 frames
    3. Java RT
      ObjectOutputStream.writeObject
      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:585)
      5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
      6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
      7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
      8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
      9. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
      10. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
      11. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
      12. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
      13. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
      13 frames
    4. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1478)
      2. org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:948)
      3. org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:517)
      4. org.apache.catalina.session.StandardManager.unload(StandardManager.java:463)
      5. org.apache.catalina.session.StandardManager.stop(StandardManager.java:667)
      6. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4363)
      7. org.apache.catalina.core.StandardContext.reload(StandardContext.java:3019)
      8. org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:432)
      9. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1278)
      10. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
      11. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
      12. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
      13. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
      13 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame