cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pw...@blackbearsolutions.com
Subject Re: Problem in mod-db again
Date Sat, 26 Oct 2002 16:18:39 GMT
I just tried it with the CVS snapshot from 3 AM Saturday morning.  I am 
getting the same result.  I already added a group, and then I try and add a 
user to that group (url follows).  

http://localhost:8080/cocoon/samples/mod-db/user-list?user.name=dfwsdf&user.firstname=sdfvsd&user.uname=sdvsd&user_groups.gid=0&add-user-groups=new+user

The build command that I used was 
./build.sh -Dinclude.webapp.libs -Dinclude.scratchpad.libs=yes webapp

I am using the stock database that comes with cocoon (no modifications).

The only modification I made to the sitemap was to allow mod-db to throw an 
error.  The error that I get is:

Original exception : java.lang.NullPointerException
 at 
org.apache.cocoon.acting.modular.DatabaseAction.getColumnValue(DatabaseAction.java:519)
 at 
org.apache.cocoon.acting.modular.DatabaseAddAction.getColumnValues(DatabaseAddAction.java:228)
 at 
org.apache.cocoon.acting.modular.DatabaseAction.processTable(DatabaseAction.java:384)
 at 
org.apache.cocoon.acting.modular.DatabaseAction.act(DatabaseAction.java:738)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:139)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:158)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:131)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:166)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
 at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109)
 at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:326)
 at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
 at org.apache.cocoon.Cocoon.process(Cocoon.java:595)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1034)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
 at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
 at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
 at java.lang.Thread.run(Thread.java:479)


On Saturday 26 October 2002 06:39 am, Christian Haul wrote:
> On 25.Oct.2002 -- 10:05 AM, pwcml@blackbearsolutions.com wrote:
> > You can get the same effect if you try and use samples/mod-db/user-list.
> > If you add a group you get no error, but if you add a person,
> > person-group you get the following error.
>
> This should be resolved since tuesday for 2.1. Patches for 2.0 will follow
> shortly.
>
> 	Chris.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message