https://bz.apache.org/bugzilla/show_bug.cgi?id=69304

--- Comment #11 from Axel Howind <a...@dua3.com> ---
Can you re-check the attached source? This does not seem to be compilable:

                                logger.error("inicia crearexcel");
                                try {
                                   workbook = new XSSFWorkbook();
                                   logger.info("inicia crearexcel 1 error
runtime" + e.getMessage(), e  ); //Not write in log server
                                }
                                catch (RuntimeException e){
                       logger.info("inicia crearexcel 1 error runtime" +
e.getMessage(), e  ); //Not write in log server
                                }
                                catch(Exception e ){
                   logger.info("inicia crearexcel 1 error " +e.getMessage(), e 
); //Not write in log server
                                }
                                finally{
                    logger.info("finally crear instabncia XSSFWorkbook " );
//write in log server
                                }

                                logger.error("inicia crearexcel 1"); //Not
write in log server but it should do it 

I assume you only use error level for logging to make sure the log messages
show. Anyway, inside the try-block, you use `e` which does not seem to be
initialised, at least there is neither declaration nor assignment visible.

In the following catch, you declare e (`catch RuntimeException e`), which
should give a compile time error if `e` were already declared in the scope.

So if this is not a snippet of your actual code, it will be difficult to find
out what's wrong.

Maybe you could try to create a minimal compilable example code that exhibits
the problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to