You've got two requirements:
1) I need to pass each parameter for my app to work.
2) I need some parameters to be null sometimes.
These two requirements are mutually exclusive.
You need to fix your app so that it can handle null parameters. You can never guarantee that a user will behave himself... for instance, even if you have some client-side validation, a naughty user can modify the page on his side and get around your client-side stuff.
So before you ever attempt to use a parameter,
test to see if it's null first. Then you won't get a nullpointer exception. If you absolutely needed that parameter for something, and it's tests null, then send the user off to an error page.