Update TAallocation.java

fixed some null pointers