You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2016/10/24 00:58:58 UTC
[jira] [Resolved] (DIRMINA-1034) java.lang.NoSuchMethodError on
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView
[ https://issues.apache.org/jira/browse/DIRMINA-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRMINA-1034.
----------------------------------------
Resolution: Fixed
I would mark this issue solved : we build MINA with a 1.7 target, and it's built with a JDK 8 version. If taht is still a problem, then the way to go for users would be to re-build MINA using a JDK 7, which is EOLed since 2015.
> java.lang.NoSuchMethodError on java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-1034
> URL: https://issues.apache.org/jira/browse/DIRMINA-1034
> Project: MINA
> Issue Type: Bug
> Components: Handler
> Affects Versions: 2.0.10, 2.0.11, 2.0.12, 2.0.13
> Environment: CENTOS 6.5, Installed Oracle JDK 7, and use maven build and manage Mina v2.0.13.
> application source code are compiled under JDK 7.
> Reporter: frank
> Priority: Critical
> Fix For: 2.0.14
>
>
> [WARN] [NioProcessor-2] org.apache.mina.core.filterchain.DefaultIoFilterChain - Unexpected exception from exceptionCaught handler.
> java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
> at org.apache.mina.core.session.DefaultIoSessionDataStructureFactory$DefaultIoSessionAttributeMap.getAttributeKeys(DefaultIoSessionDataStructureFactory.java:165)
> at org.apache.mina.core.session.AbstractIoSession.getAttributeKeys(AbstractIoSession.java:654)
> at org.red5.server.net.rtmp.RTMPMinaIoHandler$1.operationComplete(RTMPMinaIoHandler.java:240)
> at org.red5.server.net.rtmp.RTMPMinaIoHandler$1.operationComplete(RTMPMinaIoHandler.java:234)
> at org.apache.mina.core.future.DefaultIoFuture.notifyListener(DefaultIoFuture.java:411)
> at org.apache.mina.core.future.DefaultIoFuture.addListener(DefaultIoFuture.java:345)
> at org.apache.mina.core.future.DefaultCloseFuture.addListener(DefaultCloseFuture.java:78)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)