Home Tutorialhelp Comment Is this working?

 
 

Comment

pavel
Is this working?,
January 8, 2008 at 9:13 PM

there is something wrong with this code, may be i don't have the good driver, i have installed Mysql Server 5.0. and added mysql-connector-java-5.1.5 by adding it as library in eclipse. It doesn't work.

type Rapport d'exception

message

description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête.

exception

javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)


cause mère

java.lang.NullPointerException
net.pavel.Insert.execute(Insert.java:30)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:167)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121)
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)



Has someone succeeded to get it worked?

Thank you for answers

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Struts Questions

tiles 2 with struts2 - Struts
 

Framework Questions

Struts 2
 

Struts Questions

struts2 - Struts
 

Struts Questions

struts 2 mysql
 

Struts Questions

struts2
 

Struts Questions

Struts2 connection pooling - Struts
 

Struts Questions

Struts2 connection pooling - Struts
 

Struts Questions

struts2+hibernate - Struts
 

Struts Questions

struts2
 

Struts Questions

Struts2
 

Struts Questions

Struts2 Validation Problem - Struts
 

Struts Questions

Struts 2 - Beganner
 

Struts Questions

Struts 2 + hibernate
 

Struts Questions

how to prepopulate data in struts2 - Struts
 

Struts Questions

Value Retain in struts 2 - Struts
 

Struts Questions

struts2 - Struts
 

Struts Questions

struts 2 problem with netbeans - Struts
 

Struts Questions

struts2 - Struts
 

Struts Questions

Struts 2 Radio Button
 

Struts 2 Tutorials

Struts 2 MySQL
 

Struts Questions

Diff between Struts1 and struts 2? - Struts
 

Struts Questions

Struts2 - Struts
 

Framework Questions

Struts 2 Validation
 

Struts Questions

Cannot run Struts 2 on IntelliJ Project - Struts
 

Struts Examples

Struts 2 Training
 

Struts Questions

Struts 2 - Validation - Struts
 

Struts Questions

Struts2 - Struts
 

Struts Questions

Struts 2
 

Struts Questions

jsp to struts 2 action conversion problem - Struts
 

Struts Questions

Struts 2 File Upload error
 

Struts Questions

My first struts 2 program
 

Struts Questions

struts 2 tabbedpanel - Struts
 

Framework Questions

Struts 2
 

Struts Questions

New to struts2
 

Struts Questions

Struts 2 problem - Struts
 

Struts Questions

select tag in Struts2 to handle Enums - Struts
 

Framework Questions

STRUTS2
 

Struts Questions

Struts2
 

Struts Questions

Struts 2 RequiredFieldValidator - Struts
 

Struts Questions

STRUTS
 

Struts Questions

STRUTS
 

Struts 2 Tutorials

Architecture of Struts 2 Framework
 

Struts Questions

Struts 2 Integration with Struts 1
 

Struts Questions

dwr with struts2 - Struts
 

Struts Questions

Need help to create Struts 2 MySQL based HRMS application.
 

Struts Questions

Struts
 

Development process Questions

struts
 

Struts Questions

struts2 folder struture - Struts
 

Struts Questions

Struts2 UI - Struts
 

Struts Questions

struts
 

Struts Questions

Cohabitation struts 1 and 2 - Struts
 

Struts 2 Tutorials

Struts 2 Ajax
 

Struts Examples

Introduction to Struts 2
 

Struts Questions

Integrating Struts 2 with hybernate - Struts
 

Struts Questions

Help in Struts2
 

Struts-Tutorials

Struts 2 - History of Struts 2
 

Struts Questions

struts
 

Struts Questions

Struts2 Helloworld problem -Please help - Struts
 

Struts Questions

query on struts2 - Struts
 

Struts Questions

Struts2 tags - Struts
 

Struts 2 Tutorials

Struts 2 Login Application
 

Struts Questions

struts
 

Struts Questions

struts
 

Struts 2 Tutorials

Struts 2 version 2.3.15.3 released
 

Struts Questions

Struts 2 online tutorial
 

Struts Questions

regarding struts 2
 

Struts Questions

struts 2 testing
 

Struts Questions

Where to learn Struts 2?
 

Struts-Tutorials

Struts 2, JPA and Hibernate Training
 

Struts Questions

contains for list in struts2 - Struts
 

Struts Questions

Struts
 

Struts Questions

Struts2 blank application - Struts
 

Struts Questions

using displaytag with struts2 - Struts
 

Struts Questions

struts2 properties file
 

Struts Examples

Struts 2 Tutorial
 

Framework Questions

struts2 - Framework
 

Blog

Sitemap Struts Tutorial
 

Struts Questions

STRUTS
 

Struts Questions

STRUTS
 

Struts Questions

MYSql with struts
 

Struts Questions

Struts 2 Video Tutorial
 

Framework Questions

struts2 - Framework
 

Struts Questions

Java - Struts
 

Struts Questions

What is Struts 2 framework
 

Struts 2 Tutorials

Interceptors in Struts 2
 

Struts Questions

Struts 2 + Hibernate
 

Struts Questions

struts 2 project samples
 

Free Magazine

Struts2
 

Struts Questions

tree tag in struts2 - Struts
 

Struts Questions

Time Picker in struts 2 - Struts
 

Struts Questions

Struts2 ComponentTagSupport - Struts
 

Struts Questions

Struts
 

JSP-Tutorials

Struts 2 Actions
 

Struts Questions

Migrating from struts1to struts2 - Struts
 

Struts Questions

Value Retain in struts 2 - Struts
 

Programming Tutorials

Struts 2 Application
 

Struts Questions

Achor tag. Struts2 code - Struts
 

Java Beginners

session maintain in struts 2
 

Struts Examples

Struts 2, JPA and Hibernate Training
 

Struts Questions

Struts 2 Tutorial
 

Advertisements Advertisements
 

 

 

DMCA.com