Solved PermMissingElem in java