Home Tutorialhelp Comment Error in running the sample

 
 

Comment

Muthu
Error in running the sample,
March 7, 2008 at 4:51 PM

Hi

When running the above example i am getting the following error.

ava.lang.IllegalArgumentException: Cannot convert 11 of type class java.lang.String to class com.TableBean$perInfo

what is the reason for this error.

Thank You
Muthu
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Server Faces - JSF

JSF selectManyCheckbox Tag
JSF selectManyCheckbox Tag      This section is to describe you selectManyCheckbox tag of JSF.... selectManyCheckbox renders these options in a table where each option is set 

Java Server Faces Questions

JSF Sample Programs
JSF Sample Programs  I need a JSF sample programs 

JSF Tutorials & Examples

Tomahawk selectManyCheckbox tag
Tomahawk selectManyCheckbox tag  .... selectManyCheckbox renders these options in a table where each option is set to one...; <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" 

WebSevices Questions

Axis2 sample program
Axis2 sample program  Hi.. I have tried the HelloWorldServie example in axis2. While running which showing as a faulty service. The error showned as follows This Web axisService has deployment faults Error 

Framework Questions

error in sample example
error in sample example  hi can u please help me XmlBeanFactory class is deprecation in java 6.0 so, pls send advance version class   Use XmlBeanFactory(Resource) with an InputStreamResource parameter 

Java Server Faces Questions

jsf application war file not running in my jboss 6.0 on linux 5.5
jsf application war file not running in my jboss 6.0 on linux 5.5  17:15:47,647 INFO [config] Initializing Mojarra (1.2_08-b06-FCS) for context...:490ms 17:16:13,715 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web 

Java Server Faces Questions

JSF error
JSF error  some of the users are not able to update the db. getting the error "An Error Occurred: Error calling action method of component with id CreateorManageOffer:jidjsp134312524923 Caused by: java.lang.NullPointerException 

Framework Questions

jsf error
jsf error  type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot 

Java Server Faces Questions

Jsf biggener
Jsf biggener  hi friends, am new to jsf,i got an exception while running my application.am using netbeans ide to run my application,below... encountered an internal error () that prevented it from fulfilling this request 

Ajax Questions

JSF
:selectManyCheckbox value="#{user.activationModecheckbox}" layout="pageDirection"> 

Java Technology Tutorials

INTRODUCING JAVA SERVER FACES (JSF)
needed for running the jsf program are present in , lib folder of WEB-INF... INTRODUCING JAVA  SERVER  FACES (JSF)  ... ----------------------------------- JSF Home | PART-1 | PART-2 | PART-3 In this second part 

WebSevices Questions

Error running webservice
Error running webservice  Hi, I am getting following error: 05/10 12:45:46 ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error 

JSP Servlet Questions

JSF error - JSP-Servlet
JSF error  I tried to retrieve data for a user from database using ,i... : jsf h:commandLink example For more information on JSF commandLink Tag visit 

RMI Questions

Java Compilation and running error - RMI
Java Compilation and running error   The following set of programs...); } catch(Exception e) { System.out.println("Error: " + e..."); } catch(Exception e) { System.out.println("Error:" + e); } try 

Java Server Faces Questions

Replace JSF Standard Error Message
Replace JSF Standard Error Message  How can we replace the JSF Standard Error Message 

JSP Servlet Questions

how to solve 'Stop Running This Script' Error ?
how to solve 'Stop Running This Script' Error ?  Hi.. When opened the page on IE browser(version : 8.0),it gives an java script error (i.e.Stop Running This Script). I have used jsp/servlet for this. Please help to resolved 

Hibernate Questions

Problem in running first hibernate program.... - Hibernate
Problem in running first hibernate program....  Hi...I am using eclipse ganymede and mysql.I have already configured mysql and did few sample programs.It worked fine.To run a hibernate sample program,I followed the tutorial below 

Java Beginners

error while running a jsp page in netbeans
error while running a jsp page in netbeans  this is error that come under column "java db processes" in netbeans Exception in thread "main" java.lang.ExceptionInInitializerError 

Java Beginners

error while running the applet - Java Beginners
error while running the applet  import java.applet.Applet; import...); ++num; } } } } i have problem while running the code , error... is correct but u have problem in running the program. You follow the following steps 

Hibernate Questions

Im getting this error while running JPA project
Im getting this error while running JPA project  Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: examplePersistenceUnit] Unable to configure EntityManagerFactory 

JSP Servlet Questions

error
error  I am running a program insert into statement in sql using.../ServletUserEnquiryForm.shtml getting an error given below SQLException caught: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error please suggest 

Java Server Faces Questions

JSF error - Java Server Faces Questions
JSF error  When i am trying to run my jsf application using tomcat6.0 in eclipse europa ide i am getting the error like "java.lang.NoClassDefFoundError: javax/faces/event/SystemEventListener" Iam using jsf-api & jsf 

SQL Question

Find the Running time in sql***
Find the Running time in sql***  I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job... want to find the running time of both the jobs. (i.e when i run the query 

WebSevices Questions

While running jsp
While running jsp  I found this error when i run the client.jsp can anyone help me javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:8080/WebService1/MyWebService?wsdl. It failed with: http 

Java Server Faces Questions

JSF code Error - Java Server Faces Questions
JSF code Error  Hii Friends, When Iam working on JSF..,What jars are have to add in Applicaton? Thanks and Regards By Sreedhar 

Development process Questions

Running Java Applications as a Windows Service
Running Java Applications as a Windows Service  sample code for "Run a Java application as a Windows Service 

Java Server Faces Questions

JSF-Error - Java Server Faces Questions
JSF-Error  Error in JSP when I used to run loging.jsp the below message I am getting. javax.servlet.jsp.JspException: Cannot find FacesContext... visit for more information: http://roseindia.net/jsf 

Framework Questions

JSF - Framework
JSF  HI,can any one send me a sample web.xml, faces-config.xml... Servlet *.jsf --------------------------------- faces...://www.roseindia.net/jsf/richfaces/creating-configuration-files.shtml Thanks 

JDK 6 Tutorials

Installing JSF 1.1 in TOMCAT 5.5.23
running the application. If you want to run a sample application provided by JSF...Installing JSF 1.1 in TOMCAT 5.5.23   ... installation of JSF 1.1 to TOMCAT 5.5.23. Java Server Faces (JSF) requires some 

Java Beginners

Running and deploying Tomcat Server
Running and deploying Tomcat Server  HI Somebody has given the solution but it doesn't work out. kindly tell the solution for my problem which i... button and the browser is showing an error like Status 404 the resource 

Java Beginners

About running the Tomcat Server
About running the Tomcat Server   HI I want to run a simple program on servlet and the application is a simple program Hello world... on Submit button and the browser is showing an error like 404 the path servletDemo 

JSP Servlet Questions

error of HTTP Status 404 while running servlet on apache tomcat server
error of HTTP Status 404 while running servlet on apache tomcat server  i have followed the steps given here.Also hava put servlet-api in lib folder... the apache tomcat page. It mean that my tomcat server is up and running. but whn i 

SQL Question

Upgraded MySQL from 5.1 to 5.5, running into PDOException: SQLSTATE[42000]: Syntax error or
Upgraded MySQL from 5.1 to 5.5, running into PDOException: SQLSTATE[42000]: Syntax error or  Upgraded MySQL from 5.1 to 5.5, running into PDOException: SQLSTATE[42000]: Syntax error or ‚ 

Framework Questions

Deployment of JSF - Framework
Deployment of JSF   Hello, I am getting the following error while deploying the JSF application in JBOSS 4.0.0, I have followed all the steps...-INF\lib\jsf-impl.jar(com/sun/faces/taglib/jsf_core/ViewTag.class) class file 

Java Server Faces Questions

jsf: generate another panelGrid
jsf: generate another panelGrid  hello the following is my code print("code sample"); <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> 

Java Server Faces Questions

Hibernate JSF JPA Integration Error - Java Server Faces Questions
Hibernate JSF JPA Integration Error  Hibernate JSF JPA Error I am trying to configure hibernate, JSF and JPA on Jboss server. I am getting following error. 11:55:53,625 FATA  Hi,After long struggle I finally got 

Java Server Faces Questions

problem with executing JSF file(Build failed)
;The below is complete stack trace while running above JSF application: strong...problem with executing JSF file(Build failed)  *while executing below...: <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%> < 

Java Server Faces Questions

JSF Date picker error - Java Server Faces Questions
JSF Date picker error  hi friend thanks for your... is the error on my code.here i have placed my code. Please kindly send me if there any mistakes happened.and i saw one error in my tomcat console. That error 

Java Server Faces Questions

Exception in jsf application
Exception in jsf application  when i am running application i am getting org.apache.commons.logging.LogConfigurationException and HTTP Status 404 -The requested resource () is not available Exception so i want to know reason 

Java Server Faces Questions

JSF
JSF  What is JSF 

Java Beginners

Running Batch files in java - Java Beginners
are sending you some sample program code for running batch (.bat) file in Java. We have used "exec()" command for running the batch file. Suppose we have created...Running Batch files in java  Hi, I am writing a program which 

Java Beginners

Simple Login(JSF)
Simple Login(JSF)  I have tried to run the Simple Login code provided using netbeans. It gives me error. CAn I run it using netbeans or need to config anything in order to run the prog 

Ajax Questions

Issue in JSF and Richfaces.
Issue in JSF and Richfaces.  Hi,I am with a issue in JSF... and leave rest of the fields as empty and press submit I vil get error messages beneath... of the error messages are disappering.They should be there until again the user enter 

Java Server Faces Questions

exception in thread main while running servlet
exception in thread main while running servlet  I got exception in thread main no such method error while running servlet. I have added servlet.api.jar file in classpath.my classpath is C:\Program Files\Apache Software Foundation 

Spring Framework Questions

getting classnotfound exception while running login application
getting classnotfound exception while running login application  hi, I am getting Error creating bean with name 'urlMapping' defined... running the Login Application   Have a look at the following link: Spring 

Java Server Faces Questions

JSF using Tomcat 6.0 - Java Server Faces Questions
JSF using Tomcat 6.0  Hai i have a problem during deployement time. Actually this is my first example. I have already run one jsf application... org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Mar 3, 2010 12:09 

Java Server Faces - JSF

JSF Books
JSF Books          Introduction of JSF Books When we heard about JavaServer? Faces (JSF) at the 2002 Java One conference, we 

Java Beginners

Trouble in running Dos Command from Java Servlet
Trouble in running Dos Command from Java Servlet  Hello All, I have...:\FileListing"; Runtime.getRuntime().exec("cmd /c dir"); I gets error as: java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannnot 

Java Server Faces Questions

jsf - Java Server Faces Questions
jsf  i tried first example of jsf i followed everything whatever they given in tutorial but after running the application it gives: 404-The requested resource (/jsf Example/) is not available. Please give me the solution 

JSP Tutorials

JSF - Java Server Faces Tutorials
.    JSF selectManyCheckbox Tag This section is to describe you selectManyCheckbox tag of JSF. It is used to provide the user to select...JSF - Java Server Faces Tutorials Complete Java Server Faces (JSF 

Eclipse Plugins

Running Man Patch
Running Man Patch      ... by the Running Man icons from Eclipse 2.1. The "Clear Console" icons... for an occasional internal error when browsing some kind of folders 

JSF Tutorials & Examples

JSF Interview Questions
the value of the key for a particular type of error specified in JSF... the appearance of error messages in a JSF Page? The appearance can...JSF Interview Questions      

Training

Java Server Faces (JSF)
JSF Events Error Handling... Java Server Faces (JSF)       JSF Training Course Objectives 

Framework Questions

JSF
JSF  In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we... and embed that into applets also rite.. Do u mean JSF also does the same internally 

General

Running the Test Plan
Running the Test Plan      .... To indicate that the test is running a green square lits up in the upper-right.... The green square will change to grey Once JMeter  finishes running your 

Framework Questions

JSF Select one menu - Framework
JSF Select one menu  Hi, I am new in Jsf, I use one this is based... of JSF is not showing it show (can‚??t display the mainlayer component in the visual Design Editor, Error messages from the component:java.lang.NullPointerException 

General

Collection of Large Number of Java Sample Programs and Tutorials
Collection of Large Number of Java Sample Programs and Tutorials Java Collection Examples Java 6.0 New Features (Collection Framework... will learn you will learn how to iterate collection in java. A running 

Java Beginners

MAin error
MAin error  Error while running hello program in another dir rather in bin. path is already set. java -version jdk1.6.0_24 no error while compilation but @ d tym of runnin error in main class is generated Exception in thread 

Java Server Faces

Versions of JSF, Latest Version of JSF, Latest Release of JSF
JSF Versions      JSF started its journey from version 1.0 and now it has come to the latest version of JSF is 1.2. The listing of versions released so far are : JSF 1.2 (11 

Jmeter Tutorials

Running the load test
Running the load test       You can also view the graph for your test after running.... Average is being calculated as the total time running divided by number of requests 

Java Server Faces Questions

How to display nested ArrayList in JSF
to display it in jsf but i dont know how and i am getting mad. I have nested but it shows an error: I am trying with but i dont understand... is an ArrayList<ArrayList<String[]>> arrPartners I want to display it in jsf 

Java Server Faces Questions

JSF - Java Server Faces Questions
JSF  in your jsf tutorial u have given an example for tag .I am unable to get data into table when i was deploying the application and with out any error. can u give me details of it.Moreover u have not given 

Java Server Faces Questions

JSF - Java Server Faces Questions
JSF  Hi,I have created one login form on which I have added a basic JSF validation of required="true" I problem I am facing is when I leave bothe user name and password field empty it displays the error message properly 

JSP Servlet Questions

have any one tried ajaxanywhere with jsp/servlet please provide sample
AAUtil but gives error on compile.   Hi Friend, Please visit 

Java Server Faces

JSF Life Cycle
JSF Life Cycle      In this we will understand the life cycle of JSF application.  Life cycle of a JSF web application starts when user makes a request. On submission 

Java Server Faces Questions

jsf
 

Java Server Faces Questions

jsf - Java Server Faces Questions
in advance.  Hi, Please send me error code and explain in detail. Visit for more information. http://www.roseindia.net/jsf... 1 Faces Servlet *.jsf 

Struts Examples

Running and Testing Struts 2 Login application
Running and Testing Struts 2 Login application       Running Struts 2 Login Example In this section we will run the example on Tomcat 6.0 server and check how it works. Running Tomcat To run the Tomcat 

General

Java error code
Java error code       Java Error code are the set of error that occurs during the compile-time and Run-time. From java error we have given  you a sample of code 

Ajax Questions

Ajax sample
 

Design concepts & design patterns Questions

swing components are not running in my system what to do now??
swing components are not running in my system what to do now??  Exception in thread "main" java.lang.ExceptionInInitializerError...) ... 3 more this type of error coming what to do 

Java Server Faces - JSF

Simple JSF Hello Application
Simple JSF Hello Application      This is the simplest JSF application  that enables even a  novice to understand easily the steps to follow to create own JSF 

JSP Servlet Questions

JSF- simpleHelloBy EnteringName - JSP-Servlet
JSF- simpleHelloBy EnteringName  Hi, While I am trying to deploy SimpleHelloByentryingName example from JSF Session from roseindia, Following error...:33,127 ERROR [org.apache.catalina.core.ContainerBase] Exception sending context 

Framework Questions

not able to deploy application war on JBOSS 6.0 running on linux 5.5
not able to deploy application war on JBOSS 6.0 running on linux 5.5  While deploying a war file on Linux5.5 through jboss 6.0 admin console, its giving me following error javax.servlet.ServletException: Java heap space 

Spring Framework Questions

Getting an error :(
Getting an error :(  I implemented the same code as above.. But getting this error in console... Console Oct 5, 2012 10:18:14 AM... start INFO: Jk running ID=0 time=0/15 config=null Oct 5, 2012 10:18:16 AM 

JUNIT Questions

Running JUnit
Running JUnit  Hi sir How can we run JUnit or Run test case Using JUnit using command prompt or CMD? Is there any alternate way of running test cases?   ou can run JUnit test case by running following command on CMD 

Java Server Faces Questions

jsf f:parm value dynamical settings
jsf f:parm value dynamical settings  <%for(int x=0;x<5;x++) { %> // this is error inbinding <% } %> please share your thought how can i resolve this issue , i want to set value dynamically 

Java-Tutorials

Sample Java program for beginners
installed in your machine for compiling and running the program. The first program 

JUNIT Questions

Running JUnit
Running JUnit  Hi sir How can we run JUnit or Run test case Using JUnit using command prompt or CMD? Is there any alternate way of running test cases?   Hi friend You can run JUnit test case by running following 

Java Server Faces - JSF

JSF inputSecret Tag
JSF inputSecret Tag      This section illustrates you more about the JSF HTML...; %> <%@ taglib uri="http://java.sun.com/jsf 

Java Server Faces Questions

jsf command link - Java Server Faces Questions
jsf command link  Hi deepak ji , i have created one jsf page... friend, Code having error : Replace with this Code... problem on JSF visit to : http://www.roseindia.net/jsf/commandLink.shtml 

Java Server Faces - JSF

JSF validator Tag
JSF validator Tag      .... So user can find out faults and correct it. JSF provides built-in validation rules. JSF also helps to customize the validation rules to make it  according 

Java Server Faces - JSF

JSF validateLongRange Tag
JSF validateLongRange Tag      ... by JSF to check whether the local value (a numeric value or any string that can... in filling the input component then the error message flashes to show this error. Code 

Java Beginners

Need Sample code To check the Windows services status is up or down in Linux mechine
Need Sample code To check the Windows services status is up or down in Linux... application please provide any sample code. below code can work in only windows box...")) System.out.println("Running"); } line 

WebSevices Questions

ISAPI Filter Error (
ISAPI Filter Error (  MFC: For ISAPI Filter geting error from Web service i.e ("Error:- InternetOpenUrl()") I have writen MFC application for ISAPI... but when we are doing load testing we are getting error from web service.Error 

Spring Framework Questions

spring mvc validation error messages
spring mvc validation error messages  on running the application i getting the validation error in spring..why? Thanks 

JSP Servlet Questions

javax.servlet not found error
javax.servlet not found error  why iam getting javax.servlet error while running my servlet program...after setting the classpath also i am finding that problem 

JDBC Questions

java runtime error - JDBC
java runtime error  when i m running my program using type1 driver it is showing a runtime error of SQLException of unable to create the connection object.please give the solution 

WebSevices Questions

connection error - WebSevices
connection error   while conncting a tool(jet profiler for my sql 1.0 released) with my running application ,it reflects following error: connected,but failed to login,read time out 

JDBC Questions

java runtime error - JDBC
java runtime error  when i m running my program by using jdk1.6.0 then it is giving the error of classunsupported major.minor version 50.0.to remove... version error 49.0.so, please suggest how will i compensate this problem 

Java Server Faces - JSF

JSF selectOneMenu Tag
JSF selectOneMenu Tag      ... Description : <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix 

Java Beginners

sample Applet program
sample Applet program  I need Source Code for sample Applet program.   Hi Friend, Please visit the following link: Applet Tutorials Thanks 

Java Beginners

JFREE error again
JFREE error again  hi......... As i had asked u the jfree error i.... but then also its giving me error i am able to compile the code but now when i am running the code i am getting expection that: Exception in thread "main 

JSF Tutorials & Examples

JSF Navigation By Example
JSF Navigation By Example     .... This section illustrates you about the JSF navigation by providing the example with the complete code of the program. In the Roseindia JSF Tutorial you will see 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

Hibernate Questions

Hibernate error in eclipse
Hibernate error in eclipse   Hi... while running my application i got these type errors...can youme please? Exception in thread "main" java.lang.ExceptionInInitializerError at com.StoreData.main(StoreData.java:11) Caused 

WebSevices Questions

sample code - WebSevices
sample code  Hi Guys, can any body tell me use of webservices ? I want a sample code using xml with one application server bea weblogic and webserver tomcat   Hi Friend, Please visit the following link 

Framework Questions

groovy compilation error - Framework
groovy compilation error  while i am running the grails application , i got the error message like: [groovyc...] [groovyc] 1 error Compilation error: Compilation Failed how we can resolve 

Advertisements Advertisements
 

 

 

DMCA.com