mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Gustavsson (JIRA)" <j...@apache.org>
Subject [jira] [Moved] (VYSPER-290) Crash on Android
Date Fri, 01 Jul 2011 10:40:28 GMT

     [ https://issues.apache.org/jira/browse/VYSPER-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niklas Gustavsson moved DIRMINA-841 to VYSPER-290:
--------------------------------------------------

          Component/s:     (was: Core)
    Affects Version/s:     (was: 2.0.2)
                  Key: VYSPER-290  (was: DIRMINA-841)
              Project: VYSPER  (was: MINA)

> Crash on Android
> ----------------
>
>                 Key: VYSPER-290
>                 URL: https://issues.apache.org/jira/browse/VYSPER-290
>             Project: VYSPER
>          Issue Type: Bug
>         Environment: android 2.2 (emulator)
>            Reporter: Kaja Hovi
>              Labels: android, ssl
>
> I tried to run VYSPER on android, with just one fix - getting "bks" keystore instead
of "jks" (or just KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); to make it
work on both platforms) , I used portecle to convert VYSPER default jks certificate into bks
format.
> When I run server on android and try to autenticate, I get following exception:
> 06-30 21:36:40.109: ERROR/L4J(342): 1178740 [NioProcessor-2] ERROR org.apache.mina.filter.ssl.SslHandler
 - Invalid Handshaking StateNOT_HANDSHAKING while processing the Handshake for session 3
> 06-30 21:36:40.109: WARN/L4J(342): 1178743 [NioProcessor-2] WARN org.apache.vysper.mina.XmppIoHandlerAdapter
 - error caught on transportation layer: {}
> 06-30 21:36:40.116: WARN/System.err(342): java.lang.IllegalStateException: Invalid Handshaking
StateNOT_HANDSHAKING while processing the Handshake for session 3
> 06-30 21:36:40.116: WARN/System.err(342):     at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:593)
> 06-30 21:36:40.126: WARN/System.err(342):     at org.apache.mina.filter.ssl.SslHandler.writeNetBuffer(SslHandler.java:632)
> 06-30 21:36:40.137: WARN/System.err(342):     at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:586)
> 06-30 21:36:40.137: WARN/System.err(342):     at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:349)
> 06-30 21:36:40.137: WARN/System.err(342):     at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:476)
> 06-30 21:36:40.137: WARN/System.err(342):     at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> 06-30 21:36:40.155: WARN/System.err(342):     at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> 06-30 21:36:40.155: WARN/System.err(342):     at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> 06-30 21:36:40.155: WARN/System.err(342):     at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
> 06-30 21:36:40.166: WARN/System.err(342):     at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> 06-30 21:36:40.166: WARN/System.err(342):     at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
> 06-30 21:36:40.166: WARN/System.err(342):     at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:693)
> 06-30 21:36:40.176: WARN/System.err(342):     at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:646)
> 06-30 21:36:40.193: WARN/System.err(342):     at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:635)
> 06-30 21:36:40.196: WARN/System.err(342):     at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:67)
> 06-30 21:36:40.196: WARN/System.err(342):     at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1079)
> 06-30 21:36:40.196: WARN/System.err(342):     at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> 06-30 21:36:40.206: WARN/System.err(342):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
> 06-30 21:36:40.215: WARN/System.err(342):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
> 06-30 21:36:40.215: WARN/System.err(342):     at java.lang.Thread.run(Thread.java:1096)
> Any ideas what might cause this and how to fix it?
> Same project works fine in JRE (with both bks and jks).
> I found similar issue here (mina+android):
> http://androiddiscuss.com/1-android-discuss/1022.html
> I hope I am posting in correct place, since it is also about project VYSPER and it seems
possibly like android sdk bug, sorry if not.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message