|
Re: Porting Talon SRX
Yep GeeTwo is right. frontRight is being created but you are not assigning it to a new'd object instance, so it stays null.
Remember frontRight is just a reference. In java you must assign to the return of a new operator to actually create the relevent object. If you put a breakpoint just before the NullException occurs and add frontRight to your watch list, you'll see it's null.
|