General question about empty stack exception is Netty doing anything I should be aware of?

infectedrhytms infectedrhythms at hotmail.com
Sun May 16 23:56:42 EDT 2010


Hi I'm using a 3rd party lib that throws an empty stack but only does so on
the JIT/Warmup of the VM. I can reproduce this all the time...

I use JMeter to stress my application...

I setup 50 users and run the stress test and the 3rd party lib throws an
empty stack exception. I restart the stress test but not my application and
NO empty stack exception.

I restart the application and rampup the stress test NO empty stack
exception.

I'm instantiating a new business class within the business handler
messageReceived. My business class then loads this 3rd party lib... The 3rd
party lib seems to be using the awt event mechanism.

Some people suggested that there may be some kind of concurrent access and
the stack isn't ready, but I doubt it cause I'm doing NEW per business
handler message received. So I wonder if NETTY has anything to do with it,
by I seriously doubt it.





I have a pretty straight forward NETTY application

I'm using a OrderedMemoryAwareExecutor.. So bassically my pipline is as...

pipeline.addlast(MyIntegerHeaderDecoder)
pipeline.addlast(StringDecoder)
pipeline.addlast(StringEncoder)
pipeline.addlast(OrderedMemoryAwareExecutor)
pipeline.addlast(MyBusinessHandler)


In my business handler

messageReceived(...)
{

instatiate my business class


}

MyBusinessClass
{

instatiate 3rd party lib.

}





-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/General-question-about-empty-stack-exception-is-Netty-doing-anything-I-should-be-aware-of-tp5063587p5063587.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list