I guess NullPointerException happens because of `mCurrentOperation` is null. Maybe this variable isn't initialized yet in `onStart` but is used in other methods like `onQuadTo`, `onLineTo`...