You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Jann Forrer <ja...@id.unizh.ch> on 2004/02/17 11:14:35 UTC

Delete document throws error

Hi list

I update my cvs lenya installation this night. If I now try to delete a
document within the default publication, I got an error (see below). I
could avoid this error by commenting out the deleteschedulerentry task in
targets.xml.
The same is true for our university specific publication.

Jann

-------------------
An Error Occurred org.apache.lenya.cms.task.ExecutionException
/home/wyona/cms/build/jakarta-tomcat/webapps/lenya/lenya/pubs/default/config/tasks/targets.xml:556:
org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException
org.apache.lenya.cms.task.ExecutionException:
/home/wyona/cms/build/jakarta-tomcat/webapps/lenya/lenya/pubs/default/config/tasks/targets.xml:556:
org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException
org.apache.lenya.cms.task.ExecutionException:
/home/wyona/cms/build/jakarta-tomcat/webapps/lenya/lenya/pubs/default/config/tasks/targets.xml:556:
org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException
org.apache.lenya.cms.task.ExecutionException:
/home/wyona/cms/build/jakarta-tomcat/webapps/lenya/lenya/pubs/default/config/tasks/targets.xml:556:
org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException at
org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:167) at
org.apache.lenya.cms.task.AntTask.execute(AntTask.java:267) at
org.apache.lenya.cms.task.DefaultTaskWrapper.execute(DefaultTaskWrapper.java:290)
at org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:100)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:157)
at
[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: Delete document throws error

Posted by Jann Forrer <ja...@id.unizh.ch>.
On Mon, 23 Feb 2004, Fabio Noferi wrote:

> i have the same problem of Jann Forrer on e-mail 17-2-2004, the binary work
> well,
> but with the source, when i delete a document i have the problem (see
> below), i have a problem in workflow too.
> i use:
> java 1.4.2
> tomcat 4.29
> cocoon 2.1.2
> lenya 1.2 rc2 (i try building 1/2/2004, 2/2/2004, 16/2/2004)
>
> someone can help me?
> thanks fabio
>

It works for me again after downloading a new cvs version of lenya and
making an ant reset before installing the new version.

I recently also installed cocoon 2.1.4 but as far as I remeber the delete
command worked with 2.1.2 too.

HTH

Jann

---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  jann.forrer@id.unizh.ch
(  )   phone: +41 1 63 56772
 \ (   fax:   +41 1 63 54505
  \_)  http://www.id.unizh.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Delete document throws error

Posted by Fabio Noferi <fn...@usl4.toscana.it>.
i have the same problem of Jann Forrer on e-mail 17-2-2004, the binary work
well,
but with the source, when i delete a document i have the problem (see
below), i have a problem in workflow too.
i use:
java 1.4.2
tomcat 4.29
cocoon 2.1.2
lenya 1.2 rc2 (i try building 1/2/2004, 2/2/2004, 16/2/2004)

someone can help me?
thanks fabio

----------------
 An Error Occurred org.apache.lenya.cms.task.ExecutionException
C:\sito\tomcat\webapps\lenya\lenya\pubs\default\config\tasks\targets.xml:556
: org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException org.apache.lenya.cms.task.ExecutionException:
C:\sito\tomcat\webapps\lenya\lenya\pubs\default\config\tasks\targets.xml:556
: org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException org.apache.lenya.cms.task.ExecutionException:
C:\sito\tomcat\webapps\lenya\lenya\pubs\default\config\tasks\targets.xml:556
: org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException org.apache.lenya.cms.task.ExecutionException:
C:\sito\tomcat\webapps\lenya\lenya\pubs\default\config\tasks\targets.xml:556
: org.apache.lenya.cms.publication.DocumentException:
java.lang.NullPointerException at
org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:167) at
org.apache.lenya.cms.task.AntTask.execute(AntTask.java:267) at
org.apache.lenya.cms.task.DefaultTaskWrapper.execute(DefaultTaskWrapper.java
:290) at
org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:100) at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:157) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) at org.apa
......
.....



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org