It appears that your bean class is throwing a NullPointerException. It appears, that this exception is erroneously getting wrapped many times by jBoss. Look about halfway through the trace and you should see the line number of your NullPointerException.
i went through the code and found that the NullPointerException came when the Servlet calls the Bean method.
can u tell me what is wrong and why this error pops up ?.
at java.lang.reflect.Method.invoke(Native Method)
You want to know why your code throws a NPE at line 43 of your RegIDGenBean class? I am assuming it is your class...check the code...