You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure how to reproduce this and I worked around it by just doing if something != null but basically the bytecode stuff was wrapping enterMethod and exitMethod to be called around one of my methods(it seemed to always be the first method in my catch block) and initMethod was nevercalled.
Since initMethod was never called, I ended up with a nullpointer in enterMethod as it requires initMethod to be called.
The logic on whether to wire initMethod is strange in my opinion. The way it should be coded I would think is if(enterMethodAdded || exitMethodAdded) addInitMethod()
but instead it depends on different stuff.
The text was updated successfully, but these errors were encountered:
I am not sure how to reproduce this and I worked around it by just doing if something != null but basically the bytecode stuff was wrapping enterMethod and exitMethod to be called around one of my methods(it seemed to always be the first method in my catch block) and initMethod was nevercalled.
Since initMethod was never called, I ended up with a nullpointer in enterMethod as it requires initMethod to be called.
The logic on whether to wire initMethod is strange in my opinion. The way it should be coded I would think is if(enterMethodAdded || exitMethodAdded) addInitMethod()
but instead it depends on different stuff.
The text was updated successfully, but these errors were encountered: