Try stopping and restarting your tomcat.  In case memory is an issue.

Try fetching your app with ?lzt=clearcache In case the compiler cache is corrupted.

Try compiling your app with WEB-INF/lps/server/bin/lzc (the command- line version of the compiler). Which may give a more informative error.

If you can create a small test case that reproduces this error, please file a bug report at http://jira.openlaszlo.com

On 2007-05-09, at 11:46 EDT, Katbab, Ali wrote:

I recently made some changes to my application, like using basewindow,
but that's the most significant change. The app is 4000 lines of code
with numberous libraries, so I don't know if I can post those. Anyhow,
when I try to access the application I get the error below. Other
applications work fine and I can generate nice compilation errors with
other apps. Also included is the log output at time the error was
thrown. Any help would greatly be appreciated.



Error: java.lang.NullPointerException
at org.openlaszlo.compiler.CompilationError._getMessage (Unknown
Source)
        at org.openlaszlo.compiler.CompilationError.getMessage(Unknown
Source)
        at org.openlaszlo.compiler.CompilationError.getMessage(Unknown
Source)
        at org.openlaszlo.compiler.CompilationError.toXML(Unknown
Source)
        at
org.openlaszlo.servlets.responders.ResponderAPP_CONSOLE.respondCompila ti
onError(Unknown Source)
        at
org.openlaszlo.servlets.responders.ResponderAPP_CONSOLE.handleCompilat io
nError(Unknown Source)
        at
org.openlaszlo.servlets.responders.ResponderCompile.respondImpl (Unknown
Source)
at org.openlaszlo.servlets.responders.Responder.respond (Unknown
Source)
        at org.openlaszlo.servlets.LZServlet._doGet(Unknown Source)
        at org.openlaszlo.servlets.LZServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java: 743)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service (ServletWrapper.ja
va(Compiled Code))
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrap
per.java(Compiled Code))
        at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest (CacheS
ervletWrapper.java(Compiled Code))
        at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java (Com
piled Code))
        at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready (WCChannelLink.java(C
ompiled Code))
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminat io
n(HttpInboundLink.java(Compiled Code))
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformat io
n(HttpInboundLink.java(Compiled Code))
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready (HttpInboundLi
nk.java:288)
        at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDis cr
iminaters(NewConnectionInitialReadCallback.java:207)
        at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete( Ne
wConnectionInitialReadCallback.java:109)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete (WorkQueueMa
nager.java(Compiled Code))
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO (WorkQueueManager.
java(Compiled Code))
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun (WorkQueueManager.
java(Compiled Code))
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run (WorkQueueManager
.java(Compiled Code))
        at
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))



Log file:



08 May 2007 14:49:24 (10.0.4.73 86) DEBUG server.Option        -
checking: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11)
Gecko/20070312 Firefox/1.5.0.11\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.CompilationManager -
getLastModified for
/opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb8 9vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/ali_apps/b2b/ bpad
.lzx\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.CompilationManager -
computeKey: /ali_apps/b2b/bpad.lzx debug falsekrank falselogdebug
falseprofile falseruntime swf7sourcelocators false\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache          -
findItem\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache          -
Reckoning an old item for /ali_apps/b2b/bpad.lzx debug falsekrank
falselogdebug falseprofile falseruntime swf7sourcelocators false\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache          -
reckoned an item\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache - Found a
dirty item for /ali_apps/b2b/bpad.lzx debug falsekrank falselogdebug
falseprofile falseruntime swf7sourcelocators false\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache          -
removing item for /ali_apps/b2b/bpad.lzx debug falsekrank falselogdebug
falseprofile falseruntime swf7sourcelocators false
(/opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb 89vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/WEB-INF/lps/ work
/cache/1178660384550.swf - 0 bytes) .\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache - Removed
and made new item for /ali_apps/b2b/bpad.lzx debug falsekrank
falselogdebug falseprofile falseruntime swf7sourcelocators false\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.CompilationManager -
computeKey: /ali_apps/b2b/bpad.lzx Content-Encoding gzipdebug falsekrank
falselogdebug falseprofile falseruntime swf7sourcelocators false\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache          -
getItem\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache - Marking
item dirty: /ali_apps/b2b/bpad.lzx debug falsekrank falselogdebug
falseprofile falseruntime swf7sourcelocators false\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cache.Cache - disk to
reckon : 0, mem to reckon : 0\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.DependencyTracker - addFile
Path is
/opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb8 9vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/ali_apps/b2b/ bpad
.lzx\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.DependencyTracker - addFile
Path is
/opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb8 9vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/WEB-INF/lib/ lps.j
ar\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.CompilationManager -
Temporary file is /tmp/lzc-33409.tmp\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.CompilationManager -
Compiling
/opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb8 9vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/ali_apps/b2b/ bpad
.lzx to /tmp/lzc-33409.tmp\par

08 May 2007 14:49:24 (10.0.4.73 86) INFO  compiler.Compiler    -
compiling
/opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb8 9vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/ali_apps/b2b/ bpad
.lzx...\par

08 May 2007 14:49:24 (10.0.4.73 86) INFO compiler.Compiler - canvas
compiler compiling runtime = swf7\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG compiler.Compiler - looking
for lzproxied, props= \{krank=false, debug=false, profile=false,
sourcelocators=false, runtime=swf7, logdebug=false\}\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG compiler.Compiler - Parsing /opt/WebSphere/AppServer/profiles/ProfileManaged/installedApps/ ussdiweb8 9vCell01/openlaszlo-3_3_3_war.ear/openlaszlo-3.3.3.war/ali_apps/b2b/ bpad
.lzx\par

08 May 2007 14:49:24 (10.0.4.73 86) DEBUG cm.CompilationManager -
starting gc\par

08 May 2007 14:49:26 (10.0.4.73 86) DEBUG cm.CompilationManager -
finished gc\par




Reply via email to