Re: Problem # NPE: MPLAB X IDE v5.15 | PICKit3 # NullPointerException on Debug
☼ Best Answerby molrse 2019/04/24 10:02:00
It is quite possible that whatever is going on with PK3 has nothing to do with these exceptions. (Actually even probable.)
Are you sure you don't have IOPin or Stimulus windows open in MPLAB X? Even if they are open for another project, try closing them if they are open.
You could try clearing your user cache. Sometimes bad data gets stuck there. Go to Help about to learn the location of your user directories.
Next you might try switching to simulator, open IOPin and Stimulus, close them again, and then switch back to PK3. (Kind of "reminding MPLAB X" that the IOPin and Stimulus windows are indeed closed. :P )
All of these suggestions are "shots in the dark", as I really don't know what's wrong. And, again, it is likely that your PK3 problems have nothing to do with these exceptions. I'm the simulator guy and don't know that much about PK3. I just noticed that you were getting simulator exceptions and chimed in.