directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Pospisil (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRKRB-99) NPE in KerberosProtocolHandler while handling pre-auth
Date Mon, 24 Feb 2014 09:29:20 GMT
Dominik Pospisil created DIRKRB-99:
--------------------------------------

             Summary: NPE in KerberosProtocolHandler while handling pre-auth
                 Key: DIRKRB-99
                 URL: https://issues.apache.org/jira/browse/DIRKRB-99
             Project: Directory Kerberos
          Issue Type: Bug
    Affects Versions: 2.0.0-M12
         Environment: Thi issue is reproducible on 2.0.0-M15 (not selectable in Affects Version/s
field).
            Reporter: Dominik Pospisil
            Assignee: Emmanuel Lecharny


I am getting NPEs after upgrading from M7 to M15 in timestamp pre-auth:

10:18:21,431 ERROR [org.apache.directory.server.KERBEROS_LOG] (NioDatagramAcceptor-1) No timestamp
found
10:18:21,436 WARN  [org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler]
(NioDatagramAcceptor-1) Additional pre-authentication required (25)
10:18:21,436 WARN  [org.apache.directory.server.KERBEROS_LOG] (NioDatagramAcceptor-1) Additional
pre-authentication required (25)
10:18:21,511 ERROR [org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler]
(NioDatagramAcceptor-1) ERR_152 Unexpected exception: null: java.lang.NullPointerException
	at org.apache.directory.server.kerberos.shared.crypto.encryption.EncryptionEngine.removeLeadingBytes(EncryptionEngine.java:155)
	at org.apache.directory.server.kerberos.shared.crypto.encryption.Des3CbcSha1KdEncryption.getDecryptedData(Des3CbcSha1KdEncryption.java:111)
	at org.apache.directory.server.kerberos.shared.crypto.encryption.CipherTextHandler.decrypt(CipherTextHandler.java:121)
	at org.apache.directory.server.kerberos.kdc.authentication.AuthenticationService.verifyEncryptedTimestamp(AuthenticationService.java:335)
	at org.apache.directory.server.kerberos.kdc.authentication.AuthenticationService.execute(AuthenticationService.java:126)
	at org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler.messageReceived(KerberosProtocolHandler.java:206)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:410)
	at org.apache.mina.core.polling.AbstractPollingConnectionlessIoAcceptor.readHandle(AbstractPollingConnectionlessIoAcceptor.java:701)
	at org.apache.mina.core.polling.AbstractPollingConnectionlessIoAcceptor.processReadySessions(AbstractPollingConnectionlessIoAcceptor.java:670)
	at org.apache.mina.core.polling.AbstractPollingConnectionlessIoAcceptor.access$800(AbstractPollingConnectionlessIoAcceptor.java:61)
	at org.apache.mina.core.polling.AbstractPollingConnectionlessIoAcceptor$Acceptor.run(AbstractPollingConnectionlessIoAcceptor.java:607)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message