stack trace - Java StackTrace returns line number that only has close bracket -


i run stacktrace on java program, , returns line number points line has close bracket. thread code in seems in bad state, there no exceptions thread consuming 98% or more of cpu. whenever see cpu being hogged, or notice thread in bad state (events not being processed), stacktrace points line shown below. while have seen couple of times, cannot manually reproduce problem. know means when stacktrace points close bracket?

    ... while (true) {     try {         event = eventblockingqueue.take();         ... process event ...     } catch (interruptedexception e) {         ... log ...     } catch (runtimeexception e) {         ... log ...     } <-- stacktrace points here! } 

looks source code debugging not same bytecode (compiled code). try cleaning , rebuilding project. if you're debugging jar, make sure source code have matches version of jar have.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -