PDA

View Full Version : Krank problem


jpan
06-14-2004, 05:51 AM
Hi,

I tried to krank my app by clicking on the krank button, and this is what I got:


Optimization was aborted for dashboard
Check server log for details


And the details are included:

14 Jun 2004 09:44:28 () INFO servlets.KrankListener - ...read 311500 lines...
14 Jun 2004 09:44:28 () INFO servlets.KrankListener - data stream from client closed, output is in 'C:\Program Files\Laszlo Presentation Server 2.1.1\jakarta-tomcat-4.1.12\webapps\lps-2.1.1\CommandControl\dashboardobj__.xml'
14 Jun 2004 09:44:28 () INFO servlets.KrankListener - kranked swf file is at C:\Program Files\Laszlo Presentation Server 2.1.1\jakarta-tomcat-4.1.12\work\Standalone\localhost\lps-2.1.1\LPS\cache\1087220176338.swf
14 Jun 2004 09:44:29 (127.0.0.1 108) INFO servlets.LZServlet - Request for C:\Program Files\Laszlo Presentation Server 2.1.1\jakarta-tomcat-4.1.12\webapps\lps-2.1.1\\CommandControl\dashboard.lzx
14 Jun 2004 09:44:39 () ERROR servlets.KrankListener - Exception caught while invoking KrankListener.listen(C:\Program Files\Laszlo Presentation Server 2.1.1\jakarta-tomcat-4.1.12\webapps\lps-2.1.1\CommandControl\dashboardobj__.xml): Traceback (innermost last):
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\Regenerator.py", line 0, in compile
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\obj2as.py", line 0, in optimize
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\collector.py", line 0, in collect
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\collector.py", line 0, in _collect
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\collector.py", line 0, in collect_function
AssertionError:
:null
14 Jun 2004 09:44:41 (127.0.0.1 109) INFO servlets.LZServlet - Request for C:\Program Files\Laszlo Presentation Server 2.1.1\jakarta-tomcat-4.1.12\webapps\lps-2.1.1\\CommandControl\dashboard.lzx


What am I missing?? Thanks!

James

antun
06-14-2004, 10:10 AM
Try clearing the LPS cache (and browser cache too, for good measure) and restart your servlet container. Let me know if you need to know how to do that.

Let me know if it still happens after that.

-Antun

jpan
06-15-2004, 12:30 PM
No dice:


reading 'C:\\Program Files\\Laszlo Presentation Server 2.1.1\\jakarta-tomcat-4.1.12\\webapps\\lps-2.1.1\\CommandControl\\dashboard__.swf'...
com.laszlosystems.compiler.CompilationError: Error invoking KrankListener.listen(C:\Program Files\Laszlo Presentation Server 2.1.1\jakarta-tomcat-4.1.12\webapps\lps-2.1.1\CommandControl\dashboardobj__.xml): Traceback (innermost last):
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\Regenerator.py", line 0, in compile
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\obj2as.py", line 0, in optimize
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\collector.py", line 0, in collect
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\collector.py", line 0, in _collect
File "D:\builder\Build-lps-2.1.1-000861\lps-2.1.1\WEB-INF\lps\server\sc\collector.py", line 0, in collect_function
AssertionError:
:null
at com.laszlosystems.servlets.KrankListener.run(Krank Listener.java:192)


One question: I don't actually have that D:\ drive on my box... is there a reason the server is looking for something on the D drive? Or is this irrelevent?

Thanks,

james

ptw
06-15-2004, 02:05 PM
I think the D references are a red herring. You are getting a Java assertion that is simply printing out source file names as part of the backtrace. You are seeing the source file names that the binaries were built from.

There is not enough information here for me to diagnose the problem further. If you could upload the C:\\Program Files\\Laszlo Presentation Server 2.1.1\\jakarta-tomcat-4.1.12\\webapps\\lps-2.1.1\\CommandControl\\dashboard__.swf file, we might be able to tell what is going wrong.