I am getting an error while executing a swing application.on the click of a button,I am capturing the inputs passed by an user and passing them to my another programme,but i am getting the following error
Take a look at the full stack trace. It should tell you in which line the NPE occurs, which should make it rather obvious which variable is null.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus