It takes 22 minutes for the cercanias/rodalies train to travel from Barcelona Prat to Barcelona Sants where you catch the train to Pamplona and it runs every 30 minutes.
As in 1508 - 1527 ... leaving not enough time to transfer from the Renfe Rodalies train to the Renfe train to Pamplona.
So somehow you have to get to the 1438 Rodalies train to Sants.
Now you can see the time appreciation is a bit short. You have to get off the plane, through customs and baggage claim, and find the rodalies train in 1 hour and 8 minutes.
Did I mention the Rodalies train station is in terminal 2? Which terminal do you arrive in?
You might make it. However, if your plane is delayed (a likely event) you're screwed.
I'd allow at least a 3 hour window for leaving the airport ... even if you likely won't need that much time. I've been on too many flights that arrive late.
I would suggest trying to cancel the train ticket to Pamplona and either reserve a seat on a later train (or ViBaSA bus) or get a ticket when you arrive at the station.
As for Pamplona to SJPdP ... I'd suggest taking the bus in the AM. You'll likely be arriving in Pamplona too late for Corazon Puro to pick up.
Aena Barcelona
http://www.aena.es/en/barcelona-airport/index.html
Renfe Rodalies Barcelona
http://www.renfe.com/EN/viajeros/cercanias/barcelona/index.html