Community
Participate
Working Groups
Build Identifier: M20090211-1700 We user BIRT viewer to display some reports. When the database is shutdown, UI shows the whole jave exception trace stack. It does not make sense to user. If it shows the meaningful message, that's better. We identify the file birt/pages/common/Error.jsp. It shows like this: <TR><TD NOWRAP> <% if ( error != null ) { if ( error.getMessage( ) != null ) { out.println( ParameterAccessor.htmlEncode( new String( error.getMessage( ).getBytes( "ISO-8859-1" ),"UTF-8" ) ) ); } else { PrintWriter writer = new PrintWriter( out ); error.printStackTrace( writer ); } } %> </TD></TR> Can it be modified to show friendly message like "An operation error occurs, please contract your system administrator"? Reproducible: Always Steps to Reproduce: 1. create a jsp to hold a report created by BIRT 2. shut down database 3. run report
Created attachment 172710 [details] screenshot for birt exception