Author |
Message |
27/08/2008 15:26:59
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Captain,
the Enterprise Client crashes when I enter a file name containing a sub directory that does not yet exist (xyz in the Screen Shot).
I see no other way to create a new sub directory in the jsp package.
Frauke
Filename |
CreateFile.JPG |
Download
|
Description |
|
Filesize |
8 Kbytes
|
Downloaded: |
371 time(s) |
|
|
|
27/08/2008 15:50:59
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5528
Offline
|
Ok, you are right: if the directory does not exist yet then there is a problem. You need to create the directory in the deployed environment first.
Will be fixed with next update.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
28/08/2008 07:40:32
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5528
Offline
|
...bug corrected...
Björn
We published an interim version http://www.CaptainCasa.com/download/setup_2_1_20080828.exe or http://www.CaptainCasa.com/download/EnterpriseClient_2_1_20080828.zip in which this bug is corrected. (The interim version is not part of the DevZone. The solution will be part of the next official update as well.)
|
Björn Müller, CaptainCasa GmbH |
|
|
28/08/2008 10:18:41
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Captain,
sorry to say that, but the exception is still there....
Frauke
2008:08:28 10:17:08:69 | 11 | SEVERE | Error happened when invoking action listener .......... org.eclnt.jsfserver
.elements.MethodBindingDelegator>invoke
.......... Stacktrace Info ..........
javax.faces.el.EvaluationException: java.lang.Error: Could not write D:/cms_workspace/icms_head/apache-tomcat-6.0.16/web
apps/cis/icms_casabac/jsp/xyz/page.jsp
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
at org.eclnt.jsfserver.elements.MethodBindingDelegator.invoke(MethodBindingDelegator.java:57)
at org.eclnt.jsfserver.elements.BaseActionComponent.broadcast(BaseActionComponent.java:210)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Error: Could not write D:/cms_workspace/icms_head/apache-tomcat-6.0.16/webapps/cis/icms_casabac/jsp
/xyz/page.jsp
at org.eclnt.util.file.FileManager.writeTextFile(FileManager.java:189)
at org.eclnt.util.file.FileManager.writeUTF8File(FileManager.java:168)
at org.eclnt.editor.Project.onCreateNewPage(Project.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
... 26 more
2008:08:28 10:17:08:84 | 11 | SEVERE | Try to delegate to method #{t.Project.onApplicationError} .......... org.ec
lnt.jsfserver.elements.MethodBindingDelegator>invoke
2008:08:28 10:17:08:84 | 11 | SEVERE | Try to delegate to method #{t.onApplicationError} .......... org.eclnt.jsfs
erver.elements.MethodBindingDelegator>invoke
2008:08:28 10:17:08:84 | 11 | SEVERE | Try to delegate to method #{t.onApplicationError} .......... org.eclnt.jsfs
erver.elements.MethodBindingDelegator>invoke
2008:08:28 10:17:08:84 | 11 | SEVERE | .......... org.eclnt.jsfserver.util.ThreadingFilter>doFilter
.......... Stacktrace Info ..........
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Error: javax.faces.el.EvaluationException: java.lang.Error: Could not write D:/cms_workspace/icms_h
ead/apache-tomcat-6.0.16/webapps/cis/icms_casabac/jsp/xyz/page.jsp
at org.eclnt.jsfserver.elements.MethodBindingDelegator.invoke(MethodBindingDelegator.java:90)
at org.eclnt.jsfserver.elements.BaseActionComponent.broadcast(BaseActionComponent.java:210)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
... 17 more
Caused by: javax.faces.el.EvaluationException: java.lang.Error: Could not write D:/cms_workspace/icms_head/apache-tomcat
-6.0.16/webapps/cis/icms_casabac/jsp/xyz/page.jsp
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
at org.eclnt.jsfserver.elements.MethodBindingDelegator.invoke(MethodBindingDelegator.java:57)
... 25 more
Caused by: java.lang.Error: Could not write D:/cms_workspace/icms_head/apache-tomcat-6.0.16/webapps/cis/icms_casabac/jsp
/xyz/page.jsp
at org.eclnt.util.file.FileManager.writeTextFile(FileManager.java:189)
at org.eclnt.util.file.FileManager.writeUTF8File(FileManager.java:168)
at org.eclnt.editor.Project.onCreateNewPage(Project.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
... 26 more
|
|
|
28/08/2008 13:40:42
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Captain,
now we have a new problem: when I create a new file in an EXISTING subdirectory, the client behaves strange after pressing the "create" button.
That is, the project tree is empty and after some clicking and scrolling in the window, it redisplays again.
No exceptions are found in the logs.
And the files are created correctly.
Frauke
|
|
|
03/09/2008 15:08:31
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5528
Offline
|
...cannot reproduce this... Maybe it is linked with the parser issues...?
Björn
PS: may I gently ask you to open up new threads for new problems, even if they seem to be related. It is always nice to see that a thread is "processed!" by looking onto its last posts... thanks... ;-)
|
Björn Müller, CaptainCasa GmbH |
|
|
03/09/2008 15:40:45
|
heyl
Power User
Joined: 10/01/2008 09:41:55
Messages: 267
Location: Ettlingen
Offline
|
Hi Björn,
ok, I will open a new topic next time..... sorry
I can' reproduce the problem either.... may be it was related to the other issues.
Fact is, that the directory is collapsed after creation, thats a little bit inconvenient, but not grave.
Thanks anyway,
Frauke
|
|
|
|