I am clicking rightclick->Session.java -> RUNWhere are you doing this? Is this right in your OS? Is this happening in an IDE? Maybe in some other apparatus? Please be much more specific in what you are doing and what you are trying to accomplish.
didn't assign any value to the "session" variable, and therefore you get a plain ordinary NullPointerException.
session.logon("https://secure-a.crmondemand.com", "USERID", "PASSWORD");