0

Help I'm looking to find a fix for webapps running on a tomcat with IIS6 running on it too. Why am I getting this message.

HTTP Status 500 -

________________________________________
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.ArrayIndexOutOfBoundsException
java.lang.System.arraycopy(Native Method)
jcifs.ntlmssp.Type2Message.toByteArray(Type2Message.java:261)
jcifs.http.NtlmSsp.authenticate(NtlmSsp.java:90)
jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:160)
jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:114)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)

4
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by peter_budo
0

Have you tried the simplest thing? Reading the error message that you get!
It clearly says:
java.lang.ArrayIndexOutOfBoundsException

Somewhere in your code you are using an index that is too large or too small. It is like trying to access an array with an index greater than its length. Try reading the whole message until you find the first class or file that you have created(that it is yours). The message says the line where the error occurred.

0

Or you may be accessing an empty array...

HTTP Status 500 - Nov 9th now getting this error message.

type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
jcifs.smb.SmbException
java.lang.NullPointerException
at jcifs.smb.NtlmPasswordAuthentication.nTOWFv2(NtlmPasswordAuthentication.java:207)
at jcifs.ntlmssp.Type3Message.<init>(Type3Message.java:232)
at jcifs.smb.NtlmContext.initSecContext(NtlmContext.java:149)
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:370)
at jcifs.smb.SmbSession.send(SmbSession.java:224)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)
at jcifs.smb.SmbSession.logon(SmbSession.java:153)
at jcifs.smb.SmbSession.logon(SmbSession.java:146)
at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:189)
at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)

jcifs.smb.NtlmContext.initSecContext(NtlmContext.java:170)
jcifs.smb.SmbSession.sessionSetup(SmbSession.java:370)
jcifs.smb.SmbSession.send(SmbSession.java:224)
jcifs.smb.SmbTree.treeConnect(SmbTree.java:176)
jcifs.smb.SmbSession.logon(SmbSession.java:153)
jcifs.smb.SmbSession.logon(SmbSession.java:146)
jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:189)
jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:121)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.