Hi, You print the stack trace to the standard output. If you don't have any standard output (background execution), you don't see it. Avoid this and try to log the stack trace or directly the exception/throwable object even this makes your log more verbose.
Adrien ----- Mail Original ----- De: "FLV" <[email protected]> À: [email protected], [email protected] Envoyé: Mercredi 22 Septembre 2010 14h37:51 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: Exception I have only the log of exceptionCaught override function. i did this on my code @Override public void exceptionCaught(IoSession session, Throwable cause) throws Exception { log.error("exceptionCaught : " + session + " - " + cause.getMessage()); cause.printStackTrace(); session.close(true); } but i receive only that log is there something i can do in order to have more information about ? Thks Francesco 2010/9/22 Emmanuel Lécharny <[email protected]> > On 9/22/10 2:18 PM, FLV wrote: > >> Hi, >> in my application i am using >> >> *chain.addLast("readExecutor", new ExecutorFilter(new >> OrderedThreadPoolExecutor(), IoEventType.MESSAGE_RECEIVED)); >> >> chain.addLast("codec", new ProtocolCodecFilter(new >> FlashCrossdomainCodec())); >> >> //OrderedThreadPoolExecutor writerThreadPool = new >> OrderedThreadPoolExecutor(); >> chain.addLast("writeExecutor", new ExecutorFilter(new >> **OrderedThreadPoolExecutor(), >> IoEventType.WRITE));* >> >> <snip/> >> >> >> do you think something is wrong ? >> > It would help to know where you get this NPE... > > Any stack trace ? > > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > >
