[jcifs] NullPointerException
jbaker-jcifs at javasystemsolutions.com
jbaker-jcifs at javasystemsolutions.com
Sun Jul 16 11:17:57 GMT 2006
Hello all,
I posted this a few weeks ago but didn't seem to get any response, but I also
didn't see the mail in the list archives so perhaps it was not delivered.
Therefore, apologies if this has already been posted.
I am getting a NullPointerException from jcifs when trying to authenticate
against the following:
- Windows 2000 functional AD domain running on Windows 2003
server.
- The web server is IIS 6 and New Atlanta ServletExec version 5 installed.
- Using the ntlm filter provided with the jcifs package.
And here is the stack trace:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jcifs.smb.SigningDigest.(SigningDigest.java:42)
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:264)
at jcifs.smb.SmbSession.send(SmbSession.java:225)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:147)
at jcifs.smb.SmbSession.logon(SmbSession.java:161)
at jcifs.smb.SmbSession.logon(SmbSession.java:154)
at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:182)
at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)
at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
at
com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
at
com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
at
com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
at
com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
at
com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
at
com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:511)
at jcifs.smb.SigningDigest.(SigningDigest.java:59)
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:264)
at jcifs.smb.SmbSession.send(SmbSession.java:225)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:147)
at jcifs.smb.SmbSession.logon(SmbSession.java:161)
at jcifs.smb.SmbSession.logon(SmbSession.java:154)
at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:182)
at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)
at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
at
com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
at
com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
at
com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
at
com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
at
com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
at
com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:511)
I've Googled this NPE and have found a few posts dating back to 2003, so I'd
assume this problem was fixed now. However, it would appear a problem still
exists.
Does anyone have any idea what's going on? Would you like me to get more
information in order to diagnose the problem?
John
More information about the jcifs
mailing list