[xwiki-users] Can't adjust Page Layout in Panel Wizard

justin_robbins at cotyinc.com justin_robbins at cotyinc.com
Tue Jul 24 15:06:27 CEST 2007


Hello Folks,

Now that I know that XWiki logs everything to xwiki.log (thanks Vincent!), 
I'm including the entire log that is written when I attempt to modify the 
Page Layout.

A full description of my problem can be found in the thread below.  Any 
help is appreciated.  Thanks.

16:22:30,727 [P1-18] ERROR log.SimpleLog4JLogSystem        - Left side 
($first) of '==' operation has null value. If a reference, it may not be 
in the context. Operation not possible. Panels.PanelWizard [line 6, column 
14] 
16:22:30,747 [P1-18] ERROR log.SimpleLog4JLogSystem        - Left side 
($first) of '==' operation has null value. If a reference, it may not be 
in the context. Operation not possible. Panels.PanelWizard [line 6, column 
14] 
16:22:30,747 [P1-18] ERROR log.SimpleLog4JLogSystem        - Left side 
($first) of '==' operation has null value. If a reference, it may not be 
in the context. Operation not possible. Panels.PanelWizard [line 6, column 
14] 
16:25:55,368 [P1-18] WARN  web.XWikiAction                 - Uncaught 
exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: null 
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: null
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:


java.lang.IllegalStateException
        at 
org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564)
        at 
com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:120)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
16:31:09,292 [P1-19] WARN  web.XWikiAction                 - Uncaught 
exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: null 
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: null
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:


java.lang.IllegalStateException
        at 
org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564)
        at 
com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:120)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
        at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
        at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at 
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
16:32:42,379 [P1-18] ERROR log.SimpleLog4JLogSystem        - Left side 
($first) of '==' operation has null value. If a reference, it may not be 
in the context. Operation not possible. Panels.PanelWizard [line 6, column 
14] 
16:32:42,389 [P1-18] ERROR log.SimpleLog4JLogSystem        - Left side 
($first) of '==' operation has null value. If a reference, it may not be 
in the context. Operation not possible. Panels.PanelWizard [line 6, column 
14] 
16:32:42,399 [P1-18] ERROR log.SimpleLog4JLogSystem        - Left side 
($first) of '==' operation has null value. If a reference, it may not be 
in the context. Operation not possible. Panels.PanelWizard [line 6, column 
14] 

Regards,
Justin Robbins





justin_robbins at cotyinc.com 
07/19/2007 04:34 PM
Please respond to
xwiki-users at objectweb.org


To
xwiki-users at objectweb.org
cc

Subject
[xwiki-users] Can't adjust Page Layout in Panel Wizard






Hello everyone,

I tried to use the Panel Wizard to change the Page Layout from the default 
setting of "Right Column" to "Left Column".  When I clicked "Save the new 
layout" I received a prompt "The layout has been saved properly". However, 
a stack trace was written to the console.  I am now left with no side 
columns at all.

What am I doing wrong?

Here's the message that is now written to the console when I navigate to 
the Panel Wizard page.

16:22:30,727 ERROR P1-18 
http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&forceRightPanels=1 

SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' 
operation has null value. If a reference, it may not be in the context. 
Operation not possible. Panels.PanelWizard [line 6, column 14]

16:22:30,747 ERROR P1-18 
http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&forceRightPanels=1 

SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' 
operation has null value. If a reference, it may not be in the context. 
Operation not possible. Panels.PanelWizard [line 6, column 14]

16:22:30,747 ERROR P1-18 
http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&forceRightPanels=1 

SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' 
operation has null value. If a reference, it may not be in the context. 
Operation not possible. Panels.PanelWizard [line 6, column 14]

I have installed xwiki-enterprise-1.1-milestone-3 on a Windows XP machine. 
 For now, I'm using the default HSQL database and Jetty web server.

Regards,
Justin Robbins



_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. 
For more information please visit http://www.ers.ibm.com
_____________________________________________________________________________

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. 
For more information please visit http://www.ers.ibm.com
_____________________________________________________________________________
--
You receive this message as a subscriber of the xwiki-users at objectweb.org 
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
For general help: mailto:sympa at objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws




-- 
Coty Inc. is proud to partner with DKMS, the world's largest nonprofit 
stem cell donor center, in the fight against leukemia. To learn about 
DKMS, to become a donor or to make a monetary donation, please visit: 
http://www.linkedagainstleukemia.org/


-- 
This message is intended for the use of the addressee and may contain 
information that is privileged and/or confidential. If you are not the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of the information contained in this message is 
strictly unauthorized and prohibited. If you have received this message in 
error, please notify the sender by reply e-mail and delete the message 
from your system. Opinions, conclusions, or other statements in this 
message which do not relate to the business of Coty Inc.,its subsidiaries 
or affiliates, are neither given nor endorsed by Coty Inc. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070724/218bf7e9/attachment-0001.html 


More information about the users mailing list