mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "frank (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-1034) java.lang.NoSuchMethodError on java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView
Date Tue, 19 Apr 2016 15:43:25 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248007#comment-15248007
] 

frank commented on DIRMINA-1034:
--------------------------------

When run under JDK 7, it will throw this exception. because this called method is defined
since JDK 8. 
change this method call to an appropriate method which is defined in JDK 7 will keep mina
compatible with JDK7

> 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: Oracle 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)

Mime
View raw message