Hi Azeez, Sorry lost track of this.
1. The first one is the easiest. Insert malformed XML into user-mgt.xml and start the server. Console is clean (no exceptions). Server hangs and does not start-up. There is no clue to what went wrong. Just make <Configuration> into <!--Configuration>. 2. Create any possible error that would result in the user profiles section being corrupted. No exceptions on the BE. The front-end returns the same error message for all types of errors making debugging a nightmare. We reproduced this by a an accidentally corrupted database, but there could be many other ways to get to this. Though not quite related, we noticed that usernames on Carbon 3.2.3 are case-sensitive, which is a L1 regression. Also, just as in 1 and 2 above, the error is failed login attempt, and BE is dead silent to what went wrong. It took at least a dozen retries to figure out and a fair amount on time wasted in understanding what went wrong. Though the FE might give out a simple authentication failure, I'd expect the BE to be more specific to what went wrong. Thanks, Senaka. On Mon, Jan 23, 2012 at 8:19 PM, Afkham Azeez <[email protected]> wrote: > Please post the relevant code segments. This is something we keep > repeating during code reviews. > > On Fri, Jan 20, 2012 at 11:16 PM, Senaka Fernando <[email protected]> wrote: > >> Hi all, >> >> Just like it can be ugly to see lengthy stacktraces at times, seeing the >> UI not working and errors throwing and no stacktrace or clue of what went >> wrong is extremely annoying. I was getting some errors from UM this time, >> and multiple kinds of it; and, had to debug the code to learn what was >> going wrong. The server is failing to work, but the console and the FE has >> no clue to what went wrong. It's greatly appreciated if we could go through >> some of these code and check that we properly throw exceptions. I will >> follow up on the instances where exceptions were not thrown and how to >> reproduce them. >> >> Thanks, >> Senaka. >> >> -- >> *Senaka Fernando* >> Product Manager - WSO2 Governance Registry; >> Associate Technical Lead; WSO2 Inc.; http://wso2.com* >> Member; Apache Software Foundation; http://apache.org >> >> E-mail: senaka AT wso2.com >> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 >> Linked-In: http://linkedin.com/in/senakafernando >> >> *Lean . Enterprise . Middleware >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
