it would be really helpful if you could provide more context.
Are you using akka? Where do you define var TracerRef? What does the rest of your program look like?
All I can say based on that one line of code is that you declare an uninitialized variable TracerRef, that will remain uninitialized until you assign a value to it, for example:
// somewhere in your code you will have to assign a value, something like
TracerRef = actorContext.spawn("newActor")
To put it differently: why do you expect this variable to have a value if you do not assign a value?