#32 Getting java error messages after entering worng crdentials

v1.0_(example)
open
nobody
None
2
2014-08-28
2014-08-28
dahf
No

Hi,
I’ve successfully installed IntegraTUM WebDisk last release (0.44) on a RHEL 6.5 server with Apache Tomcat 6.0.39.
All seem to work as long as users provide correct credentials. But once they enter wrong either username or password they are getting inconsistent java errors which users don’t want to see them
I need help to change those errors to meaningful messages to users.

Here are some of those messages:

java.lang.NullPointerException at jcifs.smb.SmbTransport.connect(SmbTransport.java:295) at jcifs.smb.SmbTree.treeConnect(SmbTree.java:139) at jcifs.smb.SmbFile.connect(SmbFile.java:816) at jcifs.smb.SmbFile.connect0(SmbFile.java:786) at jcifs.smb.SmbFileInputStream.(SmbFileInputStream.java:73) at jcifs.smb.TransactNamedPipeInputStream.(TransactNamedPipeInputStream.java:38) at jcifs.smb.SmbNamedPipe.getNamedPipeInputStream(SmbNamedPipe.java:166) at jcifs.dcerpc.DcerpcPipeHandle.doSendFragment(DcerpcPipeHandle.java:52) at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:164) at jcifs.dcerpc.DcerpcHandle.sendrecv(DcerpcHandle.java:129) at jcifs.smb.SmbFile.doMsrpcEnum(SmbFile.java:1693) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1651) at jcifs.smb.SmbFile.listFiles(SmbFile.java:1545) at webdisk.Presentation.showTree(Presentation.java:679) at webdisk.Presentation.showContent(Presentation.java:320) at webdisk.Controller.doGet(Controller.java:296) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 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:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:745)

Best regards

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks