View Full Version : App does not start using trunk 7149
mkroll
11-07-2007, 01:11 AM
Hi,
today I updated the LPS used in my app to trunk 7149 with the result that the app
started in dhtml runtime no longer starts.
The debug console says:
ERROR @http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true#5258: DeclareEvent is not defined
When I try to switch on backtrace in order to get a bug report using Debug.bugReport(), the bug report is printed to the console and before I can copy the text into the clipboard, my app or the browser (here firefox 2.0.0.9) forwards me to the swf version oy my app :-(
I'll switch back to 7124 again.
Any ideas? Answers would be appreciated.
Regards,
Michael.
mkroll
11-07-2007, 01:22 AM
I was able to copy the bugreport to the clipboard. Maybe this helps:
---START OF BUG REPORT---
LPS VERSION INFORMATION:
URL: http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true
Version: 4.1.x.0
Release: Latest
Build: 7149-openlaszlo-trunk
Date: 2007-11-06T00:43:45-0800
Target: dhtml
Runtime: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
ERROR MESSAGE: ERROR @http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true#5258: DeclareEvent is not defined
ERROR BACKTRACE:
LzError @lfc/debugger/LzMessage.lzs#439
this: «LzError#0| ERROR @http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true#5258: DeclareEvent is not defined»
arg 0: 'http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true'
arg 1: 5258
arg 2: 'DeclareEvent is not defined'
debugger/LzCompiler.lzs#19/28 @lfc/debugger/LzCompiler.lzs#19
this: «Window(0)#7| global»
arg 0: 'http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true'
arg 1: 5258
arg 2: 'DeclareEvent is not defined'
arg 3: true
window.onerror @lfc/compiler/LzRuntime.lzs#333
this: «Window(0)#7| global»
arg 0: 'DeclareEvent is not defined'
arg 1: 'http://localhost:8080/jivexweb/JiveXWeb.lzx?lzt=object&lzt=object&debug=true&lzr=dhtml&lzbacktrace=true'
arg 2: 5258
OBJECT DETAILS:
senshi
11-10-2007, 02:27 PM
Do you use anywhere "DeclareEvent(..)" in your code?
a) If you've never ever heard of this function, just do simply another svn up, it should help...!
b) But if you've used this function, you need to update your code:
DeclareEvent(prototype, "onfoo");
=>
var onfoo = LzDeclaredEvent;
mkroll
11-11-2007, 03:49 AM
Hi Senshi,
I have no DeclareEvent call in my code.
So I will update my environment to the latest build and see if the bug persists.
Thanks,
Michael.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.