throw « Exception « JSF Q&A





1. Comparator throws strange ClassCastException: pkg.MyClass cannot be cast to pkg.MyClass    stackoverflow.com

I am using a Comparator to sort a List<Entity> by it's property (of type Date) in viewscoped managed bean. The problem is that I keep getting the ClassCastException as follows -

...

2. JSF convertNumber throws java.lang.IllegalArgumentException: argument type mismatch Error    stackoverflow.com

I'm using JSF 1.2. My IDE is RAD. In my xhtml page Iam using a convertNumber tag to format an Integer variable. Integers need to be left padded with 0's if they ...

3. Duplicate Id error is thrown?    coderanch.com

5. Test if an error has been thrown    coderanch.com

7. Exception thrown during phase execution    coderanch.com

I am getting this exception after session timeout,If i try to access the page's in my application(If i click any menu in my application).My session time out is 1 minute.Any Solution for this???If any one know help me to come out of this issue...... Tomcat Exception: Current Session destroyed :22FF16083AFF3A43B353CEC3C28C662D Logging out user... Current Session created : 3E0FAC4A919C977EFB2F23C6A66E5998 at Wed Feb ...

9. Exception thrown during phase execution    coderanch.com

hi, i am new to Jsf, while i work with my application it throws the below exception.. I dont know how to solve it. Due to this there is no functional break. It occures after the unloading of classes. I am wondering is there any relation between unloading of classes and the exception. please help me in solving this issue at ...