I am upgrading XWIKI from 1.1 to 1.8 in my sites.
And I use Groovy for the user rights module.
When I update the user rights, errors occurs:
Error number 4001 in 4: Error while parsing velocity page
MyNetcipia.PlaceRightsConfirmation
Wrapped Exception: Failed to evaluate content with id Place Rights
Confirmation
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page MyNetcipia.PlaceRightsConfirmation
Wrapped Exception: Failed to evaluate content with id Place Rights
Confirmation
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:525)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1662)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:696)
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1662)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:242)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:122)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'updateRights' in class PlaceManager threw exception
java.lang.NullPointerException: Cannot invoke method getDocument() on null
object @ MyNetcipia.PlaceRightsConfirmation11,15
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:396)
at
org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:525)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.r
ender(SimpleNode.java:318) at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.vel
ocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWik
iVelocityRenderer.java:108) at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1662) at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.jav
a:1612) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:696) at
sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Met
hod.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apach
e.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) at
org.apache.velocity.runtime.parser.node.ASTReference.exe
cute(ASTReference.java:203) at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.
velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at
org.apache.velocity.runtime.directive.VelocimacroProxy.
render(VelocimacroProxy.java:194) at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org
.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at
org.apache.velocity.runtime.parser.node.ASTIfStatement.re
nder(ASTIfStatement.java:88) at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) at
org.apache.velocity
.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(AST
IfStatement.java:107) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.xwiki.velocity.De
faultVelocityEngine.evaluate(DefaultVelocityEngine.java:178) at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocit
yEngine.java:143) at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.
parseTemplate(XWiki.java:1662) at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1612) at
com.xpn.xwiki.web.Utils.parseTemplate(Ut
ils.java:124) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:242) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiActio
n.java:122) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.ac
tion.RequestProcessor.process(RequestProcessor.java:236) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:11
96) at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at
javax.servlet.http.HttpServlet.service(HttpServle
t.java:690) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.i
(ApplicationFilterChain.java:290) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
a
t
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
at org.apache.catalina.core.Applicati
onFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appl
icationFilterChain.java:206) at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.apache.catalina.core.Appli
cationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(
.java:206) at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.Applicatio
nFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
cationFilterChain.java:206) at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org
.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.Appli
cationFilterChain.doFilter(ApplicationFilterChain.java:206) at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacte
rEncodingFilter.java:112) 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.Standa
rdWrapperValve.invoke(StandardWrapperValve.java:233) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.Error
ReportValve.invoke(ErrorReportValve.java:102) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10
9) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.jk.server.JkCoyoteHandler.invoke
(JkCoyoteHandler.java:190) at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at
org.apache.jk.common.Channe
lSocket.invoke(ChannelSocket.java:767) at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.ap
ache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$Control
Runnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException: Cannot invoke method
getDocument() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at
org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:748)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:725)
at
org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:17)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
at PlaceManager.updateRights(script1247022056918.groovy:622)
at PlaceManager$updateRights.callCurrent(Unknown Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:47)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
at PlaceManager.updateRights(script1247022056918.groovy:712)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
… 95 more
I see one sentence:
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'updateRights' in class PlaceManager threw exception
java.lang.NullPointerException: Cannot invoke method getDocument() on null
object @ MyNetcipia.PlaceRightsConfirmation11,15
I find there is null in Groovy:(Italic and bold are null value)
public boolean updateRights(String space) {
Document doc = new
Document(wiki.xWiki.</b>getDocument(getRightsPage(space),context.context),context.context)
if ((doc!=null)&&(!doc.isNew())) {
for (obj in doc.getObjects("XWiki.XWikiGlobalRights")) {
doc.removeObject(obj)
}
doc.saveWithProgrammingRights()
}
boolean update = false;
if (doc!=null) {
update |= updateRights(space, "view",
doc.newObject("XWiki.XWikiGlobalRights"))
update |= updateRights(space, "edit",
doc.newObject("XWiki.XWikiGlobalRights"))
update |= updateRights(space, "comment",
doc.newObject("XWiki.XWikiGlobalRights"))
if (space=="") {
// Make sur the admin rights is set
update |= addAdminRights(doc.newObject("XWiki.XWikiGlobalRights"))
}
} else
return false;
if (update)
doc.saveWithProgrammingRights()
return true;
}
But I cannot find which causes the null value and how to avoid this.
--
View this message in context: http://n2.nabble.com/Groovy-Errors-tp3254453p3254453.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I want to add three buttons to the toolbar in WYSIWYG V2.
Now I have XWIKI 1.8 and WYSIWYG V2 with Syntax 2.0.
The problem is:
When I use WYSIWYG V1, the message #error(“some messages”)can be parsed as
error message.
While with Syntax 2.0, the new syntax has been changed to:{{velocity}}{{html
wiki=true}}#error("some messages"){{/html}}{{/velocity}}, which is not
allowed to input WYSIWYG messages for parsing.
Is there any method to make the commands parsed by just inputting them to
the editor?
There is Macro box in the new editor, but I didn’t find the macros of error,
info and warning, how can I add them?
--
View this message in context: http://n2.nabble.com/Button-Plugin-in-WYSIWYG-editor-tp3229334p3229334.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> Small typo:
> The check is made on whether the page that holds the groovy script was
saved
> *BY* *AN USER* *WHO HAS* programming rights.
>
> Guillaume
>
The page that contains the Groovy script was create by me, (admin), and it
executes without a problem. It returns the expected results. It is not the
issue.
> On Thu, Jun 11, 2009 at 8:35 PM, Guillaume Lerouge
<guillaume(a)xwiki.com>wrote:
>
> Hi Dean,
>
> On Thu, Jun 11, 2009 at 7:49 PM, Dean G Weber
<Dean.G.Weber(a)raytheon.com>wrote:
>
>> I've been struggling for a while with the dilemma of getting a user
into a
>> group. Let me supply some background on what we've been trying to do
with
>> Xwiki.
>>
>> We're trying to use Xwiki for an internal collaborative site.
Management
>> has decided that users of the wiki must complete proper training.
Without
>> the training, the user cannot add to the wiki pages.
>>
>> For authentication, we've connected the wiki to our LDAP server via the
>> xwik.cfg file. Authenticated users are automatically placed into the
>> XWikiAllGroup by default. In order to accommodate management
>> requirements, I created a new user group... let's call it
>> "TrainedUsersGroup".
>>
>> Once authenticated, users are placed into the Webhome page of the wiki.
>> I've placed Velocity script on the Webhome page to check if the user is
in
>> the TrainedUsersGroup. If the user is not in the group, the user is
>> redirected to the NoAccess.WebHome page.
>>
>> On the NoAccess.Webhome page another check is made to determine if the
>> user is in the TrainedUsersGroup. If the user is not in the group, a
call
>> is made to a Groovy class (on another page in the Groovy namespace).
The
>> groovy code executes a system call to grep on the Linux system running
the
>> Xwiki against a CSV file pulled from an intranet web report. The passed
>> user's login (which is the same as the LDAP user id) is checked against
>> this file. If the returned grep output shows that the training has been
>> completed, the NoAccess.WebHome page will attempt to add the user to
the
>> TrainedUsersGroup. If the user is added to the TrainedUsersGroup as
>> determined after another check, the user is redirected back to the
>> originating WebHome page.
>>
>> This mechanism works great if the user accessing the pages is an admin.
>> However, if the user is a regular user everything except the addition
to
>> the group works. Instead, the code to place the user in the group
displays
>> on the page. It does not run and put the user into the
TrainedUsersGroup.
>> This is no good for our needs in which we must restrict Xwiki access
for
>> non-trained users.
>>
>
> "Instead, the code to place the user in the group displays
> on the page."
>
> *-> question:* does the wiki receive the grep output in all cases? Can
you
> get the output printed on the screen even if the context user isn't an
> admin? If not, the problem arises earlier and you'd need to identify
exactly
> where it comes from.
>
The grep output is received as expected. The Groovy code returns a result
that is correct. The Groovy script is working fine and is not the problem.
The variable $completed_training is set to the strings "true" or "false"
output from the Groovy code in the proper manner. I've displayed these in
debugging code to the screen.
> *-> observation:* this issue is typical of lacking programming rights.
> Programming rights are different from other rights in that the check is
not
> made on whether the current user has programming rights. The check is
made
> on whether the page that holds the groovy script was saved with someone
> holding programming rights. This is why the check you're doing against
the
> visiting user doesn't work.
>
> Programming rights work this way in order to prevent a non-authorized
> person to create and execute a privileged script. Therefore what matters
is
> the state of the page holding your script at the point when it is being
> called. What is somehow happening is that the system thinks the page
holding
> the script has been saved by the current user at some point and thus
> displays its literal content instead of running the code.
>
I don't understand this. I am admin and I have edited the page. The users
have been restricted and not granted edit rights to the page. It is not
possible for system to think the page has been saved by the current user.
A search on the page shows the last modified was me.
> Thus you may want to check whether your application makes XWiki think
that
> the context user is the one who saved the groovy page. You need to make
sure
> that XWiki doesn't think that the NoAccess.WebHome page holding your
second
> script has been saved by the current user. Check for occurences of
> $doc.save() (velocity) or doc.save() (groovy) in your code and make sure
> that XWiki thinks the user performing the action is an user with
programming
> rights.
>
The Groovy page is not the problem. The NoAccess.WebHome page has been
shown to be saved by the admin, me. I have even set programming rights for
all users to eliminate the potential or problems.
> I'm not a developer so I can't do much more for you here, hope it makes
> things a bit clearer though. Good luck!
>
> (My original goal was to connect to our Oracle database and based upon
the
>> user id determine directly if the user has completed the training. I've
>> had luck with a simple Groovy script running on my desktop and on the
>> Linux server. However, from within the Xwiki Groovy console or on a
page,
>> I get no output. Therefore, I have abandoned the Oracle query check via
>> Groovy.)
>>
>> I've been researching the Xwiki user list for weeks. I've poured over
>> xwiki documentation. I've peeked at wiki page source. I've done all
this
>> in an attempt to figure out how to get a user to place himself into a
>> group. I've found a lot of confusing and contradicting information.
>> Programming rights are mentioned. The only place I found the ability to
>> set this right was in the xwiki administration. I can't determine if
the
>> problem is even related to programming rights. I've put a debug
statement
>> on the NoAccess.WebHome page to print whether the user visiting the
page
>> has programming rights. In all cases it display that they do. Yet, only
>> admins can add themselves to the TrainedUsersGroup. This doesn't work
for
>> me. I need to automatically add the visiting user to the
TrainedUsersGroup
>> once the training has been validated.
>
>
> Btw, I'm really sorry about you experiencing this frustrating
experience.
> Hope this email will help a bit.
>
> *-> shameless plug:* XWiki SAS (www.xwiki.com) offers development
support
> services to help you when faced with such hurdles. I'm aware you might
not
> be in a position where you can consider this offer, but you'd have the
> guarantee of getting an appropriate answer in a short timeframe (vs
> community support, although it's usually pretty fast on these lists)
plus
> it's a great way to help the development of the XWiki project if you
like
> the product + well, it would have saved you days and effort thus making
save
> money in the end ;-)
>
Unfortunately, I am just a developer and not able to direct the funding.
Since this is for an internal project for a govt. contractor, the time it
would take to resolve the paperwork to put in a request for the funding
for external support would be longer than me to just write the entire wiki
myself.
>
>> What is the problem? Why won't the user go into the group? Is there a
>> better way of doing this? Any help, code snippets or suggestions would
be
>> appreciated.
>
> Thanks.
>> Dean Weber
>
>
> How exactly are you adding the user to that group? If you create an
> XWikiGroups object, add it to the group document, then save it, you
> should use saveWithProgrammingRights() instead of save().
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
THis is from the NoAccess.WebHome page.
Here is the velocity code segment I am using to try and add a user to the
TrainedUsersGroup group.
01 #if($completed_training == "true" or $xwiki.hasAdminRights())
02 ##
03 ## Add the current user to the TrainedUsersGroup group
04 ##
05 #set($MyGroupDoc = $xwiki.getDocument("XWiki.TrainedUsersGroup"))
06 #if(!$MyGroupDoc.getObject("XWiki.XWikiGroups", "member", $fullName))
07 #set($GroupObj = $MyGroupDoc.newObject("XWiki.XWikiGroups"))
08 #set($AddingUser = 1)
09 $GroupObj.set("member", $fullName)
10 $MyGroupDoc.save()
11 #end
12 #end
I have tested the Groovy code that is responsible for setting the
$completed_training variable depending on the user's status. That portion
is correct. The Groovy code did its part and is not the problem. All lines
execute correctly except for lines # 09 and 10. In the case where the
current user is not an admin, those lines display on the page instead of
being executed. In the case where the user is an admin, No code is
display. It is executed. The admin is added to the TrainedUsersGroup
without a problem. I've even changed line #10 to use
saveWithProgrammingRights but it behaves the same and just displays on the
screen in the case of a regular user.
Why can't the user execute the code that adds himself to a group when the
page was written and saved by the admin?
There must be some way for me to automatically place users into a group
based upon their training status.
Thanks
Dean Weber
Sr Software Engineer II
Raytheon Technical Services Company LLC
Hello everyone!
I use XWiki Dashboard (ver. 1.8) to view the documents at the spaces (*.
WebHome). And it works well, but unfortunately, list of documents is not
visible to every visitor. What do I need to change in the code?
Thanks in advance
Sime S.
Hello All!
I want to deploy the xwiki-enterprise-web-1.9.1.war file into a
Glassfish v2.1 server under Solaris 10 Update 7. The deployment does not
work. Here is the error message:
Deploying application in domain failed; Error loading deployment
descriptors for module [xwiki] Line 170 Column 20 -- Deployment
descriptor file WEB-INF/web.xml in archive [xwiki].
cvc-complex-type.2.4.d: Invalid content was found starting with element
'description'. No child element is expected at this point.
Does someone know how I can fix this?
Thank you very much.
Greetings,
Willi
Dear All
I have spent quite a few hours playing with the captcha trying to get it to
work. There were some useful posts on the new group, but none of them was a
complete solution.
The below has worked for me... hopefully it will prove useful to someone
else.
This code is taken from a fairly old xwiki that my client didn't want to
upgrade. It is based around registerinline.vm, which had previously been
edited to add a lot more fields. I am not an expert on OOP but got it to
work with a selection of conditional statements.
First declare the plugin - you have to make sure its enabled - but
apparently it is by default. "if ($reg)..." will evaluate to true/false and
if the value is negative its an error. You test the state of the captcha
using $captchaPlugin.verifyCaptcha("edit") where edit is the name - set
much later on.
One of the problems was that the form would come back with the correct
messages eg it would tell you if the captcha filled in wrong, but the new
user would still be regsitered (assuming all the other fields filled in
correctly). By playing I found that <input type="hidden" name="register"
value="1"/> was the key - if value="1" then registration occurs, if ="0"
then it doesn't. So put this in a conditional - which seems to only depend
on the captcha being ture/flase - which was odd, because I would ahve
thought you'd want to test with $reg as well. However, I couldn't get it to
work with $reg at this stage - reg=$reg usually prints out the nunber - but
at this point it just printed out ref=$reg...
Don't forget to put "verifyCaptcha" into the action of the form tag.
call the displayCaptcha pass the class name as "register_captcha" which
should map to the css classname to render the image with
$captchaPlugin.displayCaptcha("edit","register_captcha")
pass the name as edit
go to
http://<host>:<port>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&
find XWiki.XWikiPreferences[0]: XWiki.DefaultSkin select the values for
Anonymous: and Registered: as image or text - text gives you a simple sum to
fill in. There were 3 sets of each on mine, I set them all to imgae or all
to text
Anyway, back to work...
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
#if(!$reg||$reg<0 )
<p>Welcome .....</p>
#end
#*
if reg is true (ie form filled), but less than zero OR the captcha is
wrong
*#
#if( ($reg && $reg<=0) || !$captchaPlugin.verifyCaptcha("edit") )
#if($reg==-2)
#error("$msg.get('core.register.passwordMismatch')")
#elseif($reg==-3)
#error("$msg.get('core.register.userAlreadyExists')")
#elseif($reg==-4)
#error("$msg.get('core.register.invalidUsername')")
#elseif($reg==-8)
#error("$msg.get('core.register.userAlreadyExists')")
#else
##error("$msg.get('core.register.registerFailed', [$reg])")
#error("The captcha field was filled in wrongly.")
#end
#elseif($reg && $captchaPlugin.verifyCaptcha("edit"))
#set($xwname = "XWiki.${request.xwikiname}")
#info("$msg.get('core.register.successful',
[$xwiki.getUserName($xwname), $request.xwikiname])")
#end
##form appears if reg is not true or its -ve or capatcha is wrong
#if(!$reg||$reg<0 || !$captchaPlugin.verifyCaptcha("edit") )
<form id="register" action="verifyCaptcha" method="post">
<div>
<input type="hidden" name="template" value="XWiki.XWikiUserTemplate" />
##this is a key statement
#if ($captchaPlugin.verifyCaptcha("edit"))
##set it to 1
<input type="hidden" name="register" value="1"/>
#else
##set it to 0
<input type="hidden" name="register" value="0"/>
#end
#set($class = $xwiki.getClass("XWiki.XWikiUsers"))
#set($obj = $class.newObject())
#set($serverobj = $class.newObject())
#set($discard = $doc.use("XWiki.XWikiUsers"))
#if($request.register_first_name)
$doc.set("first_name", $request.register_first_name)
#end
#if($request.register_last_name)
$doc.set("last_name", $request.register_last_name)
#end
<dl>
##username
<dt>$msg.get("core.register.username")</dt>
<dd><input name="xwikiname" type="text" size="20" onfocus="
prepareName(document.forms.register);" /></dd>
... lots more fields
#if ($captchaPlugin)
$captchaPlugin.displayCaptcha("edit","register_captcha")
#end
<span class="buttonwrapper"><input type="submit"
value="$msg.get("core.register.submit")"/></span></div>
</form>
#end
Windows users can rejoice -- http://www.google.com/chrome -- Because they
work nicely together. Much faster/smoother. Unfortunately, to get it on
linux, you have to switch to google's
linux<http://news.cnet.com/8301-17939_109-10281744-2.html?tag=newsLeadStoriesArea…>.
I didn't realize chrome was worth bothering with until I understood all the
announcements, which is what got me to switch. (I still use Firefox on Linux
(via X protocol) to run "firebug")... I think IE won't be able to
So far, the biggest new feature I get, other than blazing fast javascript,
is that text boxes (e.g. comment panels, object-editor panels, etc) are
resizeable. (If it's in an "accordion" like in the object editor, you have
to collapse/reexpand to get the sizing correct if you make the window larger
than it's original display.)
Niels
http://nielsmayer.com
Dear All
I have inserted a captcha field into our registration page. It validates
correctly. However the user is still registered even if the code is
incorrectly entered.
I have tried to find the part within the code which actaully does the
registering once the fields are correctly filled in. I could then put this
in an if statement which depends on $reg and the captcha field. However I
can't find it.
Please, please, please can someone now just help me finish off.
I attach a short version of the code I have.
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
##verify captcha
##call the verifyCaptcha
#if($captchaPlugin.verifyCaptcha("edit"))
<h2>captcha correct</h2>
#else
<h2>captcha wrong</h2>
#end
#if(!$reg||$reg<0 )
<p>Welcome ......</p>
#end
#if($reg && $reg<=0)
#if($reg==-2)
#error("$msg.get('core.register.passwordMismatch')")
#elseif($reg==-3)
#error("$msg.get('core.register.userAlreadyExists')")
#elseif($reg==-4)
#error("$msg.get('core.register.invalidUsername')")
#elseif($reg==-8)
#error("$msg.get('core.register.userAlreadyExists')")
#else
#error("$msg.get('core.register.registerFailed', [$reg])")
#end
#elseif($reg)
#set($xwname = "XWiki.${request.xwikiname}")
#info("$msg.get('core.register.successful',
[$xwiki.getUserName($xwname), $request.xwikiname])")
#end
#if(!$reg||$reg<0)
<form id="register" action="verifyCaptcha" method="post">
<div>
#set($captchaPlugin = $xwiki.jcaptcha)
<input type="hidden" name="template" value="XWiki.XWikiUserTemplate"
/>
<input type="hidden" name="register" value="1"/>
#set($class = $xwiki.getClass("XWiki.XWikiUsers"))
#set($obj = $class.newObject())
#set($serverobj = $class.newObject())
#set($discard = $doc.use("XWiki.XWikiUsers"))
#if($request.register_first_name)
$doc.set("first_name", $request.register_first_name)
#end
#if($request.register_last_name)
$doc.set("last_name", $request.register_last_name)
#end
<dl>
##username
<dt>$msg.get("core.register.username")</dt>
<dd><input name="xwikiname" type="text" size="20" onfocus="
prepareName(document.forms.register);" /></dd>
##password
##lots of form fields here
#if ($captchaPlugin)
$captchaPlugin.displayCaptcha("edit","register_captcha")
#end
<span class="buttonwrapper"><input type="submit"
value="$msg.get("core.register.submit")"/></span></div>
</form>
#end
I could use some help on getting an XWiki server working with Oracle.
I followed the instructions here:
http://platform.xwiki.org/XWiki/bin/view/AdminGuide/InstallationOracle
The mentioned xwiki-oracle.hbm.xml file I finally found here:
http://www.xwiki.org/XWiki/bin/view/FAQ/Isthereasimplewaygettingxwikiworkin…
.
I placed it in the suggested xwiki/Web-INF/classes sub-directory.
But, I could not find a feeds.oracle.hbm.xml file anywhere. (Why would the
page mention those XML files yet not provide them?)
I made the necessary changes to hibernate.cfg.xml file in WEB-INF. I even
placed the ojdbc5.jar (latest rev) in the webaps/WEB-INF/lib directory. I
know that the JDBC jar file is correct because I had to put it in the
jetty/ext directory to get groovy script on one of our pages to
successfully connect to a different Oracle instance and pull data onto the
page. (Side note: groovy classes really need to be on their own separate
pages due to parsing issues with velocity and groovy. This was a heard
learned lesson).
So, I made the changes from the above instructions and created an xwiki
user on my Oracle 10g express edition DB which I installed on our Red-Hat
Linux server. So far things seemed to go well until I tried to pull it all
together and fire up the xwiki server and connect to it from the browser.
Below is the error I received:
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main xwiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XwikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource
xwiki.oracle.hbm.xml
RequestURI=/xwiki/bin/CEDSYard/
Powered by Jetty://
The request URI is the configured main page for our wiki. I see no new
tables in the xe Oracle DB.
All of the past emails on the subject in the user list haven't supplied
any answers. I really hope I can get some help on this.
What do I need to do to get Oracle and xwiki to work together since the
instructions I've found miss crucial elements of the puzzle?
Thanks,
Dean Weber
Sr Software Engineer II
Raytheon Technical Services Company LLC
6125 E 21 Street, MS 36
Indianapolis, IN 46219 USA
317.306.2657 Phone
317.306.4253 Fax
Dean.G.Weber(a)raytheon.com
All,
The log-in link on my wiki's main page was broken so I modified its global.vm file in an effort to fix it. After saving my changes and refreshing the wiki, however, I was given an HTTP status 500 error message by my server. I looked into the problem and it appears as though the issue lies with my hibernate.cfg.xml file which is included below:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Template for hibernate configuration. processing by maven using profiles.
Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml -->
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Please refer to the installation guide on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared lib directory
2) Uncomment the properties below for your specific DB
-->
<property name="connection.url">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<!-- Mapping files -->
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other database configurations.
Note that the database will be created automatically if it doesn't already exist.
We need to set the sql_mode to a less strict value, see XWIKI-1945
<property name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other database configurations.
Note that the database will be created automatically if it doesn't already exist.
<property name="connection.url">jdbc:hsqldb:file:/some/path/xwikidb;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
<!-- PostgreSQL configuration.
Uncomment if you want to use PostgreSQL and comment out other database configurations.
Note that the database will be created automatically if it doesn't already exist.
<property name="connection.url">jdbc:postgresql:xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">org.postgresql.Driver</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other database configurations.
Note: the 2 properties named "hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell Oracle to allow CLOBs larger than
32K.
<property name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
-->
<!-- Derby configuration.
Uncomment if you want to use Derby and comment out other database configurations.
Note that the database will be created automatically if it doesn't already exist.
<property name="connection.url">jdbc:derby:/some/path/xwikidb;create=true</property>
<property name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="dialect">org.hibernate.dialect.DerbyDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.derby.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
</session-factory>
</hibernate-configuration>
Although I used MySQL to install the wiki, it ran just fine with the MySQL section commented out. I'll do some additional research but for now any comments or suggestions you have would be greatly appreciated.
Thank you in advance.
Respectfully,
Joe Lawry
Hi All,
This problem has been driving me crazy for several days. I have XWiki
running in Tomcat and it works fine, but I am trying to get LDAP
authentication implemented and am unable to get past this current issue.
I have looked at all the past issues mentioned on this group and
searched the internet, but none of the cases seem to be related to mine.
I am able to use LDAP with Apache httpd from my machine against our AD
Server, but unable to get XWiki (in Tomcat) to do the same. I have tried
different versions of XWiki 1.9.2 and 2.0, followed the instructions
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAP
ConfigurationforActiveDirectory, and am able to bind and find the user
uid, but then it fails on the password authentication.
This is the problem -- XWiki appears to find the user in the directory
then fails on the userPassword attribute:
2009-07-06 16:00:34,812
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPUtils - Searching for the
user in LDAP: user:rgill base:dc=AcceptSoftware,dc=local
query:(sAMAccountName=rgill) uid:sAMAccountName
2009-07-06 16:00:34,812
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - LDAP search:
baseDN=[dc=AcceptSoftware,dc=local] query=[(sAMAccountName=rgill)]
attr=[[sAMAccountName, sn, givenName, displayName, mail, dn]]
ldapScope=[2]
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - - values for
attribute "displayName"
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - |- [Regan
Gill]
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - - values for
attribute "givenName"
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - |- [Regan]
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - - values for
attribute "sn"
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - |- [Gill]
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - - values for
attribute "mail"
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - |-
[rgill(a)acceptsoftware.com]
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - - values for
attribute "sAMAccountName"
2009-07-06 16:00:34,859
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - |- [rgill]
2009-07-06 16:00:34,875
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - LDAP search found
attributes: [{name=dn value=CN=Regan
Gill,OU=Users,OU=Fremont,OU=ASC,DC=AcceptSoftware,DC=local},
{name=displayName value=Regan Gill}, {name=givenName value=Regan},
{name=sn value=Gill}, {name=mail value=rgill(a)acceptsoftware.com},
{name=sAMAccountName value=rgill}]
2009-07-06 16:00:34,875
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-1] DEBUG ldap.XWikiLDAPConnection - Unable to verify
password because userPassword attribute not found.
LDAPException: No Such Attribute (16) No Such Attribute
LDAPException: Server Message: 00002080: AtrErr: DSID-03080139, #1:
0: 00002080: DSID-03080139, problem 1001
(NO_ATTRIBUTE_OR_VAL), data 0, Att 23 (userPassword)
LDAPException: Matched DN:
at
com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown
Source)
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown
Source)
at com.novell.ldap.LDAPConnection.compare(Unknown
Source)
at com.novell.ldap.LDAPConnection.compare(Unknown
Source)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.checkPassword(XWikiLDAPCon
nection.java:251)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateIn
Context(XWikiLDAPAuthServiceImpl.java:398)
The error message in red is exactly what the AD server sends back when
the request is made so I know its coming from the AD server itself.
However when I using Apache, it authenticates using the same
information:
[Mon Jul 06 16:05:56 2009] [debug] mod_authnz_ldap.c(474): [client
127.0.0.1] [4444] auth_ldap authenticate: accepting rgill, referer:
In addition we have another application that is also able to bind and
authenticate with the same settings and AD Server. Since the user is
being found in AD in both cases I would expect the authenticate to work
as well in XWiki as in Apache's LDAP module. I am not an LDAP or Active
Directory expert but it unless someone can help, I may need to become
one to get this to work...
Thanks,
Regan
________________________________________________________
Regan Gill | Process Architect | Accept Software Corporation
office: +1.510.403.4023 | mobile: +1.510.798.3082 | fax: +1.510.979.0220
42840 Christy Street, Suite 201, Fremont, CA 94538 USA
www.acceptsoftware.com <http://www.acceptsoftware.com/>
Just updated * XWiki.XWikiGroupSheet
(xwiki-enterprise-wiki-2.0-milestone-1.xar) an got page listing feature
but lost Add User To a group button?
Any ideas?
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi, can someone help me with setting up CAPTCHA with the albatross skin for
registration and comments? Is there some example code I could look at? Or if
someone has this working could they give some guidence? I have the captcha
plugin enabled but I'm kinda stuck on what to do next. Thanks in advance.
-Marlon
Hello, i'm new to XWiki
I am more used to MediaWiki, thanks to Wikipedia and i was looking for two features from MediaWiki :
- the Category thing : the ability to filter pages by category. Maybe Xwiki does have this functionnality but i have search macro and snippets and FAQs but i can't find how Xwiki named this functionnality.
- the Modele thing : I would like to create several pages on a same modele : like zoologic classification record : all pages should use the same template : name, nature, classification, sub classification etc… Is it possible to create a canvas with XWiki (maybe a page) and include the page with parameters so, once opened, the page will have all the fields fill by the parameters ?
Cordialement
Best Regards
MAI Phương Trâm
Nouvelles Frontières Informatique
=====================
NOUVELLES FRONTIERES
74, rue de Lagny
API 4A10
93107 MONTREUIL CEDEX
+33(0)1 48 51 81 21
Hello there,
I was looking forward to have a more specific statistics website on my xwiki.
Actually, I would like to monitor which user visited a space, how many times he or she did it. Is there any tool (xwiki or external tool) that allows me to do that?
Thanks in advance !
Best Regards
Hi all,
has anyone already tried the "Junp to page" feature of the release 1.9.0
behind an Apache server?
When I type the page name, I'm asked for authentication again and again.
Here is my apache config:
<Location /xwiki>
SSLRequireSSL
AuthType Basic
AuthName "xwiki is a restricted area."
AuthUserFile E:\Programme\xampp\apache\etc\passwd
Require valid-user
ProxyPass ajp://127.0.0.1:8019/xwiki
ProxyPassReverse ajp://127.0.0.1:8019/xwiki
</Location>
My XWiki installation:
XWiki 1.9.0
MySQL 5
Tomcat 5.0.28
Thanks a lot,
Marco
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is a bug fix and enhancement release mainly around new WYSIWYG
and new Rendering modules.
Changes since XWiki Enterprise 1.9. Improvements:
* Latvian translations available
* XWIKI-4016 Add the ability to configure the colors displayed by the
color picker
* XABLOG-31 Add a default article to the blog
* XABLOG-32 Displaying blog-specific panels on the left of the screen
in the Blog space
Important Bugs fixed:
* Various bugs fixed in the xwiki/2.0 WYSIWYG editor
* Various bugs fixed in the xwiki/1.0 to xwiki/2.0 converter
* XWIKI-3992 Preview is broken in path based multiwiki
* XWIKI-4033 When saving after section edit entire page is overwritten
* XWIKI-3987 Livetable macro isn't working anymore in XWiki 2.0 syntax
* XWIKI-3991 Livetables don't work when edited in the WYSIWYG editor
* XWIKI-4051 Office Importer auto-start feature is broken in 1.9 branch
* XABLOG-49 Publishing blog posts does not work for non-admin users
* XABLOG-48 The Recent Posts panel displays hidden posts
* XATAG-17 Don't allow tags to be renamed to the empty string
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise191
Thanks,
The XWiki dev team
Dear All
I am trying to get a captcha to work, and am struggling.
If i go to edit the register page and edit the code I can get a captcha
field to display :-) along with an input box.
This is what I did:
#if ($xwiki.jcaptcha.verifyCaptcha("CaptchaName"))
#if ($context.user=="XWiki.XWikiGuest")
<img style="border: solid 1px #000000" src="$doc.getURL("jcaptcha")">
<br /> Please type the captcha below:*
<br /> <input size="40" type="text" name="jcaptcha_response" /> <br />
#end
#end
I have searched through this mail group and read several posts on using this
captcha.
I have tried altering the action thus:
<form id="register" action="captcha.vm" method="post">
but that didn't seem to do much (well, anything really!)
I have also tried this
http://n2.nabble.com/CAPTCHA-for-comments-and-registration-td507976.html#a50
7976 frm Sachin Mittal at the very bottom - but I am lost!
Could somebody please help?
Thanks
E
Hi Asiri,
I installed from the following:
xwiki-enterprise-web-1.8.4.war
xwiki-enterprise-wiki-1.8.4.xar
OOo_3.1.0_Win32Intel_install_en-US.exe
If I open the Word document in OOo I can see the Visio drawing and other
images. In the imported XWiki markup there is no sign that there was
anything either where the drawing or the inserted image were.
Thanks,
Kevin
>> I have just set up the Office Importer and tried importing a Word
document
>> that contains an embedded Visio drawing. The document imported OK,
but the
>> Visio drawing is not visible. Also other images in the document
(simple
>> picture elements) are not visible.
>>
>> Is this an issue in my configuration or is this just the way it
works?
>
>It's definitely not the way it works. Which XE version are you using?
and
>which OOo version?
>
>Thanks.
>
>- Asiri
Hi Florian.
On Wed, Jul 1, 2009 at 1:00 PM, Florian Rhomberg <
florian.rhomberg(a)nettania.net> wrote:
> Hello!
>
> I have a question tot he new WYSWYG. First I have to say that this editor
> is
> really really much better than the old one, gratulations. Especially the
> new
> method to insert macros is quite well! In future will it be possible to add
> news macros to the standard ones? Especially the macro to add a list of all
> pages of this space would be very useful!
>
>
>
> But now my problem:
>
> I did a backup of my old xwiki content which was version 1.8 I think so.
> After installing the new one I ibstalled the new xar file for 1.9. Then I
> imported selected articles of the old wiki tot he new one. But now if I
> want
> to edit an old article I get also the old WYSIWYG editor and not the new
> one. This does not satisfy me, is there a possibility to change this?
>
Try this:
go to the wiki edit mode, change the page syntax to xwiki/2.0, this will ask
you if you want to convert the page into xwiki/2.0 syntax, say "yes" :)
Then xwitch back to wysiwyg editor, you should get the new wysiwyg editor
now.
Not sure if this is the optimal solution, but it should work.
- Asiri
>
>
>
> Thanks,
>
> Florian
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi Florian,
Florian Rhomberg wrote:
> Hello!
>
> I have a question tot he new WYSWYG. First I have to say that this editor is
> really really much better than the old one, gratulations. Especially the new
> method to insert macros is quite well! In future will it be possible to add
> news macros to the standard ones? Especially the macro to add a list of all
> pages of this space would be very useful!
Yes, soon you'll be able to write your own macros inside wiki pages and
this macros will be automatically discovered and listed in the WYSIWYG
"Insert Macro" dialog.
Thanks,
Marius
>
>
>
> But now my problem:
>
> I did a backup of my old xwiki content which was version 1.8 I think so.
> After installing the new one I ibstalled the new xar file for 1.9. Then I
> imported selected articles of the old wiki tot he new one. But now if I want
> to edit an old article I get also the old WYSIWYG editor and not the new
> one. This does not satisfy me, is there a possibility to change this?
>
>
>
> Thanks,
>
> Florian
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
On Wed, Jul 1, 2009 at 09:30, Florian
Rhomberg<florian.rhomberg(a)nettania.net> wrote:
> Hello!
>
> I have a question tot he new WYSWYG. First I have to say that this editor is
> really really much better than the old one, gratulations. Especially the new
> method to insert macros is quite well! In future will it be possible to add
> news macros to the standard ones? Especially the macro to add a list of all
> pages of this space would be very useful!
>
>
>
> But now my problem:
>
> I did a backup of my old xwiki content which was version 1.8 I think so.
> After installing the new one I ibstalled the new xar file for 1.9. Then I
> imported selected articles of the old wiki tot he new one. But now if I want
> to edit an old article I get also the old WYSIWYG editor and not the new
> one. This does not satisfy me, is there a possibility to change this?
Basically to have the new WYSIWYG you need the new syntax. So the
common way is to do what Asiri explained: change the syntax and then
you will get the new WYSIWYG.
Note that there is quite big difference between 1.0 and 2.0 syntax
when you do Velocity scripting or insert html so the converter do what
it can but you will need to check the result. If you just have pure
wiki syntax it should be ok.
>
>
>
> Thanks,
>
> Florian
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
Hello!
I have a question tot he new WYSWYG. First I have to say that this editor is
really really much better than the old one, gratulations. Especially the new
method to insert macros is quite well! In future will it be possible to add
news macros to the standard ones? Especially the macro to add a list of all
pages of this space would be very useful!
But now my problem:
I did a backup of my old xwiki content which was version 1.8 I think so.
After installing the new one I ibstalled the new xar file for 1.9. Then I
imported selected articles of the old wiki tot he new one. But now if I want
to edit an old article I get also the old WYSIWYG editor and not the new
one. This does not satisfy me, is there a possibility to change this?
Thanks,
Florian
Hi all
I have recently installed Xwiki and have had difficulty with the above
mentioned topics. I have already searched through the site for solutions to
LDAP/Active directory issues but can't seem to find a solution.
I have turned on the logging for LDAP and it is telling me that I am
supplying Invalid Credentials, I don't see how this can be true seeing as I
have tried it with our server administrator account and received the same
error.
Does XWiki offer Admin approval for a new change to a page? We would like
to check the changes before they are put up on the Wiki.
Thanks
--
View this message in context: http://n2.nabble.com/LDAP-Authentication-and-Admin-Approval-tp3173539p31735…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
sorry for the missing info:
I'm using:
Xwiki Enterprise: v1.9
Tomcat: v6.0.20
MySql: v5.1.34
Mac OS X: v10.4.11
Regards,
Vittorio
---------- Forwarded message ----------
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Date: Sat, 27 Jun 2009 22:19:53 +0300
Subject: Re: [xwiki-users] Editor doesn't display saved text
Hi,
Please tell us what version of XWiki Enterprise are you using and
whether you use the new syntax (and thus the new WYSIWYG editor) or
not.
Thanks,
Marius
Vittorio Torroni wrote:
Hi,
When I create a new document and I type some text in the WYSIWYG
editor, then click "save and view", the text appears correctly in the
page. When I go back to the editor, however, the text has disappeared.
Thanks,
Vittorio
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
---------- Forwarded message ----------
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
To: XWiki Users <users(a)xwiki.org>
Date: Sat, 27 Jun 2009 22:25:51 +0300
Subject: Re: [xwiki-users] Editing from the "Choose editor" panel
Hi,
Please tell us what version of XWiki Enterprise are you using and
whether the exiting page is in the new syntax (XWiki 2.0) or not.
Thanks,
Marius
Vittorio Torroni wrote:
Hi,
in relationship to a previous post, I've discovered that editing an
existing page works only if the editor is chosen from the top panel,
i.e. from the drop-down menu that appears when one clicks "edit". If
one only clicks "Edit" then the WYSIWYG editor (default) doesn't show
any contents and switching to wiki editing mode doesn't help either.
The only way to edit the page is to select the editor under the "Edit"
menu from the top panel.
I wonder if a Problem Report has already been raised on this subject.
Thanks,
Vittorio
I'm looking to set up a wiki to develop my roleplaying system and to manage
my playtest campaigns.
User: Mindwanders
Server Name: graphicnovel
Yours faithfully,
Gordon McDonald
Email: Gordon(a)strangecompany.org
Hi,
We have just upgraded from 1.5 to 1.9 of xwiki and are encountering a new
problem.
If I edit a section of a document, then press 'Save & View', the section I
edited replaces the whole document.
Is this a know problem? Is there a workaround?
For clarity, here are the steps again:
Navigate to a page with multiple sections
Click the pencil at the top right of a section to edit a single section
Press Save & View
The section replaces the whole page
To recover the whole page you can do History/Rollback.
Thanks
Martin
--
View this message in context: http://n2.nabble.com/Section-edit-overwrites-whole-document-tp3175001p31750…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
in relationship to a previous post, I've discovered that editing an
existing page works only if the editor is chosen from the top panel,
i.e. from the drop-down menu that appears when one clicks "edit". If
one only clicks "Edit" then the WYSIWYG editor (default) doesn't show
any contents and switching to wiki editing mode doesn't help either.
The only way to edit the page is to select the editor under the "Edit"
menu from the top panel.
I wonder if a Problem Report has already been raised on this subject.
Thanks,
Vittorio
Hi,
When I create a new document and I type some text in the WYSIWYG
editor, then click "save and view", the text appears correctly in the
page. When I go back to the editor, however, the text has disappeared.
Thanks,
Vittorio
Hi,
I have 3 problems with tags:
1 - I have only 1 document in my wiki. I have added 1 tag to it, but
it doesn't show in the Tags page
2 - Certain tags cannot be deleted. I have a tag called fede" and when
I try to delete it it gives an error: Deletion of tag fede failed. I
would try with tags that don't have the double quotes, but I keep
adding new ones and yet they don't appear in the Tags page (see
problem n. 1 above)
3 - I have only 1 document in my wiki and a number of tags defined for
it. When I display the tags page and select one of them, it says there
no documents with that tag.
Anybody can shed some light?
This is a pretty fundamental functionality for a wiki and it would be
a pity if there were a bug that prevented it from functioning
correctly.
Regards,
Vittorio
users-request(a)xwiki.org 写道:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Broken TreeGrid images (Andawyr)
> 2. Re: FAQTutorial broken in 1.9 and 2.0M1 (Aaron Digulla)
> 3. Two greater problems with XWiki (Florian Rhomberg)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 26 Jun 2009 09:26:10 -0700 (PDT)
> From: Andawyr <andawyr(a)gmail.com>
> Subject: [xwiki-users] Broken TreeGrid images
> To: users(a)xwiki.org
> Message-ID: <1246033570479-3162444.post(a)n2.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Version: 1.8.1
>
> I'm having a problem with TreeGrids, as part of SmartClient. When trying to
> insert a link to a Wiki space/page, the tree grid embedded in the popup
> window references the following URL for the tree images:
>
> http://.../xwiki/skins/albatross/js/smartclient/skins/Enterprise/images/TreeGrid/opener_closed.gif
>
> The path should be:
>
> http://.../xwiki/bin/skin/resources/js/smartclient/skins/Enterprise/images/TreeGrid/opener_closed.gif
>
> Where do I fix this? I also can't click on the 'New page' link in the popup
> window, but I think this is related to the incorrect URL....
>
--
Please be free to contact with me for any question or suggestion.
Thanks&Best Regards .
Yang Gu
===============================================================
Mobile: +86 13774305530
Email : hyysguyang(a)gmail.com
MSN : hyysguyang(a)gmail.com
===============================================================
Version: 1.8.1
I'm having a problem with TreeGrids, as part of SmartClient. When trying to
insert a link to a Wiki space/page, the tree grid embedded in the popup
window references the following URL for the tree images:
http://.../xwiki/skins/albatross/js/smartclient/skins/Enterprise/images/TreeGrid/opener_closed.gif
The path should be:
http://.../xwiki/bin/skin/resources/js/smartclient/skins/Enterprise/images/TreeGrid/opener_closed.gif
Where do I fix this? I also can't click on the 'New page' link in the popup
window, but I think this is related to the incorrect URL....
--
View this message in context: http://n2.nabble.com/Broken-TreeGrid-images-tp3162444p3162444.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
At the moment I am trying to get the Xwiki ready for use and therefor I have
some problems, two Problems are very important:
1.) I have troubles with my wysiwyg Editor:
I have a bigger artivle with severyl headlines. Therefor I can click on the
pen symbol tot he right of teh articel to open only a part oft he article.
If I do this and store the article the parts above of the articles are away!
Then I have to restore the old version than the old text is again shown but
not the new one. What can be the reason for that? If I use the editor
without wysiwyg the same result!
2.) I want to use the blog, and there I have the problem that I get the
Error: Error <http://xwiki.htl-ibk.at/xwiki/bin/view/Blog/> number 4001 in
4: Error while parsing velocity page Blog.WebHome Wrapped Exception: Failed
to evaluate content with id Web Home
<http://xwiki.htl-ibk.at/xwiki/bin/view/Blog/>
I think this is a problem with the MSSQL Server which I use as Database. Has
someone a solution to fix it?
Thank you for your help,
Florian
Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home
<http://xwiki.htl-ibk.at/xwiki/bin/view/Blog/>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home
<http://xwiki.htl-ibk.at/xwiki/bin/view/Blog/>
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:114)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java
:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3864)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364)
at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java
:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWiki
RenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
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:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java
:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:690)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception
com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with SQL
<http://xwiki.htl-ibk.at/xwiki/bin/edit/select+distinct+doc.space%2C+doc.nam
e%2C+publishDate.value+from+XWikiDocument+as+doc+%2C+BaseObject+obj%2C+Integ
erProperty+isPublished%2C+IntegerProperty+hidden%2C+DateProperty+publishDate
+%0A++++where+%28doc.hidden+%26%2360%3B%26%2362%3B+true+or+doc.hidden+is+nul
l%29+and+doc/fullName+%26%2360%3B%26?parent=Blog.WebHome> space, doc.name,
publish Date.value from XWiki Document as doc , Base Object obj, Integer
Property is Published, Integer Property hidden, Date Property publish Date
<http://xwiki.htl-ibk.at/xwiki/bin/edit/select+distinct+doc.space%2C+doc.nam
e%2C+publishDate.value+from+XWikiDocument+as+doc+%2C+BaseObject+obj%2C+Integ
erProperty+isPublished%2C+IntegerProperty+hidden%2C+DateProperty+publishDate
+%0A++++where+%28doc.hidden+%26%2360%3B%26%2362%3B+true+or+doc.hidden+is+nul
l%29+and+doc/fullName+%26%2360%3B%26?parent=Blog.WebHome> where
(doc.hidden <> true or doc.hidden is null) and doc.full Name <&?
Wrapped Exception: could not execute query at Blog.WebHome
<http://xwiki.htl-ibk.at/xwiki/bin/edit/Blog/line+164%2C+column+26?parent=Bl
og.WebHome> line 164, column 26?
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(
ASTMethod.java:337)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java
:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.ja
va:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirecti
ve.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java
:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3864)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364)
at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java
:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRend
eringEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWiki
RenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroPro
xy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:
247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement
.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:33
6)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
va:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilt
er.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi
lter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
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:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java
:889)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:690)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception
while searching documents with SQL
<http://xwiki.htl-ibk.at/xwiki/bin/edit/select+distinct+doc.space%2C+doc.nam
e%2C+publishDate.value+from+XWikiDocument+as+doc+%2C+BaseObject+obj%2C+Integ
erProperty+isPublished%2C+IntegerProperty+hidden%2C+DateProperty+publishDate
+%0A++++where+%28doc.hidden+%26%2360%3B%26%2362%3B+true+or+doc.hidden+is+nul
l%29+and+doc/fullName+%26%2360%3B%26?parent=Blog.WebHome> space, doc.name,
publish Date.value from XWiki Document as doc , Base Object obj, Integer
Property is Published, Integer Property hidden, Date Property publish Date
<http://xwiki.htl-ibk.at/xwiki/bin/edit/select+distinct+doc.space%2C+doc.nam
e%2C+publishDate.value+from+XWikiDocument+as+doc+%2C+BaseObject+obj%2C+Integ
erProperty+isPublished%2C+IntegerProperty+hidden%2C+DateProperty+publishDate
+%0A++++where+%28doc.hidden+%26%2360%3B%26%2362%3B+true+or+doc.hidden+is+nul
l%29+and+doc/fullName+%26%2360%3B%26?parent=Blog.WebHome> where
(doc.hidden <> true or doc.hidden is null) and doc.full Name <&?
Wrapped Exception: could not execute query
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHi
bernateStore.java:2302)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateS
tore.java:2266)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateS
tore.java:2747)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.jav
a:267)
at com.xpn.xwiki.api.XWiki.searchDocuments(XWiki.java:406)
at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(
UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270
)
. 129 more
Hi Florian,
> I can only use the externally managed server, there xwiki response that the
> connection can be established.
> This is an output from ps -Af:
>
> xwiki 32518 1 0 09:02 pts/0 00:00:00
> /usr/lib/openoffice/program/soffice.bin -headless -accept=s
>
> Therefor the server is working.
> As already mentioned in the last mails, there is nor error reported in the
> xwiki.log due this problem. It still does not work.
>
> This is my configuration file for the office Importer:
>
>
> #---------------------------------------------------------------------------
> -------
> # Settings for the OpenOffice server instance consumed by the
> OfficeImporter
> plugin
>
> #---------------------------------------------------------------------------
> -------
>
> #-# [Since 1.9M2]
> #-# Type of the openoffice server instance used by officeimporter plugin.
> #-# 0 - Internally managed server instance.
> #-# 1 - Externally managed (local) server instance.
> openoffice.serverType=1
>
> #-# [Since 1.9M2]
> #-# Port number used for connecting to the openoffice server instance.
> openoffice.serverPort=8100
>
> #-# [Since 1.9M2]
> #-# If the openoffice server should be started / connected upon XE start.
> openoffice.autoStart=true
>
> #-# [Since 1.8RC3]
> #-# Path to openoffice installation (serverType:0 only).
> # openoffice.homePath=/opt/openoffice.org3/
>
> #-# [Since 1.8RC3]
> #-# Path to openoffice execution profile (serverType:0 only).
> # openoffice.profilePath=/home/user/.openoffice.org/3
>
> #-# [Since 1.8RC3]
> #-# Maximum number of simultaneous conversion tasks to be handled by a
> single openoffice process (serverType:0 only).
> # openoffice.maxTasksPerProcess=50
>
> #-# [Since 1.8RC3]
> #-# Timeout for conversion tasks (in miliseconds) (serverType:0 only).
> # openoffice.taskExecutionTimeout=30000
>
I just downloaded
http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-jet…
tested the officeimporter. For me both internal / external
configurations work fine.
I suspect that your problem could be due to a missing openoffice profile.
Although with an externally configured oo server this cannot be the problem,
specially if xwiki is able to connect to the openoffice server.
Also, did you try several documents to see if the result is same? (Try a
very simple word document for an example).
I really can't help much from here because I cannot reproduce your error :(
Thanks.
- Asiri
Hi,
On Thu, Jun 25, 2009 at 10:31 PM, Florian Rhomberg <
florian.rhomberg(a)nettania.net> wrote:
> Hi!
> No problem because of the late reply, at the moment I am struggeling with
> Xwiki in different ways.
Which version of XE are you using?
Thanks.
- Asiri
Hi Florian,
On Thu, Jun 25, 2009 at 2:06 AM, Florian Rhomberg <
florian.rhomberg(a)nettania.net> wrote:
> I checked the log which is under tomcat6/bin in my installation (I do not
> really know why) but nd the only thing I found was the following:
>
> 2009-06-24 22:08:52,466
> [http://xwiki.htl-ibk.at/xwiki/bin/view/XWiki/OfficeImporter]
> [TP-Processor3] INFO .AbstractXWikiMigrationManager - No storage
> migration
> required since current version is [15429]
>
> First I tried to configure the server with an external server. There I got
> an connection to xwiki. Now I have tried to get it woked with the
> internally
> managed, there I am not able to start the server, I only get the
> information
> that there is an error while trying to connect ot the server. But in the
> xwiki.log no error is listed. I use Ubuntu Server and have installed with
> apt-get install openoffice.org-headless.
Which version of XE / OpenOffice are you using? Did you follow the
instructions on
http://code.xwiki.org/xwiki/bin/view/Applications/OfficeImporterApplication?
Thanks.
- Asiri
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.0 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
It's the first milstone of the 2.0 version.
The main goal of 2.0 is to make XWiki fully Xwiki 2.0 syntax.
Main changes from 1.9:
* Lots of improvements and new features in the new WYSIWYG editor
* Lots of improvements and bugfixes in the rendering engine and
the syntax converter
* New Chart macro for XWiki 2.0 syntax
* New info, warning and error macros
* Improvements for the blog application
* New Search Interface
* New events for XWiki startup/shutdown
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M1
Thanks
-The XWiki dev team
Hi,
On Wed, Jun 24, 2009 at 8:58 PM, Florian Rhomberg <
florian.rhomberg(a)nettania.net> wrote:
> Hi,
>
> I try to configure the Office Importer Plugin. I have installed an started
> openoffice on the server and xwiki also can connect to the openoffice
> Server. But when I try to import an office or also openoffice document I
> get the error message that the convertion failed. What can be the reason
> for
> that, the service is running!
>
Can you check the server log and see the exception trace?
Thanks.
- Asiri
Hi,
I tried to create a Korean language file.
In Textmate it looks OK saved with UTF-8 encoding on Mac OS X 10.6 ,
I've put the file into WEBINF/classes.
In Xwiki the prompts do not look korean but like a strange mix of
"deck of cards" with german letters with umlauts etc..
Is there a trick i've missed. The same procedure worked fine with
western languages
Gerritjan
I have just set up the Office Importer and tried importing a Word document that contains an embedded Visio drawing. The document imported OK, but the Visio drawing is not visible. Also other images in the document (simple picture elements) are not visible.
Is this an issue in my configuration or is this just the way it works?
Thanks,
Kevin
Hi,
I try to configure the Office Importer Plugin. I have installed an started
openoffice on the server and xwiki also can connect to the openoffice
Server. But when I try to import an office or also openoffice document I
get the error message that the convertion failed. What can be the reason for
that, the service is running!
Thank you for your help,
Florian
Hi!
Sorry I have already solved the problem. IIt seems that I have imported the
old xar File not from the new xwiki version. Now I did this and the search
is working good. But I remain with two auetiosn:
- How can I enable the Lucern Search as default Search Plugin?
- After I imported the new xar file I have to configure the start page of
the wiki because my old settings are gone. How can I prevent this fort he
future without not being able to update the xwiki?
Thanks,
Florian
-----Ursprüngliche Nachricht-----
Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im Auftrag von
Florian Rhomberg
Gesendet: Mittwoch, 24. Juni 2009 10:49
An: users(a)xwiki.org
Betreff: [xwiki-users] Search Problems after MSSQL Migration
Hi!
I tried to migrate my xwiki 1.9 installation from MySQL to a MSSQL 2005
Server. However I did this the following way:
1. I exported my xwiki content to a xar file.
2. Afterwards I deleted the old xwiki installation and downloaded a
new xwiki 1.9 war File.
3. I used the MSSQL installation guide from the xwiki homepage
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL ) to
get it work. And it worked perfeclty
4. Last I imported the backup of the old xwiki to the new installation
without any problems
However all pages and spaces are imported but if I try to open the Index or
to search with Lucern Search (I read the problem mit the standard search
engine) it seems that the xwiki is completley empty. Only the spaces are
shown on the startpage. As well all content directories which i show on the
pages ( #includeMacros("XWiki.SpaceContent") ) are empty. I also tried to
renew the Lucene Index, without any success. But if I know the exact Name
oft he article I can open it without problems. If I create a new page
results in the same problem, the page cannot be found!
What is the problem and how can I solve it. Has someone any idea?
Thank you for your help,
Florian
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
On trying to deploy XWiki 1.9 via the admin interface in Glassfish v2.1, I
get the following error message:
Deploying application in domain failed; Error loading deployment descriptors
for module [xwiki] Line 76 Column 17 -- Deployment descriptor file
WEB-INF/web.xml in archive [xwiki]. Element type "dispatcher" must be
declared. Error loading deployment descriptors for module [xwiki] Line 76
Column 17 -- Deployment descriptor file WEB-INF/web.xml in archive [xwiki].
Element type "dispatcher" must be declared.
What can I do to fix this?
Thanks
--
View this message in context: http://n2.nabble.com/Unable-to-deploy-XWiki-1.9-in-Glassfish-v2.1-tp3147962…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
I tried to migrate my xwiki 1.9 installation from MySQL to a MSSQL 2005
Server. However I did this the following way:
1. I exported my xwiki content to a xar file.
2. Afterwards I deleted the old xwiki installation and downloaded a
new xwiki 1.9 war File.
3. I used the MSSQL installation guide from the xwiki homepage
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL ) to
get it work. And it worked perfeclty
4. Last I imported the backup of the old xwiki to the new installation
without any problems
However all pages and spaces are imported but if I try to open the Index or
to search with Lucern Search (I read the problem mit the standard search
engine) it seems that the xwiki is completley empty. Only the spaces are
shown on the startpage. As well all content directories which i show on the
pages ( #includeMacros("XWiki.SpaceContent") ) are empty. I also tried to
renew the Lucene Index, without any success. But if I know the exact Name
oft he article I can open it without problems. If I create a new page
results in the same problem, the page cannot be found!
What is the problem and how can I solve it. Has someone any idea?
Thank you for your help,
Florian
Hi XWikiers,
LinuxTag will be held in Berlin from tomorrow to saturday onwards. I'll be
there to talk about XWiki.
>From their website ( http://www.linuxtag.org/ ):
"LinuxTag is the most important place for Linux and open source software in
Europe. In 2009, the 15th LinuxTag presents news for professional users,
decision makers, developers, beginners and the Linux community - from 24th
until 27th June on the Fairground in Berlin."
If you're around please come say hello and ask all your questions about
XWiki ;-)
Guillaume
Hi,
I've just installed XWiki 1.9 in Tomcat using a PostgreSQL database which
completed *nearly* flawlessly. However, using either the superadmin or the
Admin user, through the Users panel in the admin, clicking on the 'Add new
user' button (link : '#') does NOTHING. I need to fix it ASAP since I have
an important demo tomorrow for one of my clients. Thx.
--
Hoani CROSS
Globotraders Tahiti Founder [http://globotraders-tahiti.com]
hello,
I run xwiki 1.9 and I have multiple problems :
* When I edit part of a page, only that part is kept and the rest is lost
* When I edit a page, i lost the history (only SuperAdmin can view and
restore from the history)
* WhatsNew doesn't display modification
All this error appears since the upgrade to 1.9 version
In my log, 2 lines are repeated :
* [WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
* WARN rcs.XWikiPatch - isDiff: Patch is inconsistent. Content and diff
field are contradicting
My installation of xwiki is very very old. I maintain the same bdd
(mysql) since the version 0.7 (and older yet, I think). Early June, I
updated from 1.2 to 1.8 and few days later, 1.8 to 1.9.
Any help would be greatly appreciated.
Thank you very much,
Johan
hello,
I run xwiki 1.9 and I have multiple problems :
* When I edit part of a page, only that part is kept and the rest is lost
* When I edit a page, i lost the history (only SuperAdmin can view and
restore from the history)
* WhatsNew doesn't display modification
All this error appears since the upgrade to 1.9 version
In my log, 2 lines are repeated :
* [WARNING] Deprecated usage of getter [com.xpn.xwiki.api.Document.getWeb]
* WARN rcs.XWikiPatch - isDiff: Patch is inconsistent. Content and diff
field are contradicting
My installation of xwiki is very very old. I maintain the same bdd
(mysql) since the version 0.7 (and older yet, I think). Early June, I
updated from 1.2 to 1.8 and few days later, 1.8 to 1.9.
Any help would be greatly appreciated.
Thank you very much,
Johan
Hello,
I have just performed an update from 1.8 to 1.9, loaded the new 1.9 xar,
but i do not see the new features as described in the release notes. The
wysiwyg editor does not have the auto save function nor does it have the
new icons. Do any other steps need to be performed to fully upgrade?
Thanks.
Environment:
* Glassfish 2.1ur2
* Windows XP
* Apache Derby 10.4
* XWiki Enterprise 1.9.21179
--
I just installed this and got it up and running. I downloaded and installed:
xwiki-enterprise-wiki-1.9.xar
When I try to use the WYSIWYG editor in Firefox 3, it comes up okay, but
when I preview or save my pages, the page shows the HTML code, and not
the wiki code. That is, I see something like this:
<P>test</P><H1 id=HHeading1><SPAN>Heading 1</SPAN></H1><P>test
again</P><P></P><P>abcdef</P>
in the page instead of the paragraph, heading, etc. If I don't use the
WYSIWYG editor, it works fine. Any ideas of what I might have done wrong?
With IE 8, the WYSIWYG editor toolbar is just a bunch of mashed up icons
also.
--
Also, if I hit on the "Blog" link, I get an error:
Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home
</xwiki/bin/view/Blog/>
Any ideas on this one?
So far, I really like what I see however1
Brett
Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home </xwiki/bin/view/Blog/>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home </xwiki/bin/view/Blog/>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3864)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404)
at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364)
at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw
exception com.xpn.xwiki.XWikiException: Error number 3223 in 3:
Exception while searching documents with SQL space, doc.name, publish
Date.value from XWiki Document as doc , Base Object obj, Integer
Property is Published, Integer Property hidden, Date Property publish
Date where (doc.hidden <> true or doc.hidden is null) and doc.full Name
<&?
</xwiki/bin/edit/select+distinct+doc.space%2C+doc.name%2C+publishDate.value+from+XWikiDocument+as+doc+%2C+BaseObject+obj%2C+IntegerProperty+isPublished%2C+IntegerProperty+hidden%2C+DateProperty+publishDate+%0A++++where+%28doc.hidden+%26%2360%3B%26%2362%3B+true+or+doc.hidden+is+null%29+and+doc/fullName+%26%2360%3B%26?parent=Blog.WebHome>
Wrapped Exception: could not execute query at Blog.WebHomeline 164,
column 26?
</xwiki/bin/edit/Blog/line+164%2C+column+26?parent=Blog.WebHome> at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.XWiki.include(XWiki.java:3864) at
com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1404) at
com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1364) at
sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450) at
sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655) at
sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:734) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3:
Exception while searching documents with SQL space, doc.name, publish
Date.value from XWiki Document as doc , Base Object obj, Integer
Property is Published, Integer Property hidden, Date Property publish
Date where (doc.hidden <> true or doc.hidden is null) and doc.full Name
<&?
</xwiki/bin/edit/select+distinct+doc.space%2C+doc.name%2C+publishDate.value+from+XWikiDocument+as+doc+%2C+BaseObject+obj%2C+IntegerProperty+isPublished%2C+IntegerProperty+hidden%2C+DateProperty+publishDate+%0A++++where+%28doc.hidden+%26%2360%3B%26%2362%3B+true+or+doc.hidden+is+null%29+and+doc/fullName+%26%2360%3B%26?parent=Blog.WebHome>
Wrapped Exception: could not execute query at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2302)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2266)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2747)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:267)
at com.xpn.xwiki.api.XWiki.searchDocuments(XWiki.java:406) at
sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
… 143 more
I cannot create a substring in Wiki 1.0 format that uses more than three
characters. We are trying to hide the first nine characters of a space
title and unable to do this since we recieve "Error number 4001 in 4: Error
while parsing velocity page Main.Projects Wrapped Exception: Failed to
evaluate content with id Projects".
Here is the code that I am trying to use. Any help would be greatly
appreciated.
<table id="ChooseYourTableID" class="grid sortable filterable doOddEven"
cellpadding="0" cellspacing="0" border="0" align="center">
<tr class="sortHeader">
<th>Current Projects</th>
<th>Owner</th>
</tr>
#set ($hiddenSpaces = ["XWiki", "Admin", "Panels"])
#set ($hiddenPages = ["Main.WebRss", "Main.WebSearch", "Main.LuceneSearch",
"Main.WebSearchRss", "Main.BlogRss", "Blog.Macros", "Main.TagsRss",
"Main.RegisterNewUserAction", "Main.SpaceIndex", "Blog.Category"])
<div id="xwikinavcontainer">
#set($spaces = $xwiki.spaces)
#set($i = 0)
#set($spacecount = 0)
#foreach($space in $spaces)
<tr>
#if (!$hiddenSpaces.contains($space))
#set($LimitingCriteria = "${space.substring(0, 9)}")
#set($DisplayName = "${space.substring(9)}")
#set($Page = $space+".WebHome")
#set($Document = $xwiki.getDocument($Page))
#set($Author = $Document.getCreator())
#set($AuthorName = $xwiki.getUserName($Author, false))
#if ($LimitingCriteria == "Project ~")
#set($spaceWebHome =
"http://iccapp3:8080/xwiki/bin/view/$space/?text=_&space=" + $space )
<td>[$DisplayName>$spaceWebHome]</td>
<td>[$AuthorName>$spaceWebHome]</td>
#end
#end
</tr>
#end
</table>
Thank you very much,
Brian
--
View this message in context: http://n2.nabble.com/Unable-to-substring-above-3-characters-tp3136626p31366…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 06/29/2009.
I will not have access to email. If you need help with the wiki, please
contact Kim Dillon or Jenny Purushotma.
Note: This is an automated response to your message "users Digest, Vol 23,
Issue 31" sent on 6/20/09 6:00:07.
This is the only notification you will receive while this person is away.
Hi,
i've succeed to purge History of a single document using velocity:
$xwiki.getDocument('XWiki.123123').getDocument().resetArchive($context.context)
There's a problem in trying to purge history of more than one/two documents:
#set($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className=’XWiki.XWikiUsers’")
#set($allUsers = $xwiki.searchDocuments($sql))
#foreach ($user in $allUsers)
$xwiki.getDocument($user).getDocument().resetArchive($context.context)
#end
How can i avoid to get the message 'a different object with the same
identifier value was already associated with the session'. Can you give me
an advice, please?
I've had a bug in a scheduled job. As a result the user documents got
updates each day. I have to reset the History of more than 1500 users to
recover database space.
Thanks,
Rudolf
The error stack:
10:50:17,930 ERROR [STDERR] Caused by:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'resetArchive' in class com.xpn.xwiki.doc.XWikiDocument threw
exception com.xpn.xwiki.XWikiException: Error number 3211 in 3: Exception
while updating archive XWiki.140004
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo#com.xpn.xwiki.doc.rcs.XWikiRCS
NodeId(a)1610f1f[docId=-590464723,version=75.1]] @
ENitAdmin.PurgeHistoryTest[10,51]
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
10:50:17,930 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
10:50:17,930 ERROR [STDERR] at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
10:50:17,930 ERROR [STDERR] ... 86 more
10:50:17,930 ERROR [STDERR] Caused by: com.xpn.xwiki.XWikiException: Error
number 3211 in 3: Exception while updating archive XWiki.140004
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo#com.xpn.xwiki.doc.rcs.XWikiRCS
NodeId(a)1610f1f[docId=-590464723,version=75.1]]
10:50:17,930 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:267)
10:50:17,930 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiHibernateVersioningStore$2.doInHibernate(XWikiHibernateVersioningStore.java:247)
10:50:17,930 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1032)
10:50:17,930 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1084)
10:50:17,930 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.resetRCSArchive(XWikiHibernateVersioningStore.java:238)
10:50:17,930 ERROR [STDERR] at
com.xpn.xwiki.doc.XWikiDocument.resetArchive(XWikiDocument.java:4312)
10:50:17,930 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:50:17,930 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
10:50:17,946 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
10:50:17,946 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:597)
10:50:17,946 ERROR [STDERR] at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
10:50:17,946 ERROR [STDERR] at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
10:50:17,946 ERROR [STDERR] ... 94 more
--
View this message in context: http://n2.nabble.com/How-to-purge-Document-History-with-resetArchive-tp3118…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
The problem was that a "&" was missing at the end of the build URL
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de PERINAUD Christophe
Envoyé : vendredi 12 juin 2009 15:44
À : XWiki Users
Objet : [xwiki-users] How to use the ajaxSuggest
Hello all
I would like to use the ajaxSuggest feature to help users inputting data in an input field of a form.
I checked in the tagedit.vm how it works but i can't have a result.
I create that :
---
#set($script=$xwiki.getURL("Main.TestXML")+"?xpage=plain")
<input type="text" name="project" value="" class="panelinput" style="margin:auto;" onfocus="new ajaxSuggest(this, {script:'${script}', varname: 'input', seps:'', offsety: 13} );"/><br>
---
The page Main.TestXML is like that :
---
$response.setContentType("text/xml")
<?xml version="1.0" encoding="UTF-8"?>
<results type="1">
<rs id="1" info="info1">valeur1</rs>
<rs id="2" info="info2">valeur2</rs>
<rs id="3" info="info3">valeur3</rs>
</results>
---
So when the user inputs something like "al", i would like to see the popup with the three values.
I just got a javascript error saying "Object required" on the line with the input field
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I want to upload a file to my web server and i've read some topics on this
forum,but it didn't help.
Can somebody help me with this problem, with a little example of how I can
do this. I'll appreciate a lot!!
Thanks in advance!!
--
View this message in context: http://n2.nabble.com/Help--for-File-Upload-tp3115743p3115743.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I answer my own question.
The problem is that the URL used in the ajaxRequest is based on the URL of the main Wiki. But in my case i tried to use it from a virtual Wiki
For those who would like to use it in virtual mode, in the page called "Export" you have to replace :
this.baseUrl = "/xwiki/bin/" + this.action;
With
#if($xwiki.isVirtualMode() && !$context.isMainWiki())
this.baseUrl = "/xwiki/wiki/${context.getDatabase()}/" + this.action;
#else
this.baseUrl = "/xwiki/bin/" + this.action;
#end
Then the pages list should be displayed
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de PERINAUD Christophe
Envoyé : jeudi 26 mars 2009 14:39
À : XWiki Users
Objet : [xwiki-users] Import/Export application
Hello,
I download the ImportExport Application (1.3) in one of my virtual wiki. When i go in the export page and select a space nothing happens (only the message "Start by choosing a space to list documents" in the lower cell disepears)
I tried to look at the code but with no success. I added an instruction "alert(res.transport.responseText);" in showDocs function and the content is only set to the xml header. The readyStatus is set to 4 and the status is set to 200 so everything seems to be ok.
If i call the page in another windows with right parameters (action=getdocs&spacename=Blog&xpage=rdf), IE 6.0 displays a nice XML file with all pages in the space in a "value" tag
I can't find out why the XML flow is empty (and so makes the export page not working)
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8-rc2 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello,
I have recently started using the XWiki Manager to manage 2 separate
xwiki instances. While playing around and creating a new wiki I noticed
that I cannot create a new wiki using a template wiki. If I create a new
wiki using exactly the same settings but without a template it works
just fine. I have tried this with XEM 1.6.4 and XEM 1.7. Both have the
same problem. I am using tomcat 5.5.27 and an Oracle 10G database. The
problem apparently has to do with a sequence in the database.
Anyone got an idea what may be causing this?
Thanks,
Henk
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content
with id
<http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname=hhs…>Create
New Wiki <http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki>
Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki <http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki <http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute Wrapped Exception: could not get next sequence value
at WikiManager.CreateNewWikiline 157, column 32?
<http://localhost:8000/xwiki/bin/edit/WikiManager/line+157%2C+column+32?pare…>
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450) at
sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655) at
sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:627) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619) Caused by:
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute Wrapped Exception: could not get next sequence value
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1038)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1084)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:66)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3946) at
com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3938) at
com.xpn.xwiki.XWiki.copyWikiWeb(XWiki.java:4287) at
com.xpn.xwiki.plugin.wikimanager.WikiManager.copyWiki(WikiManager.java:321)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:514)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(WikiManagerPluginApi.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
... 91 more
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
I am currently running XWIKI ENTERPRISE 1.8.4.20192 with xwiki watch
1.1
I have read through the mailing list that there currently is no way to
use a 3rd party email server with xwiki or xwiki watch. I understand
that will be implemented in the future at some point. My question is if
there is a tutorial on how to setup xwiki to work with the localhost
sendmail setup.
I am able to telnet and send an email from localhost, where xwiki is
located, to my email server. Still when I try to use xwiki I get an
email error, but nothing in the maillogs that is coming from the xwiki
server. Any tips would be greatly appreciated.
ERROR mailsender.MailSenderPluginApi - Failed to send email [From [
XWiki Watch <wiki(a)xxx.example.com>], To [aziz(a)example.com], Subject
[Today's Press Review], Text [<div style='line-height: 1.5em'>You have
received a Press Review from XWiki Watch. It includes the following
articles:<br />
javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:782)
at javax.mail.Session.getTransport(Session.java:708)
at javax.mail.Session.getTransport(Session.java:651)
at javax.mail.Session.getTransport(Session.java:631)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlu
gin.java:666)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlug
in.java:624)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlug
in.java:610)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPluginApi.sendMail(MailSenderP
luginApi.java:164)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPluginApi.sendHtmlMessage(Mail
SenderPluginApi.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethod
SiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMet
hodSite.java:52)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteA
rray.java:43)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallS
ite.java:117)
at Script1.run(Script1.groovy:29)
at
com.xpn.xwiki.render.groovy.XWikiSimpleTemplateEngine$1.writeTo(XWikiSim
pleTemplateEngine.java:267)
at
com.xpn.xwiki.render.groovy.XWikiSimpleTemplateEngine$1.toString(XWikiSi
mpleTemplateEngine.java:285)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.evaluate(XWikiGroovyRend
erer.java:203)
at
com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.render(XWikiGroovyRender
er.java:255)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWiki
RenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWiki
RenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWiki
RenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultX
WikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:51
9)
at
com.xpn.xwiki.gwt.api.server.XWikiServiceImpl.getDocumentContent(XWikiSe
rviceImpl.java:1031)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteSe
rviceServlet.java:164)
at
com.xpn.xwiki.gwt.api.server.XWikiServiceImpl.processCall(XWikiServiceIm
pl.java:85)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteService
Servlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:
68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestor
erFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
0)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:685)
at java.lang.Thread.run(Thread.java:636)
Thank you,
-Aziz
Hello,
While recreating my setup of 2 virtual wiki's now directly under 1.9
instead of upgrading from 1.8.4, I am
getting NullPointerExceptions getting several wiki preferences while
creating a (template) wiki. I cannot
remember that I have seen these exceptions before and I wonder what
might be causing them and if they
are serious errors, since the wikis seems to be created succesfully. For
instance after creating the templatexe
wiki I get the message 'XWiki Enterprise Manager installation success.'
and I can access the wiki as normal.
(Although while doing so directly after creation I got a XWikiException
telling the wiki templatexe does not
exist. After a restart of xwiki even that problem seems to be gone... )
The reason I made this new setup was trying to solve my previous problem
with the Live Table 'Loading....'
never ends problem. That problem is now solved, going to the Document
Index page, the status Loading...
only appears for a few moments. But I would expect to see at least some
documents here, but nothing is
shown. So there stills seems to be a (another?) problem here...
What I did was remove all subwiki users and the xwiki tables from the
Oracle database. Then restart xwiki
and let it recreate all xwiki tables. After that I recreated the
(template) wikis again.
Hope someone can help me with resolving this issues.
Thanks,
Henk
===
Part of xwiki.log:
2009-06-17 09:38:01,250
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [defaultpage]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getDefaultPage(XWiki.java:5834)
at
com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:238)
at
com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:181)
at
com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:42)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310)
at
com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:211)
at
org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at
org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at
com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95)
at
com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:130)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1890)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1852)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:586)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1285)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,359
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [renderXWikiMacrosMappingRenderer]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2059)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2033)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2027)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.shouldRender(DefaultXWikiRenderingEngine.java:329)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:264)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,390
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [renderXWikiMacrosMappingRenderer]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1974)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.shouldRender(DefaultXWikiRenderingEngine.java:334)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:264)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,453
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [renderXWikiVelocityRenderer]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2059)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2033)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2027)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.shouldRender(DefaultXWikiRenderingEngine.java:329)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:264)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,515
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [renderXWikiVelocityRenderer]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1974)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.shouldRender(DefaultXWikiRenderingEngine.java:334)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:264)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,562
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [default_language]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getDefaultLanguage(XWiki.java:2266)
at
com.xpn.xwiki.web.XWikiMessageTool.getDocumentBundles(XWikiMessageTool.java:197)
at
com.xpn.xwiki.web.XWikiMessageTool.getTranslation(XWikiMessageTool.java:328)
at com.xpn.xwiki.web.XWikiMessageTool.get(XWikiMessageTool.java:134)
at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:52)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:269)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,640
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [documentBundles]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1974)
at
com.xpn.xwiki.web.XWikiMessageTool.getDocumentBundleNames(XWikiMessageTool.java:177)
at
com.xpn.xwiki.web.XWikiMessageTool.getDocumentBundles(XWikiMessageTool.java:199)
at
com.xpn.xwiki.web.XWikiMessageTool.getTranslation(XWikiMessageTool.java:328)
at com.xpn.xwiki.web.XWikiMessageTool.get(XWikiMessageTool.java:134)
at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:52)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:269)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
2009-06-17 09:38:01,703
[http://localhost:8000/xwiki/bin/view/XemManager/Install?confirm=1]
[http-8000-Processor24] WARN xwiki.XWiki -
Exception while getting wiki preference [renderXWikiGroovyRenderer]
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2008)
at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2022)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2059)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2033)
at com.xpn.xwiki.XWiki.getWebPreference(XWiki.java:2027)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.shouldRender(DefaultXWikiRenderingEngine.java:329)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:264)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at
com.xpn.xwiki.doc.XWikiDocument.getDisplayTitle(XWikiDocument.java:696)
at com.xpn.xwiki.plugin.lucene.IndexData.<init>(IndexData.java:69)
at com.xpn.xwiki.plugin.lucene.DocumentData.<init>(DocumentData.java:35)
at com.xpn.xwiki.plugin.lucene.IndexUpdater.add(IndexUpdater.java:473)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.notify(IndexUpdater.java:528)
at com.xpn.xwiki.notify.DocChangeRule.verify(DocChangeRule.java:61)
at
com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:210)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1303)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1247)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1242)
at
com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:607)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:529)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:225)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.importPackage(WikiManager.java:679)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:519)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWikiFromPackage(WikiManager.java:382)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiTemplate(WikiManager.java:858)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createWikiTemplate(WikiManagerPluginApi.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
>- Improve WYSIWYG editor speed. I am running into speed problems in
>the WYSISYG editor. When I type there is often 10-15 seconds of lag between
>when I type a key and when it shows up on the screen. This makes it very
>difficult to edit large sections of text.
>
>-> Which browser are you using? We'd be glad to try fixing those speed
>issues but we need to know more about your environment first.
Client: Internet Explorer 7 on Windows XP. Server (running on same physical machine as the client): XWIki 1.9RC1, on Apache/Jetty/HSQLDB. The task monitor is showing CPU idle time around 80% but updating of the characters on the screen still is taking 10-15 seconds.
>- Long-term I think it would be interesting to add work flow
>functionality to XWiki. The ability to define rules-based workflow and
>notify users of items requiring their attention would be very interesting.
>
>-> See Vincent's answer to Richard remark about workflow earlier in the
>thread.
Agreed. I think this could be a really important and big set of features and is worth doing right. I'm also glad to see other people think it's interesting. Note: if we do it right, a number of the standard XWiki pieces can be integrated into this (e.g. registering a new Wiki user is a great example of a workflow process).
>Forwarding the email I received from Len Wanger (Len, I hope you don't mind
>by the way) since I think he missed the reply-to-all button ;-)
Don't mind at all, thanks!
Len
Important:
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you hereby are notified that any viewing,
copying, disclosure or distribution of this information may be subject to
legal restriction or sanction. Please notify the sender, by electronic
mail or telephone, of any unintended recipients and delete the original
message without making any copies.
Hi,
Maybe not in the next build, but:
* more wysiwyg page layout tools (instead of hand coding css) would be good
to enable users to rapidly and quickly knock up good looking pages,
* also better table creating/editing (resizing, etc) and formatting (grid
lines hidden/shown) would also be good.
* facility to email in content (text, images, rich text, word/open docs,
etc) to automatically create wiki pages would be good (think can do in
Confluence?)
* some sort of automated work flow facility
* some sort of dashboard/home page mashups for users to provide user
customised access to wiki content
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Guillaume Lerouge
Sent: 15 June 2009 16:45
To: XWiki Users; XWiki Developers
Subject: [xwiki-users] [Proposal] XWiki Enterprise 2.0 Roadmap
Hi XWiki Devs & Users,
here's the current proposal for the XWiki Enterprise 2.0 roadmap. Please
give us your feedback about it and tell us whether you think we missed
anything important. Please note that this roadmap covers the next 3 months
of development work. Improvements not included here will be discussed at the
beginning of the next roadmap (in September 2009).
Shout if you think we forgot something ;-)
The list of tasks is divided in 3 parts: tasks we have already planned to
have people working on, tasks that we would like to complete during the
course of the release but have nobody planning to work on yet and tasks that
will have to be postponed until the next release cycle.
*Tasks with people already planned to work on:*
- Rendering (Thomas)
- Fix bugs
- Make sure the XWiki 2.0 syntax doesn't move any more once XE 2.0 is
out
- WYSIWYG editor (Marius, Anca)
- Fix bugs
- Implement search in the link insertion dialog box
- Improve the macro insertion dialog box
- CAPTCHA integration (Jérôme)
- Clustering (Thomas)
- Write a clustering component based on XWiki events
- Activity Stream integration (JV)
- Watchlist (JV)
- Rewrite the watchlist feature based on the activity stream
- Make the watchlist work in XEM
- Macros (Asiri)
- Write the velocity macro bridge
- Write a number of velocity macros
- UI Improvements (Caty)
- Blog
- User Profile
- Architectural Improvements (Vincent)
*Tasks with nobody planned to work on as of today:*
- Migrate all XWiki Enterprise pages to use the XWiki 2.0 syntax
(Collective effort?)
- Rewrite XWiki's Lucene Search backend (Sergiu?)
- Improve XWiki's default skin (Laurent?)
*Tasks that will have to be postponed to the next release cycle:*
- Application Manager
- Document Type Manager
- Invitation Manager
The current roadmap dates are the following:
- XE 2.0 M1: June 22
- XE 2.0 M2: July 13
- XE 2.0 M3: August 3
- XE 2.0 RC: August 17
- XE 2.0: August 31
Thanks in advance for your feedback.
Guillaume, on behalf of the XWiki Development Team
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on sender’s telephone number above
and delete it and all copies from your system. We accept no responsibility
for changes to any e-mail which occur after it has been sent. Attachments
to this e-mail may contain software viruses which could damage your system.
We therefore recommend you virus-check all attachments before opening.
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hi all,
I have a problem with the watchlistmessage that i tried to modified but i
always received the same old message when there is some changes in a doc or
space. What's wrong with it ?
I edit the watxhlistmessage obkect
(xwiki/bin/edit/XWiki/WatchListMessage?editor=object ) and modified it but
it didn't work.... I change the language to (en->fr or fr->en)...
Please help, my users are like me, not really good in english...
Thanks in advance
--
View this message in context: http://n2.nabble.com/-xwiki-1.8.4----WatchList-message-pb-tp3085075p3085075…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki Devs & Users,
here's the current proposal for the XWiki Enterprise 2.0 roadmap. Please
give us your feedback about it and tell us whether you think we missed
anything important. Please note that this roadmap covers the next 3 months
of development work. Improvements not included here will be discussed at the
beginning of the next roadmap (in September 2009).
Shout if you think we forgot something ;-)
The list of tasks is divided in 3 parts: tasks we have already planned to
have people working on, tasks that we would like to complete during the
course of the release but have nobody planning to work on yet and tasks that
will have to be postponed until the next release cycle.
*Tasks with people already planned to work on:*
- Rendering (Thomas)
- Fix bugs
- Make sure the XWiki 2.0 syntax doesn't move any more once XE 2.0 is
out
- WYSIWYG editor (Marius, Anca)
- Fix bugs
- Implement search in the link insertion dialog box
- Improve the macro insertion dialog box
- CAPTCHA integration (Jérôme)
- Clustering (Thomas)
- Write a clustering component based on XWiki events
- Activity Stream integration (JV)
- Watchlist (JV)
- Rewrite the watchlist feature based on the activity stream
- Make the watchlist work in XEM
- Macros (Asiri)
- Write the velocity macro bridge
- Write a number of velocity macros
- UI Improvements (Caty)
- Blog
- User Profile
- Architectural Improvements (Vincent)
*Tasks with nobody planned to work on as of today:*
- Migrate all XWiki Enterprise pages to use the XWiki 2.0 syntax
(Collective effort?)
- Rewrite XWiki's Lucene Search backend (Sergiu?)
- Improve XWiki's default skin (Laurent?)
*Tasks that will have to be postponed to the next release cycle:*
- Application Manager
- Document Type Manager
- Invitation Manager
The current roadmap dates are the following:
- XE 2.0 M1: June 22
- XE 2.0 M2: July 13
- XE 2.0 M3: August 3
- XE 2.0 RC: August 17
- XE 2.0: August 31
Thanks in advance for your feedback.
Guillaume, on behalf of the XWiki Development Team
Hi,
Is XWIKI in general and sites hosted at XWIKI.com specifically able to
del with Korean and Japanese as language?
If so what needs to be done other then andding the languagecode to my
preferences?
Below is some tip I found on the WEB
korean uses the ko character set. kr is the ISO 3166 Country Code for
Korea. Don't confuse the two.
Although Google Korea seems to get away with UTF-8 encoding, most of
the sites I've seen use the euc-kr charset.
The safe way forward looks like this:
<meta http-equiv="content-language" content="ko">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
Gerritjan Koekkoek
Hello,
Another problem I encounter with my freshly installed XEM 1.7. It seems
that the new component Live Table never finishes loading a page list.
The animated gif and the text "Loading... Page" appears and than nothing
happens and the page seems frozen.... Again I have seen this problem
both in XEM 1.6.4 and 1.7. I am using tomcat 5.5.27 and Oracle 10G
database. The same problem occurs in the Users and Groups section of the
Administration page, which makes it very hard to setup a new wiki
completely.
Anyone else who has the same problem? Is there a way to fix this?
Henk
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
Hello,
My previous issue with LDAP authentication has been resolved, largely thanks to tmontagne's assistance. Info on that can be found at the Use Cases for LDAP page.
The current problem is that when an LDAP group is mapped to an XWiki group, the privileges don't seem to be set properly for users of that group. I am able to log in as a test user, and no matter the privileges I set, the user is unable to view any pages! The user is show as being in the correct group in the XWiki Groups UI, and the group has the proper privileges in the Access Rights UI. I'm not sure whether this is a configuration issue on my part, or an issue with XWiki itself.
Note that if I map an LDAP group to a pre-existing XWiki group, such as XWiki.XWikiAdminGroup, then the user is able to log in, view pages, and even administrate the XWiki properly. The issue seems to be with groups that I have created.
Does anybody have any advice?
I'm running XWiki 1.9 currently.
Regards,
Patrick Dignan
Hi,
I'm using XEM 1.6 from the jetty pack and Oracle 10g and i have the same problem. The template feature is not working. You should also have sometimes exceptions in the console with data types problems, founding an empty data set but expecting a blob one. What i did is to create a virtuel wiki only used as a template and exporting it and then import in any new wiki.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Henk Schouten
Envoyé : lundi 15 juin 2009 14:39
À : users(a)xwiki.org
Objet : [xwiki-users] Error creating wiki using template
Hello,
I have recently started using the XWiki Manager to manage 2 separate
xwiki instances. While playing around and creating a new wiki I noticed
that I cannot create a new wiki using a template wiki. If I create a new
wiki using exactly the same settings but without a template it works
just fine. I have tried this with XEM 1.6.4 and XEM 1.7. Both have the
same problem. I am using tomcat 5.5.27 and an Oracle 10G database. The
problem apparently has to do with a sequence in the database.
Anyone got an idea what may be causing this?
Thanks,
Henk
Error number 4001 in 4: Error while parsing velocity page
WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content
with id
<http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname=hhs…>Create
New Wiki <http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki>
Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki <http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page WikiManager.CreateNewWiki
Wrapped Exception: Failed to evaluate content with id Create New Wiki <http://localhost:8000/xwiki/bin/view/WikiManager/CreateNewWiki>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'createNewWiki' in class
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi threw exception
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute Wrapped Exception: could not get next sequence value
at WikiManager.CreateNewWikiline 157, column 32?
<http://localhost:8000/xwiki/bin/edit/WikiManager/line+157%2C+column+32?pare…>
at
org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450) at
sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655) at
sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611) at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226) at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:627) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619) Caused by:
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while
hibernate execute Wrapped Exception: could not get next sequence value
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1038)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1084)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:66)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3946) at
com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3938) at
com.xpn.xwiki.XWiki.copyWikiWeb(XWiki.java:4287) at
com.xpn.xwiki.plugin.wikimanager.WikiManager.copyWiki(WikiManager.java:321)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.java:514)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(WikiManagerPluginApi.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
... 91 more
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi,
I have published a large XAR import script which instead of working with
an uploaded file (which causes an issue because large XAR files - over
20Megabytes - cannot be attached in the Wiki at all or without a
significant increase in JVM memory settings when hte file is not VERY
large) works with a file on the server file system. Also it works to
import page by page in order to scale to really very large XARs (the
standard import API is also limited since it needs to be able to load
all documents in memory which is of course impossible if the XAR is
bigger than the memory settings of the JVM).
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet
We have tested it for some wiki migrations from ISO to UTF which have to
be done using XAR import/export and it worked fine, but it has not been
fully reviewed and can still have some issues. Let me know here if you
experience issues.
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
curriki-devs mailing list
curriki-devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/curriki-devs
Hi Stepane,
Although the concept of placing the Toucan.css in the Skin of the Wiki
instead of the filesystem makes sense
I'm not sure if this works for us...
Our skin is DefaultSkin
In this I have the field Style.css. I could put the file style.css
into this field (copy the code)
In this stylesheet there is:
@import "microformats.css";
@import "fullscreenEdit.css";
@import "css/table/table.css";
@import "usersandgroups.css";
@import "suggest/ajaxSuggest.css";
@import "rss.css";
@import "toucan.css";
Now we have updated the toucan.css
If I put toucan.css as a attachment to DefaultSkin i'm not sure if it
works
Because we also have a script in the skin stylesheets.vm
that will replace style.css under certain conditions;
#if($cntryCd)
#set($defaultstyle = $cntryCd+$styleExtn)
#set($completeURL = $request.getRequestURL())
##* $completeURL
#if($completeURL.indexOf("/view") > 0)
##* Am I here
#set($viewIndex = $completeURL.indexOf("/view"))
#set($firstPartURL = $completeURL.substring(0, $viewIndex))
#set($newURL = $firstPartURL + '/skin/skins/cdlsskin/'+$defaultstyle)
#set($urlCont = $xwiki.getURLContent($newURL, 1500))
#if($urlCont.contains("@import"))
#else
#set ( $defaultstyle = "style.css" )
#end
#else
#set ( $defaultstyle = "style.css" )
#end
#end
The stylesheets that would be called by this script are all on the
filesystem;
They all have a call to toucan.css (see below for one example)
@import "microformats.css";
@import "fullscreenEdit.css";
@import "css/table/table.css";
@import "usersandgroups.css";
@import "suggest/ajaxSuggest.css";
@import "rss.css";
@import "toucan.css";
@import "css/colors/blue.css";
If you think it can still work putting the toucan in the wikipage; as
a attachment or into a new attributue toucan.css which I should add to
the standard class xwiki.xwikiskins?
Hope you can help. (i will also post this conversation on users)
Gerritjan
On 4 jun 2009, at 17:40, stephane barbey wrote:
> Hi Gerritjan,
>
> There's a way to set your new css file without access on the server.
>
> 1/ Go on your skin page, edit that page in object mode, open the
> Default XWiki Skin property and chose in which field you want to
> overwrite your new css.
>
> 2/ Back up the current toucan.css : I don't personnally have access
> to the server. Nevertheless, there's a way to read the content of
> the toucan.css files typing that url : http://cdlsworld2.xwiki.com/xwiki/skins/toucan/toucan.css
> . Then you can copy/paste the content of that file.
>
> Best regards
>
> Gerritjan Koekkoek a écrit :
>>
>> Hi Stephane,
>>
>> I've received an update of toucan.css,
>> Could i request you one more time to place this file in our webapps/
>> xwiki/skins/cdlsskin.
>> Could you make a backup of the current toucan.css before doing this?
>>
>> I have a question about placing this file into the wiki?
>> As I understand in the tutorial i can create a new skin in the wiki.
>> Could I add a new property to the Skin, by editing the
>> XWiki.XWikiSkins class?
>> name toucan.css, type TextArea?
>>
>> Or will this only work for vm template's
>>
>> Gerritjan Koekkoek
We've configured our XWiki instance to use a custom authentication plugin to
authenticate via a secure logon cookie. When the user signs in, information
pertaining to the user is fetched from Active Directory; note that this is
done as part of the plugin, and does not access A/D via XWiki.
However, the side effect of this change is that a user has to access XWiki
once to get created in the local user space so they can then be added to the
various groups that have been created in the wiki. This is inconvenient at
best, and I would like to fix this.
I found an interesting script in this post:
http://n2.nabble.com/LDAP---importing-users-td506206.html#a506207
that provides a script to query LDAP via XWiki, and populate the local user
store with all A/D users.
My question is: can I configure XWiki to use both the custom authentication
plugin, *and* configure LDAP access so I can use the above script to
populate the database?
If the above doesn't work, I can create a perl script that will generate a
script that I can put into a Wiki page, but that's not as nice as having a
canned script available the wiki that I can run at the click of a mouse.
Thanks!
--
View this message in context: http://n2.nabble.com/Custom-authentication%2C-LDAP-configuration-tp3031494p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I have some groovy page generating an image (BufferedImage), and I would
like it to be returned and displayed in browser.
I first tried to save this image as a png file with ImageIO, and it works
pretty well and image can be displayed.
If then I try to return it in http response, it always return "The image
"http://localhost/...." cannot be displayed because it contains errors".
{{velocity}}
{{groovy}}
[...]
$context.response.setContentType("image/png");
OutputStream os = $context.response.getOutputStream();
ImageIO.write(image, "jpg", os);
os.close();
[...]
{{/groovy}}
{{/velocity}}
Strangely, if I remove this previous code from my page to put back the png
file saving, png file is saved but error message still shows up ... (cache
?)
I'm asking this question here because maybe it's not the better way to
achieve this with XWiki ...
Thx for any help
--
View this message in context: http://n2.nabble.com/Return-image-in-http-response-tp3075088p3075088.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I just installed 1.9 enterprise and i cannot use the editor to
edit/create pages. Here's the error I get in the browser:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1938)
java.lang.String.substring(String.java:1905)
com.xpn.xwiki.web.ActionFilter.getTargetURL(ActionFilter.java:147)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:99)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Interestingly, the above stacktrace does not appear in my catalina.out (I'm
using tomcat 6 and linux). The only thing in my log are warnings:
Request URI [/xwiki%2Denterprise%2Dweb%2D1.9/bin/view/Main/] should have
matched context path
[/xwiki-enterprise-web-1.9] and servlet path [/bin]
2009-06-13 17:45:34,601
[http://xx.xx.xx.xx/xwiki%2Denterprise%2Dweb%2D1.9/bin/edit/Main/test?templa…]
[http-80-3]
Any ideas? Thx
--
View this message in context: http://n2.nabble.com/editor-permission-rights--tp3074204p3074204.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I've set up the xwiki user on mysql, with xwiki as a password and I've
granted all rights on the xwiki database. I've tested the access
rights by logging into mysql as xwiki, creating a test table in the
xwiki database and dropping it.
My hibernate.cfg.xml file contains the correct credentials for xwiki:
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
And yet when I try to open http://localhost:8080/xwiki (or using
127.0.0.1 instead of localhost), it asks for username and password to
access the XWiki area, and it doesn't like username = xwiki and
password = xwiki.
Tomcat says the http authentication failed.
The Tomcat directory structure is owned by the user I use to launch it
(I'm on a Mac OS 10.4).
Any clue as to what the problem might be?
Thanks,
Vittorio
Hello all
I would like to use the ajaxSuggest feature to help users inputting data in an input field of a form.
I checked in the tagedit.vm how it works but i can't have a result.
I create that :
---
#set($script=$xwiki.getURL("Main.TestXML")+"?xpage=plain")
<input type="text" name="project" value="" class="panelinput" style="margin:auto;" onfocus="new ajaxSuggest(this, {script:'${script}', varname: 'input', seps:'', offsety: 13} );"/><br>
---
The page Main.TestXML is like that :
---
$response.setContentType("text/xml")
<?xml version="1.0" encoding="UTF-8"?>
<results type="1">
<rs id="1" info="info1">valeur1</rs>
<rs id="2" info="info2">valeur2</rs>
<rs id="3" info="info3">valeur3</rs>
</results>
---
So when the user inputs something like "al", i would like to see the popup with the three values.
I just got a javascript error saying "Object required" on the line with the input field
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
I've been struggling for a while with the dilemma of getting a user into a
group. Let me supply some background on what we've been trying to do with
Xwiki.
We're trying to use Xwiki for an internal collaborative site. Management
has decided that users of the wiki must complete proper training. Without
the training, the user cannot add to the wiki pages.
For authentication, we've connected the wiki to our LDAP server via the
xwik.cfg file. Authenticated users are automatically placed into the
XWikiAllGroup by default. In order to accommodate management
requirements, I created a new user group... let's call it
"TrainedUsersGroup".
Once authenticated, users are placed into the Webhome page of the wiki.
I've placed Velocity script on the Webhome page to check if the user is in
the TrainedUsersGroup. If the user is not in the group, the user is
redirected to the NoAccess.WebHome page.
On the NoAccess.Webhome page another check is made to determine if the
user is in the TrainedUsersGroup. If the user is not in the group, a call
is made to a Groovy class (on another page in the Groovy namespace). The
groovy code executes a system call to grep on the Linux system running the
Xwiki against a CSV file pulled from an intranet web report. The passed
user's login (which is the same as the LDAP user id) is checked against
this file. If the returned grep output shows that the training has been
completed, the NoAccess.WebHome page will attempt to add the user to the
TrainedUsersGroup. If the user is added to the TrainedUsersGroup as
determined after another check, the user is redirected back to the
originating WebHome page.
This mechanism works great if the user accessing the pages is an admin.
However, if the user is a regular user everything except the addition to
the group works. Instead, the code to place the user in the group displays
on the page. It does not run and put the user into the TrainedUsersGroup.
This is no good for our needs in which we must restrict Xwiki access for
non-trained users.
(My original goal was to connect to our Oracle database and based upon the
user id determine directly if the user has completed the training. I've
had luck with a simple Groovy script running on my desktop and on the
Linux server. However, from within the Xwiki Groovy console or on a page,
I get no output. Therefore, I have abandoned the Oracle query check via
Groovy.)
I've been researching the Xwiki user list for weeks. I've poured over
xwiki documentation. I've peeked at wiki page source. I've done all this
in an attempt to figure out how to get a user to place himself into a
group. I've found a lot of confusing and contradicting information.
Programming rights are mentioned. The only place I found the ability to
set this right was in the xwiki administration. I can't determine if the
problem is even related to programming rights. I've put a debug statement
on the NoAccess.WebHome page to print whether the user visiting the page
has programming rights. In all cases it display that they do. Yet, only
admins can add themselves to the TrainedUsersGroup. This doesn't work for
me. I need to automatically add the visiting user to the TrainedUsersGroup
once the training has been validated.
What is the problem? Why won't the user go into the group? Is there a
better way of doing this? Any help, code snippets or suggestions would be
appreciated.
Thanks.
Dean Weber
Sr Software Engineer II
Raytheon Technical Services Company LLC
The XWiki development team is pleased to announce the release of XWiki Office 1.0 Milestone RC1.
XWiki Office is a XWiki.org project that provides integration between Microsoft Office and XWiki servers.
Go grab it at:
- http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice
For more information about XOffice go at:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/
Main improvements introduces in version 1.0 RC1:
- Faster Word startup
- Fixed page publishing issues
- Better & cleaner output
- Improved html tables
- Better lists and bullets
- Cleaned grammar and spelling output
- Small improvements on UI dialogs.
All active XWord M3 clients and snapshot instances will be automatically updated to the latest version.
For details about this release see the Release Notes at:
- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10RC1
You can also view the roadmap here:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/Roadmap
Thanks
-The XWiki dev team
Jonathan --
See http://nielsmayer.com/xwiki/bin/view/Sandbox/Calc and
http://nielsmayer.com/xwiki/bin/view/Sandbox/Calc?viewer=code (
http://nielsmayer.com/xwiki/bin/download/Sandbox/Calc/Sandbox.Calc.xar )
The above took about 1 minute to do, basically cutting and pasting the code
as-is from the article below into a new document, adding one line at the
beginning to get it to include the Javascript I pasted into
XWiki.JavaScriptExtension[0] in the object editor and that's it). Let me
know if you want help getting this example running on
http://jonathanmayer.info (you're going to need to see me do the
JavaScriptExtension trick at least once )... from there, you can add new
functions or whatever to learn about javascript programming on the web.
http://www.maconstateit.net/Tutorials/JSDHTML/JSDHTML09/jsdhtml09-05.htm
A Simple Calculator
Use of buttons to create a simple JavaScript calculator is demonstrated
below. The "Calculator" button opens the calculator in a ModelessDialog
window that remains on top while providing access to the underlying Web
page. The layout below shows the same calculator with a "Formula" textbox
that is normally hidden but is revealed here to show the calculations that
take place behind the scenes.
JavaScript Calculator Formula: *Figure 9-34.* A simple
JavaScript calculator.
The XHTML code and button event handlers are shown below. The calculator is
formatted inside a table to control its layout.
<table border="7">
<tr>
<td colspan="4" style="font-family:comic sans ms; text-align:center;
color:white; background-color:gray; font-size:9pt">
JavaScript Calculator
</td>
</tr>
<tr>
<td colspan="3"><input id="Answer" type="text" style="width:100px;
text-align:right"></td>
<td><input type="button" style="width:30px" value="="
onclick="EnterEqual()"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="1"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="2"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="3"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="+"
onclick="EnterOperator(this.value)"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="4"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="5"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="6"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="-"
onclick="EnterOperator(this.value)"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="7"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="8"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="9"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="*"
onclick="EnterOperator(this.value)"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="C"
onclick="EnterClear()"></td>
<td><input type="button" style="width:30px" value="0"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="."
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="/"
onclick="EnterOperator(this.value)"></td>
</tr>
</table>
<input id="Formula" type="hidden"/>
*Listing 9-22.* Code to format and style the calculator.
Notice the final <input id="Formula" type="hidden"/> field. The
type="hidden" attribute creates a standard textbox that is hidden from view.
In the example above, this control is given the attribute type="text" in
order to make it visible so you can see the formulas being created by the
button clicks.
Four functions are called by the buttons. All of the number keys call
function EnterNumber(), passing the number value of the button; the
arithmetic operator keys call function EnterOperator(), passing the operator
symbol; the "=" key calls function EnterEqual(); and the "C" key calls
function EnterClear().
<script type="text/javascript">
var op = false;
var eq = false;
function EnterNumber(Number)
{
if (op == false) {
document.getElementById("Formula").value += Number;
document.getElementById("Answer").value += Number; }
else {
document.getElementById("Answer").value = Number;
op = false;
if (eq == true) {
document.getElementById("Formula").value = Number;
eq = false; }
else {
document.getElementById("Formula").value += Number;
}
}
}
function EnterOperator(Operator)
{
if (document.getElementById("Formula").value != "") {
document.getElementById("Answer").value =
eval(document.getElementById("Formula").value);
document.getElementById("Formula").value =
eval(document.getElementById("Formula").value) + Operator;
op = true;
eq = false;
}
}
function EnterEqual()
{
if (document.getElementById("Formula").value != "") {
document.getElementById("Answer").value =
eval(document.getElementById("Formula").value);
document.getElementById("Formula").value =
eval(document.getElementById("Formula").value);
op = true;
eq = true;
}
}
function EnterClear()
{
document.getElementById("Answer").value = "";
document.getElementById("Formula").value = "";
op = false;
eq = false;
}
</script>
*Listing 9-23.* Script for the calculator.
Niels
http://nielsmayer.com
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Final release of the XWiki Enterprise 1.9 version.
Main changes:
* UI improvements
** Quick Jump to any Page navigation
** Faster Save and Continue using AJAX
** Improved Full Screen editing
** New Live Table UI
** Improved comments UI and functionality
** Multiple attachment upload in one request
** New UI for the Class and Object editors
** Improved toolbar in the wiki editor
** Preliminary support for Autosave
* PDF export improvements
* JavaScript improvements
* Switched to UTF-8 as the default encoding
* Mailsender improvements
* New Office Importer feature: document splitting
* XWiki 2.0 Syntax is enabled by default
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19
Thanks,
The XWiki dev team
Hello:
I am deploy to set up XWiki 1.8.4 war to use a JBoss DataSource in version
4.2.2 GA and have so far been unsuccessful.
I have followed the directions in the Admin Guide but keep getting an error:
10:32:02,237 ERROR [[action]] Servlet.service() for servlet action threw
exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find datasource: java:/jdbc/XWikiDS
This error was highlighted in another posting from 3rd April regarding XWiki
version 1.6.2:
http://lists.xwiki.org/pipermail/notifications/2009-April/042752.html
Below I have included text from my web.xml, my jboss-web.xml and
hibernate.conf.xml
jboss-web.xml:
<jboss-web>
<resource-ref>
<res-ref-name>XWikiDS</res-ref-name>
<jndi-name>java:XWikiDS</jndi-name>
</resource-ref>
</jboss-web>
web.xml:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
hibernate.conf.xml
<hibernate-configuration>
<session-factory>
<!-- DataSource properties -->
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.datasource">java:XWikiDS</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
</session-factory>
</hibernate-configuration>
Can anyone please advise me if this is a bug in xwiki or if I have something
wrong with my configuration?
Thanks so much.
David
___________________________________________________________________
STRATEGY · TECHNOLOGY · VIDEO
___________________________________________________________________
phone: +44 (0)20 7580 9488 fax: +44 (0)20 7580 9489
mobile: +44 (0)7533 635 116 email: david.thompson(a)nativ.tv
___________________________________________________________________
web: http://nativ.tv blog: http://nativ.tv/futurevideo
___________________________________________________________________
Hi,
I inserted Text "Text" in the title field of a page. When i edit the page
again the "Text" part disappears.
Tried other special characters (; @) and everything seems to work normal. So
its only the " character that makes problems.
(XWiki 1.8.4, syntax 2.0, language: german)
Is there a way to have heading levels 3 or above also used as titel when the
title field is empty?
Thanks
hel.
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Special-Characters-in-Titel-tp3024569p3024569.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Will Xwiki 1.9 default new pages to 2.0 syntax?
If not, can someone detail the steps needed to change the Wiki defaults so
new pages are created with 2.0 syntax?
Thanks,
--
Glenn
Hi all,
After migration from XWiki 1.5 to 1.8.4, I also migrated all my existing
blog documents to the new blog system (through page Blog.Migration).
Everything seem to have been well migrated, except that major part of my
existing Blog documents were not visible anymore, though pages and objects
were existing in database.
When publishing a new blog post also, while saved to database (and
visibility and publication checked), it's not visible in Blog.WebHome or
Blog.Archive.
I eventually found that field "XWD_HIDDEN" in table "xwikidoc" was set to
"b'1'" (?) for all my not visible blogs. Setting this field back to "null"
make all this documents suddenly appear normally.
But again, when publishing a new blog post, or after restarting tomcat
container, major part of the flags are set back to "b'1'" value and then
disappear ...
Also, the categories by default (News, ...) are not available, as well as
any category I would create, when creating a new blog post.
Am I missing something ?
Context : xwiki 1.8.4 (war and .xar imported), tomcat 5.5.20, linux redhat
4, mysql 5.1.
Thanks & regards,
Jeremie
--
View this message in context: http://n2.nabble.com/1.8.4-%3A-issues-with-new-blog-post-system-tp3018279p3…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
when I try to go to http://localhost:8080/xwiki/bin/view/Main/, Tomcat
throws an exception:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
Looking at the Tomcat logs, I find 2 errors in Catalina.out:
1)
2009-06-07 10:28:04,363 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] ERROR store.XWikiHibernateBaseStore - Failed updating
schema while executing query [create table feeds_aggregatorgroup
(agg_id integer not null, agg_name text, primary key (agg_id))]
java.sql.SQLException: Can't create table 'feeds_aggregatorgroup' (errno: 13)
[...]
2)
2009-06-07 10:28:04,420 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1017,
SQLState: HY000
2009-06-07 10:28:04,420 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] ERROR util.JDBCExceptionReporter - Can't find file:
'./xwiki/xwikidbversion.frm' (errno: 13)
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load
class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Thanks.
Hi,
Following the instructions given at http://www.malisphoto.com/tips/tomcatonosx.html
, I was able to get my Tomcat container started
as daemon. I already put the Xwiki WAR file in the 'webapps'
directory. Pointing the browser to http://localhost:8080/xwiki only gave
me a blank page. Nothing on it. However manually starting Tomcat
brings me back the correct behavior (the well known Xwiki starting
page).
In the daemon mode, the others contexts (like 'manager', 'examples')
work. Only the Xwiki one did not. What am I doing wrong? Does
anyone already have some experience with a Xwiki in a daemon started
Tomcat container? Attached, you will find the 'jsvc' processes
started and 'catalina.out'. Tell me if you need more information.
Many thanks for you help,
christian
Hi list,
I am trying to insert some ajax on my wiki, but i am facing an issue
with character escaping :
I'm trying to have this :
<td><p id="1,0,0,0,3status"> Todo </p><script type="text/javascript">
new
Ajax.InPlaceCollectionEditor('1,0,0,0,3status','/xwiki2/bin/edit/Project/plannerv2?xpage=assignStatus&id=1,0,0,0,3',{
collection:['Todo','In progress','Dev done','Done'], ajaxOptions:
{method: 'post'} });</script></td>
What I can get is either replacing the [ character with its html code
(using the escaping character) or having xwiki rendering a link.
No success having what i wanted.
I am using xwiki version 1.5 (so syntax 1.0)
So my question is : is there a way to escape a character without getting
its html code ?
Thanks in advance
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hi guys,
I was just wondering if it is possible to install xwiki on a web host I
am paying for. It basically offers me CPanel.
I've been using xwiki on my home computer and love it, but would really
like to be able to use it where ever I go.
I hope this is possible!
Cheers,
Josh
I've seen references in a number of places for confuence support in xwiki.
I have some confluence pages I'd like to convert to xwiki and wonder how
this can be done. Is there a special plugin or converter needed?
Thanks for any help,
Glenn
These pages make reference to disabling the HTML macro, but I am
struggling to find out exactly how to do this - any pointers? I'm
running 1.8.2.
http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
"Admins of a XWiki installation will be able to prevent using the XHTML
macro for example (for security reasons) by disabling the macro."
http://massol.myxwiki.org/xwiki/bin/view/Blog/XWiki
"It also provides security control to wiki admins if they want to
prevent users from entering HTML (and thus potentially harmful javascript)."
Thanks,
Chris
First of all, thank you for your answer.
I tried to change the type of Editor to WUSIWYG, but even after the change, the field appears like this one :
(∗) TXProblema:
I have been using public java.lang.String display(java.lang.String fieldname,
java.lang.String mode) with mode = "edit" in order to display the field
I already tried mode = "inline", but nothing happens
My problem is just that I need the embedded html editor.
When I call the page in inline mode, it shows every field in inline mode along with many different buttons, what I do not want, because I want to have only one button(my own button) to save the page content, so this is the reason I want only one field(of the type Text Area) in inline mode.
Thank you in advance.
--- Em qua, 3/6/09, jerem <jeremie.bousquet(a)gmail.com> escreveu:
De: jerem <jeremie.bousquet(a)gmail.com>
Assunto: Re: [xwiki-users] How to display in inline mode, only an specific field from a class
Para: users(a)xwiki.org
Data: Quarta-feira, 3 de Junho de 2009, 11:58
If I understood well, I think you should be able to do it by updating the
characteristics of your text fields in your class : you can choose the
"Editor" to use (Text, PureText or WysiWyg). Choose wysiwyg to have the html
editor, and text or puretext for standard text field.
To display a field have a look to the javadoc (Document.display() methods)
I.E. :
public java.lang.String display(java.lang.String fieldname,
java.lang.String mode,
Object obj)
Here mode can be 'edit' or 'view' ... (I don't know all possible values).
--
View this message in context: http://n2.nabble.com/How-to-display-in-inline-mode%2C-only-an-specific-fiel…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com