Bug 44137 - tutorial File -> New Document -> foo -> Create -> "An Error Occurred"
Summary: tutorial File -> New Document -> foo -> Create -> "An Error Occurred"
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Creator (show other bugs)
Version: 1.2.5
Hardware: PC Windows XP
: P5 normal
Target Milestone: 1.2.6
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-25 19:29 UTC by David Christensen
Modified: 2021-02-26 08:40 UTC (History)
1 user (show)



Attachments
test upload through aard (26 bytes, text/plain)
2021-02-26 08:40 UTC, Daniel Gruno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Christensen 2007-12-25 19:29:25 UTC
The tutorial File -> New Document bug seems to be back again in apache-lenya-
1.2.5-bin.zip using jdk-6u3-windows-i586-p.exe on Windows XP Professional SP2 
with all current Microsoft updates.


Browser page follows, as does DOS box contents.  Please let me know if any 
other information would help.


HTH,

David



An Error Occurred
C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)

org.apache.lenya.cms.task.ExecutionException: C:\Program Files\apache-lenya-
1.2.5-bin\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:139: 
org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)

cause: java.io.FileNotFoundException: C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)

full exception chain stacktrace[show] 

org.apache.lenya.cms.task.ExecutionException: C:\Program Files\apache-lenya-
1.2.5-bin\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:139: 
org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)
	at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:128)
	at org.apache.lenya.cms.task.AntTask.execute(AntTask.java:228)
	at org.apache.lenya.cms.task.DefaultTaskWrapper.execute
(DefaultTaskWrapper.java:245)
	at org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:63)
	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:124)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:142)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:92)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:252)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
(MountNode.java:117)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:142)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:92)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:252)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
(MountNode.java:117)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:138)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:142)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:92)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:252)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:686)
	at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:1153)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:358)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:294)
	at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:218)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: C:\Program Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\config\tasks\targets.xml:139: 
org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)
	at org.apache.lenya.cms.ant.DocumentCreatorTask.execute
(DocumentCreatorTask.java:60)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:125)
	... 55 more
Caused by: org.apache.lenya.cms.authoring.CreatorException: 
javax.xml.transform.TransformerException: java.io.FileNotFoundException: 
C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)
	at org.apache.lenya.cms.authoring.DocumentCreator.create
(DocumentCreator.java:145)
	at org.apache.lenya.cms.ant.DocumentCreatorTask.execute
(DocumentCreatorTask.java:48)
	... 62 more
Caused by: javax.xml.transform.TransformerException: 
java.io.FileNotFoundException: C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)
	at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler
(TransformerIdentityImpl.java:296)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform
(TransformerIdentityImpl.java:329)
	at org.apache.lenya.xml.DocumentHelper.writeDocument
(DocumentHelper.java:200)
	at org.apache.lenya.cms.authoring.DefaultCreator.create
(DefaultCreator.java:182)
	at org.apache.lenya.cms.authoring.DocumentCreator.create
(DocumentCreator.java:133)
	... 63 more
Caused by: java.io.FileNotFoundException: C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
	at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler
(TransformerIdentityImpl.java:286)
	... 67 more

stacktrace[show] 

java.io.FileNotFoundException: C:\Program%20Files\apache-lenya-1.2.5-
bin\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial\foo\index_e
n.xml (The system cannot find the path specified)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
	at 
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler
(TransformerIdentityImpl.java:286)
	at org.apache.xalan.transformer.TransformerIdentityImpl.transform
(TransformerIdentityImpl.java:329)
	at org.apache.lenya.xml.DocumentHelper.writeDocument
(DocumentHelper.java:200)
	at org.apache.lenya.cms.authoring.DefaultCreator.create
(DefaultCreator.java:182)
	at org.apache.lenya.cms.authoring.DocumentCreator.create
(DocumentCreator.java:133)
	at org.apache.lenya.cms.ant.DocumentCreatorTask.execute
(DocumentCreatorTask.java:48)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
	at org.apache.tools.ant.Task.perform(Task.java:364)
	at org.apache.tools.ant.Target.execute(Target.java:341)
	at org.apache.tools.ant.Target.performTasks(Target.java:369)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
	at org.apache.lenya.cms.task.AntTask.executeAntTarget(AntTask.java:125)
	at org.apache.lenya.cms.task.AntTask.execute(AntTask.java:228)
	at org.apache.lenya.cms.task.DefaultTaskWrapper.execute
(DefaultTaskWrapper.java:245)
	at org.apache.lenya.cms.cocoon.acting.TaskAction.act(TaskAction.java:63)
	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:124)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:142)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:92)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:252)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
(MountNode.java:117)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:142)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:92)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:252)
	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke
(MountNode.java:117)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke
(ActTypeNode.java:138)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:46)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke
(PreparableMatchNode.java:130)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke
(PipelineNode.java:142)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNo
des(AbstractParentProcessingNode.java:68)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke
(PipelinesNode.java:92)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process
(TreeProcessor.java:252)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:686)
	at org.apache.cocoon.servlet.CocoonServlet.service
(CocoonServlet.java:1153)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle
(ServletHolder.java:358)
	at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicationHandler.java:294)
	at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplicationContext.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at org.mortbay.http.SocketListener.handleConnection
(SocketListener.java:218)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)

If you need help and this information is not enough, you are invited to read 
the Cocoon FAQ.
If you still don't find the answers you need, can send a mail to the Cocoon 
mailing lists, remembering to: 

specify the version of Cocoon you're using, or we'll assume that you are 
talking about the latest released version; 
specify the platform-operating system-version-servlet container version; 
send any pertinent error message; 
send pertinent log snippets; 
send pertinent sitemap snippets; 
send pertinent parts of the page that give you problems. 
For more detailed technical information, take a look at the log files in the 
log directory of Cocoon, which is placed by default in the WEB-INF/logs/ folder 
of your cocoon webapp context.
If the logs don't give you enough information, you might want to increase the 
log level by changing the Logging configuration which is by default the WEB-
INF/logkit.xconf file. 

If you think you found a bug, please report it to Apache Cocoon issue tracker; 
a message will automatically be sent to the developer mailing list and you'll 
be kept in contact automatically with the further progress on that bug. 

Thanks, and sorry for the trouble if this is our fault. 

The Apache Cocoon Project 



-------------------- Loading --------------------
Processing repository: .\tools\jetty\lib
Adding jar: .\tools\jetty\lib\jetty-4.2.23.jar
Adding jar: .\tools\jetty\lib\servlet-2.3.jar
Processing repository: .\build\lenya\webapp\WEB-INF\lib\endorsed
Adding jar: .\build\lenya\webapp\WEB-INF\lib\endorsed\jakarta-bcel-20040329.jar
Adding jar: .\build\lenya\webapp\WEB-INF\lib\endorsed\jakarta-regexp-1.4.jar
Adding jar: .\build\lenya\webapp\WEB-INF\lib\endorsed\xalan-2.7.0.jar
Adding jar: .\build\lenya\webapp\WEB-INF\lib\endorsed\xercesImpl-2.8.0.jar
Adding jar: .\build\lenya\webapp\WEB-INF\lib\endorsed\xml-apis-1.3.03.jar
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
19:10:57.078 EVENT  Checking Resource aliases
19:10:57.265 EVENT  Starting Jetty/4.2.23
19:10:57.468 EVENT  Started WebApplicationContext[/,.\build\lenya\webapp]
19:10:57.515 WARN!! Delete existing temp dir T:\dpchrist\Jetty__8888__ for WebAp
plicationContext[/,.\build\lenya\webapp]
19:10:59.453 EVENT  Started SocketListener on 0.0.0.0:8888
19:10:59.453 EVENT  Started org.mortbay.jetty.Server@17bd6a1
Comment 1 Daniel Gruno 2021-02-26 08:40:05 UTC
Created attachment 37744 [details]
test upload through aard

ignore, just testing proxy