Page 1 of 1

Error when authentication fail

PostPosted: Wed Apr 16, 2003 11:54 pm
by teenguyen
Hi Maxim, when I log into track studio at TrackStudio Login Page with bad log in or password, I got the following error:

gran.exception.GranException: User authentication failed.
at gran.app.AppClass.logon(AppClass.java:171)
at gran.jsp.LoginAction_jsp._jspService(LoginAction_jsp.java:135)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:484)

I also get different error when I reset user password with Password and confirm password are different, here is the error:

gran.exception.PasswordMismatchException: The password confirmation is incorrect.
at gran.app.UserManager.changePassword(UserManager.java:142)
at gran.jsp.ChangePasswordAction_jsp._jspService(ChangePasswordAction_jsp.java:134)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:484)

Please advise.
Thanks

Re: Error when authentication fail

PostPosted: Thu Apr 17, 2003 12:19 am
by admin
teenguyen wrote:Hi Maxim, when I log into track studio at TrackStudio Login Page with bad log in or password, I got the following error:

gran.exception.GranException: User authentication failed.
at gran.app.AppClass.logon(AppClass.java:171)
...
I also get different error when I reset user password with Password and confirm password are different, here is the error:

gran.exception.PasswordMismatchException: The password confirmation is incorrect.
at gran.app.UserManager.changePassword(UserManager.java:142)

Please advise.
Thanks


Yes, there is nothing wrong with it - this is just error message:
Code: Select all
        if (!password1.equals(password2))
            throw new PasswordMismatchException();


OK, it looks too cumbersome error message, we'll remove stack trace from it.

Re: Error when authentication fail

PostPosted: Thu Apr 17, 2003 12:30 am
by teenguyen
admin wrote:
teenguyen wrote:Hi Maxim, when I log into track studio at TrackStudio Login Page with bad log in or password, I got the following error:

gran.exception.GranException: User authentication failed.
at gran.app.AppClass.logon(AppClass.java:171)
...
I also get different error when I reset user password with Password and confirm password are different, here is the error:

gran.exception.PasswordMismatchException: The password confirmation is incorrect.
at gran.app.UserManager.changePassword(UserManager.java:142)

Please advise.
Thanks


Yes, there is nothing wrong with it - this is just error message:
Code: Select all
        if (!password1.equals(password2))
            throw new PasswordMismatchException();


OK, it looks too cumbersome error message, we'll remove stack trace from it.

Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.

Re: Error when authentication fail

PostPosted: Thu Apr 17, 2003 12:34 am
by admin
teenguyen wrote:Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.


Thank you for your note, we remove stack trace in "fixed" SP1 tomorrow.

Re: Error when authentication fail

PostPosted: Thu Apr 17, 2003 12:53 am
by teenguyen
admin wrote:
teenguyen wrote:Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.


Thank you for your note, we remove stack trace in "fixed" SP1 tomorrow.

Thanks, just for clarification I saw SP1 already on you website, did you mean you will remove stack trace and put into SP1 tomorrow?

Re: Error when authentication fail

PostPosted: Thu Apr 17, 2003 8:57 am
by admin
teenguyen wrote:Thanks, just for clarification I saw SP1 already on you website, did you mean you will remove stack trace and put into SP1 tomorrow?


Yes.

Re: Error when authentication fail

PostPosted: Thu Apr 17, 2003 3:47 pm
by admin
teenguyen wrote:
admin wrote:
teenguyen wrote:Thanks for your reply, that's quick. I also have another question regarding these error: Should Track Studio have some kind of error handling more gracefully when user password is mismatch. For example, there should be an message box like: "Password does not match, please enter again" rather than throw error to the users since they may think the application crashed. Just some though though I like this software very much.


Thank you for your note, we remove stack trace in "fixed" SP1 tomorrow.

Thanks, just for clarification I saw SP1 already on you website, did you mean you will remove stack trace and put into SP1 tomorrow?


Fixed, please check out SP2 on site.