cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir Azmi" <aa...@centervilletech.com>
Subject Add action not working????
Date Thu, 01 Mar 2001 00:27:56 GMT

Hi,

I am using latest CVS C2 release along with Tomcat nightly build. I am
trying out "action" samples with SQL Server2000 as backend. When I run
the "employee.xsp" sample, update and delete actions work just fine but
for add action I keep getting NULL pointer exception. 

Can u give me an idea why this must be happening.


Thanks in advance

Amir


Following is the part of the cocoon.log file which reflects the error.


****************************** ERROR LOG *****************

org.apache.cocoon.ProcessingException: Could not add
record:java.lang.NullPointerException
	at
org.apache.cocoon.acting.DatabaseAddAction.act(DatabaseAddAction.java:10
3)
	at
org.apache.cocoon.sitemap_xmap.action_set_employee(sitemap_xmap.java:995
)
	at
org.apache.cocoon.sitemap_xmap.process(sitemap_xmap.java:2241)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:154)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:108)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:215)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:387)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:246)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:191)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:254)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:201)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:208
7)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:164)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:162)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:818)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
897)
	at java.lang.Thread.run(Thread.java:484)

*****************************



Mime
View raw message