Hey everyone!
I’m having an issue with xwiki 7.2 when rendering the document tree macro.
The issue seems to be that the macro is not generating the appropriate HTML.
{{documentTree/}} is rendered as (% class='xtree ' ... %)((()))
All needed JS and CSS files are being pulled but since the JS is looking
for <a class="xtree" ...> it just never renders.
if I manually add an HTML snippet along the macro through
{{html}} <a class="xtree" data-responsive="true"
data-url='/xwiki/bin/get/XWiki/DocumentTree?outputSyntax=plain&'
data-dragAndDrop='false' data-contextMenu='false' data-icons='true'
data-edges='true' data-checkboxes='false' data-openTo=''
data-finder='false'>tree</a> {{/html}}
this snippet does render does render properly below the badly formatted
macro.
Any ideas or help are more than welcome!
*Juan Martín Sotuyo Dodero* - CTO
Office: +54.11 - 5217.7850
Mobile: +54.911 - 3684.5544
Skype: jsotuyod
*Argentina Head Office*
Viamonte 1181, 3rd fl, CABA, C1053ABW
*www.monits.com <http://www.monits.com/>*
We are running XWiki 5.4.3
We have upgraded the server on which XWiki runs, but we now get an error
when we want to delete a page:
Error number 0 in 3: Exception while hibernate execute
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1266)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1346)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:123)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3801)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3776)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5521)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:5510)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:93)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:293)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.exception.GenericJDBCException: could not insert:
[com.xpn.xwiki.doc.XWikiDeletedDocument]
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:64)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2345)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2852)
at
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
at
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:320)
at
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:203)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:129)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:713)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:701)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:697)
at
com.xpn.xwiki.store.XWikiHibernateRecycleBinStore$1.doInHibernate(XWikiHibernateRecycleBinStore.java:128)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1260)
... 46 more
Caused by: java.sql.SQLException: Field 'XDD_ID' doesn't have a default
value
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1901)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2113)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2049)
at
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2034)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at
org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:94)
at
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:57)
... 63 more
What could be the cause? Where should we start looking?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Delete-page-Error-number-0-in-3-Exception…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I wonder if anyone can help. I started using xwiki but have been a long time
use user of tikiwiki. In it there is something called "trackers" these are
basically forms. So I can create trackers that people can fill out and even
forms that reference other forms. So for instance I might have a tracker
called regions that might have two fields, State and City. So I fill out a
bunch of those for different states.
Then I can use this in another tracker so that when I select a state, a list
of cities relevant to that state entered in the previous tracker will auto
populate a drop down.
My question is, firstly, how do you create these forms (I looked at create
app and it doesn't seem to do what i want it to) and secondly how do you
reference other forms?
Any help greatly appreciated.
HH
--
View this message in context: http://xwiki.475771.n2.nabble.com/Migration-away-from-TikiWiki-Forms-based-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am in the process of writing an extension for XWiki.
Each time I make some code changes, and then refresh my local instance of
XWiki I see the message "XWiki is initializing..." which takes some time to
finish.
For small code changes, I feel like this "initialization" step slows down
my development.
What exactly is happening in this "XWiki is initializing..." step, and what
could I do to avoid this step entirely, so that I can work faster on my
extension?
Hi,
I am building a xwiki site and recently upgraded to 7.2 (we are holding
off launch for the permissions inheritance and nesting features)
The site was built using spaces as parents for pages and child-parent
relations.
After upgrade I realized two issues:
1. In the document tree the parrents are doubled.
Example at: http://imgur.com/Jj72P17l.png
2. Trying to edit the parent of a page (Rename->network icon) brings up
a list with a dark overlay that never goes away and I cannot click anywhere.
Any ideas what am I doing wrong?
Cheers,
Silviu
I have XWIKI 7.1.2 on UBUNTU 14.04.3 LTS, Tomcat7 and MySQL from Ubuntu
Distribution.
XWIKI WAR Install.
I am using a subwiki.
The following line
{{parentschildrenlivetable space="An existing Space"/}}
Result in this message in catalina.out
2015-10-14 18:04:35,664
[http://wiki/xwiki/wiki/icwiki/edit/XWiki/SpaceParentsChildrenService?langua…]
ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<'
operation has null value at 37:icwiki:XWiki.SpaceParentsChildrenService[line
250, column 37]
--
View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Im brand new to XWiki and am slowly working my way through things. Im
using ver 7.2 enterprise.
I have managed to configure ldap for active directory so that I can get
a single user to login, but how do I get XWiki to recognise a user group?
Ive seen various things online but nothing seems to work for me. Its
probably a simple configuration issue but im missing it.
Im using the ldap admin extension, so am not directly altering the xwiki.cfg
Any help is greatly appreciated. Im so close!!
/Gary./
What is the easiest/recommended way to make an HTTP POST or GET call from
within an XWiki extension?
Should I use Restlet? (I am guessing XWiki comes with Restlet support)
I created an XWiki component which is available as a jar file.
I have a ScriptService class for the component too:
----
@Role
public interface SearchClient
{
String search();
}
----
@Component
@Singleton
public class InternalSearchClient implements SearchClient
{
public String search()
{
return "test search results";
}
}
----
@Component
@Named("internalSearch")
@Singleton
public class InternalSearchScriptService implements ScriptService
{
@Inject
private InternalSearchClient searchClient;
public String search()
{
return this.searchClient.search();
}
}
----
I've added all the above files into their own jar with a components.txt
file:
com.mycompany.wiki.search.InternalSearchClient
com.mycompany.wiki.search.InternalSearchScriptService
and in my Wiki's pom.xml, I have the following:
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-script</artifactId>
<version>${commons.version}</version>
</dependency>
Now from my Wiki page, when I do the following:
{{groovy}}
println(services.internalSearch.search())
{{/groovy}}
I get an error message saying "java.lang.NullPointerException: Cannot
invoke method search() on null object"
What am I doing wrong here?
(I followed the directions in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents — have
these directions changed, and/or is there anything else I need to do? )
The XWiki development team is proud to announce the availability of XWiki 7.3 Milestone 1.
This is the first of the 2 stabilization releases that happen at the end of each yearly Cycles. Lots of polishing has been done, especially for the recently introduced Nested Pages feature and its consequences on the UI redesign (modified menus for example).
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki73M1
The following people have contributed code to this release (sorted alphabetically on last name):
Pascal Bastien
Guillaume Delhumeau
Marius Dumitru Florea
Vincent Massol
Ecaterina Moraru
Eduard Moraru
Thomas Mortagne
Clemens Robbenhaar
Jean Simard
Gabriela Smeria
Manuel Smeria
Thanks for your support
-The XWiki dev team
I created an XWiki component which is available as a jar file.
I have a ScriptService class for the component too:
----
@Role
public interface SearchClient
{
String search();
}
----
@Component
@Singleton
public class InternalSearchClient implements SearchClient
{
public String search()
{
return "test search results";
}
}
----
@Component
@Named("internalSearch")
@Singleton
public class InternalSearchScriptService implements ScriptService
{
@Inject
private InternalSearchClient searchClient;
public String search()
{
return this.searchClient.search();
}
}
----
I've added all the above files into their own jar with a components.txt
file:
com.mycompany.wiki.search.InternalSearchClient
com.mycompany.wiki.search.InternalSearchScriptService
and in my Wiki's pom.xml, I have the following:
<dependency>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-script</artifactId>
<version>${commons.version}</version>
</dependency>
Now from my Wiki page, when I do the following:
{{groovy}}
println(services.internalSearch.search())
{{/groovy}}
I get an error message saying "java.lang.NullPointerException: Cannot
invoke method search() on null object"
What am I doing wrong here?
(I followed the directions in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents — have
these directions changed, and/or is there anything else I need to do? )
Hi all,
I was wondering if anyone knew of any methods to convert mediawiki pages to xwiki pages. Preferably with the assistance of a tool as I am looking to convert about 200 or so pages. Thanks to anyone who knows a solution to this!
Regards,
Tausif
Tausif Hasan | Intern
New York Genome Center
101 Avenue of the Americas
New York, NY 10013
thasan(a)nygenome.org<mailto:thasan@nygenome.org>
This electronic message is intended for the use of the named recipient only, and may contain information that is confidential, privileged or protected from disclosure under applicable law. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any reading, disclosure, dissemination, distribution, copying or use of the contents of this message including any of its attachments is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and destroy all copies of this message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
> > > Another way to give
> some PR, you can give them at github or Jirah
> contributors?
> > > "We hosting
> your nice xwiki but if you want more you can give us a few
> pieces of code)”
> >
> > Interesting idea. This reminds me of the
> idea I had a while ago to gamify contributions to xwiki:
> > http://markmail.org/message/6cqqriz5rylq26nk
> >
> > Thanks
> > -Vincent
Add a reputation field in profile on http://www.xwiki.org? Yes. This reputation must be display somewhere else: on comments by example, on monthly top contributors?
I don't want restart the debat but I don't like forum either (it exists anyway like you said)
I prefer a page with debat or questions in comments to finally update current page and make it alive)
Pascal
Hi,
XWiki is installed on a Linux Server (RH 6.7 x64) and a Windows 2012 R2 is
used as primary domain controller.
And for users : Win7 with Firefox or IE as Web browsers...
For information, I applied these parameters in xwiki.cfg :
<<
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=172.16.1.1
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=dc=MYDOMAIN,dc=local
xwiki.authentication.ldap.bind_DN=MYDOMAIN\\Administrateur
xwiki.authentication.ldap.bind_pass=mypassW0RD
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>
Now that I successfully tested XWIKI with LDAP Server, I'd like to allow
automatic login for users authentified in the domain !
How to proceed please ?
Does any body knows a procedure or what are the main steps to succeed ?
Thanks guys (an girls)
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-use-SSO-with-XWIKI-tp7596453.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
" You could save the concerned pages with a user having Script permissions (you could script this if there are plenty of pages)."
I still think we are not on the same page - this is for almost every script, including all the "panel" scripts (Recent Modifications, etc...). These panels are used on every single page and I've tried saving pages to fix this, but it does not work. Strange, there is one that is working, Orphaned Pages.
Here is a screenshot: https://www.sugarsync.com/pf/D679848_06124469_052955
How do I re-save these? Also, I can't update or add / remove extensions because of this issue. Really, the whole system is unusable in this state.
Keith Davis (214) 906-5183
-----Original Message-----
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: Sunday, October 11, 2015 6:32 AM
To: XWiki Users; Keith Davis
Subject: RE: [xwiki-users] XWiki 7.2 - Velocity Script Errors
On 10 Oct 2015 at 21:24:32, Keith Davis (keithdavis@pridedallas.com(mailto:keithdavis@pridedallas.com)) wrote:
> And what about the "localization" errors?
>
> Keith Davis (214) 906-5183
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 2:11 PM
> To: vincent(a)massol.net
> Cc: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> But what do I do to fix this issue now or are we stuck on 7.1.2 until this is fixed?
You could save the concerned pages with a user having Script permissions (you could script this if there are plenty of pages).
Re localization error, maybe they’re executed inside velocity scripts too and these pages also need to be saved by a user with script rights.
Thanks
-Vincent
>
> Keith Davis - (214) 906-5183 -
> http://pridedallas.com
>
> On Oct 10, 2015, at 11:35 AM, "vincent(a)massol.net" > wrote:
>
> Hi Keith,
>
> On 10 Oct 2015 at 15:31:29, Keith Davis (keithdavis@pridedallas.com(mailto:keithdavis@pridedallas.com)) wrote:
>
> > Created a new page with just this content:
> >
> > {{velocity}}
> > Your username is $xcontext.getUser(), welcome to the site.
> > {{/velocity}}
> >
> > That works:
> >
> > "Your username is XWiki.Admin, welcome to the site."
> >
> > I installed Xwiki originally, but a user that is no longer here (and the user has been deleted) has done most of the upgrades for some time. Is it possible that because his account is missing, there are no rights to these scripts?
>
> Indeed, that’s a possibility and what Edy was suggesting, see
> http://markmail.org/message/et34vg63fuul33xc
>
> I’ve also created http://jira.xwiki.org/browse/XWIKI-12676 to remember to handle this.
>
> Thanks
> -Vincent
>
> > Keith Davis (214) 906-5183
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith
> > Davis
> > Sent: Saturday, October 10, 2015 8:29 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > " Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war upgrade [3]?)"
> >
> > I have 7 of these in the lib folder.
> >
> > " Missing 'admin.xwiki.installedextensions' translation, but that is unlikely since it is located in ApplicationResources.properties which is located in xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your wiki would not be running."
> >
> > I have these 2, but no "xwiki-platform-oldcore-7.2.jar" file.
> >
> > xwiki-platform-legacy-oldcore-7.2.jar
> > xwiki-platform-filter-instance-oldcore-7.2.jar
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith
> > Davis
> > Sent: Saturday, October 10, 2015 8:24 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Ran the DW as the admin user, still getting these:
> >
> > Failed to register the wiki component located in the document [Home
> > AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException:
> > Registering UI extensions at wiki level requires wiki administration
> > rights Failed to register the wiki
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith
> > Davis
> > Sent: Saturday, October 10, 2015 8:14 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > This is so broken. Even when I go to Edit a page, the Title shows this:
> >
> > $msg.get("xe.home.title")
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -----Original Message-----
> > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith
> > Davis
> > Sent: Saturday, October 10, 2015 8:12 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I tried logging in as admin and doing the Distribution Wizard, but now it won't come up. Is there a way to force that?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of
> > vincent(a)massol.net
> > Sent: Saturday, October 10, 2015 8:06 AM
> > To: XWiki Users
> > Cc: Keith Davis
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> >
> > On 10 Oct 2015 at 14:47:10, vincent(a)massol.net (vincent@massol.net(mailto:vincent@massol.net)) wrote:
> >
> > > On 10 Oct 2015 at 14:41:01, Keith Davis (keithdavis@pridedallas.com(mailto:keithdavis@pridedallas.com)) wrote:
> > >
> > > > "Also, is your user account able to execute scripts? Have you tried creating a new page with a simple script to test that?"
> > > >
> > > > How do I do that? Is there a simple script that I can use? I have not written any velocity scripts on my own?
> > >
> > > Maybe this can help:
> > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#
> > > HR
> > > ig
> > > hts
> >
> > See also
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermiss
> > io
> > ns
> >
> > Thanks
> > -Vincent
> >
> > > Thanks
> > > -Vincent
> > >
> > > > Keith Davis (214) 906-5183
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith
> > > > Davis
> > > > Sent: Saturday, October 10, 2015 7:36 AM
> > > > To: XWiki Users
> > > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > > >
> > > > Scrolling through that list, I found a bunch more of those same errors. Why does it not think I am an administrator?
> > > >
> > > > Keith Davis (214) 906-5183
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith
> > > > Davis
> > > > Sent: Saturday, October 10, 2015 7:35 AM
> > > > To: XWiki Users
> > > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > > >
> > > > I finally got a chance to work on this today. I switched back to XWiki 7.2 and I got the Distribution Wizard interface telling me that the 7.1.2 UI is invalid and to upgrade (again). Is that supposed to happen? I never did anything to "downgrade" the UI.
> > > >
> > > > This time, I noticed that I get these errors:
> > > >
> > > > Failed to register the wiki component located in the document
> > > > [Home » AppWithinMinutes » ApplicationsPanelEntry]:
> > > > WikiComponentException: Registering UI extensions at wiki level
> > > > requires wiki administration rights Failed to register the wiki
> > > > component located in the document [Home » Stats »
> > > > ApplicationsPanelEntry]: WikiComponentException: Registering UI
> > > > extensions at wiki level requires wiki administration rights
> > > > Failed to register the wiki component located in the document
> > > > [Home » Scheduler » ApplicationsPanelEntry]: WikiComponentException:
> > > > Registering UI extensions at wiki level requires wiki
> > > > administration rights Failed to register the wiki component
> > > > located in the document [Home » XWiki » UserDirectoryApplicationsPanelEntry]:
> > > > WikiComponentException: Registering UI extensions at wiki level
> > > > requires wiki administration rights Failed to register the wiki
> > > > component located in the document [Home » Blog »
> > > > ApplicationsPanelEntry]: WikiComponentException: Registering UI
> > > > extensions at wiki level requires wiki administration rights
> > > > Failed to register the wiki component located in the document
> > > > [Home » Panels » ApplicationsPanelEntry]: WikiComponentException:
> > > > Registering UI extensions at wiki level requires wiki
> > > > administration rights
> > > >
> > > > I am an administrator - maybe this is the problem?
> > > >
> > > > Keith Davis (214) 906-5183
> > > >
> > > > -----Original Message-----
> > > > From: users [mailto:users-bounces@xwiki.org] On Behalf Of Eduard
> > > > Moraru
> > > > Sent: Tuesday, October 06, 2015 4:10 AM
> > > > To: XWiki Users
> > > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > > >
> > > > Keith, have you tried to create a new page with the source [1] of the content author checking app I mentioned above?
> > > >
> > > > Also, is your user account able to execute scripts? Have you tried creating a new page with a simple script to test that?
> > > >
> > > > If your user can not execute the scripts he writes, then you could try enabling the superadmin [2] account and log in with that one in order to create the content author checking app page (with the mentioned source code).
> > > >
> > > > We are at a debugging step here, since we can not reproduce what you describe, from the information you are giving us. I ran an upgrade of a clean 7.1.2 instance to a 7.2 version, through the Distribution Wizard without issues, so my conclusion is that there is a problem with your particular instance's state, probably due to some incomplete upgrade steps.
> > > >
> > > > Since you are the only one with access to your instances, we need more information of what is going on to find out what went wrong. Alternatively, you could also re-attempt the upgrade and making sure that, while resolving any conflicts during the Distribution Wizard's upgrade step, you include/merge the changes coming from the 7.2 version of the conflicting documents.
> > > >
> > > >
> > > > Re things like "$services.localization.render..." there could be
> > > > 2 causes
> > > > here:
> > > > 1) Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar
> > > > files in your webapps/xwiki/WEB-INF/lib installation folder
> > > > (maybe due to an improper war upgrade [3]?)
> > > > 2) Missing 'admin.xwiki.installedextensions' translation, but that is unlikely since it is located in ApplicationResources.properties which is located in xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your wiki would not be running.
> > > >
> > > > Hope this helps getting to the bottom of this.
> > > >
> > > > -Eduard
> > > >
> > > > ----------
> > > > [1]
> > > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Conte
> > > > nt
> > > > +A
> > > > uthor#HSource
> > > > [2]
> > > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSu
> > > > pe
> > > > ra
> > > > dminaccount [3]
> > > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
> > > >
> > > > On Mon, Oct 5, 2015 at 6:45 PM, Keith Davis
> > > > wrote:
> > > >
> > > > > Maybe we are not talking about the same thing. None of the
> > > > > scripts work, that includes the panel scripts, like My Recent
> > > > > Modifications, Backlinks and Recently Modified. Are you saying
> > > > > that the last Author of the that page is Author of the panel
> > > > > scripts as well, though those are shown on every page??? We
> > > > > don't write or create any velocity scripts - we are only using the ones that came with XWiki or installed via Extensions.
> > > > >
> > > > > Also, the extension managements pages are broken (I sent that
> > > > > in the first email that did not go through). Under Extension
> > > > > Manager, Add Extensions is listed, but is broken (I think, I'm
> > > > > back on
> > > > > 7.1.2 right now), but the other links all are like this:
> > > > >
> > > > > $services.localization.render
> > > > > ('admin.xwiki.installedextensions')
> > > > >
> > > > > Those definitely do no work.
> > > > >
> > > > >
> > > > > Keith Davis (214) 906-5183
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: users [mailto:users-bounces@xwiki.org] On Behalf Of
> > > > > Eduard Moraru
> > > > > Sent: Monday, October 05, 2015 10:18 AM
> > > > > To: XWiki Users
> > > > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > > > >
> > > > > Hi Keith,
> > > > >
> > > > > On Mon, Oct 5, 2015 at 3:38 PM, Keith Davis
> > > > >
> > > > > wrote:
> > > > >
> > > > > > "Is there any chance that, while you`ve executed the
> > > > > > Distribution Wizard, you might have missed (ignored) the
> > > > > > document
> > > > > XWiki.XWikiPreferences "
> > > > > >
> > > > > > I suppose - those boxes were not checked, but I checked
> > > > > > those boxes manually and it still did not work.
> > > > > >
> > > > >
> > > > > So you are saying that you`ve set the rights of the
> > > > > XWikiAllGroup as in the screenshot and you still have issues.
> > > > > Have you tried isolating the problem in a new page? Like
> > > > > creating a new page, writing/adding a velocity macro (event
> > > > > with some static text content, it does not
> > > > > matter) and then saving the page to see if it is executed properly and that you get no error?
> > > > >
> > > > > How do I figure out what user is the author? How do I change
> > > > > the author of
> > > > > > a script?
> > > > > >
> > > > >
> > > > > The last author of a script is the same thing as the last
> > > > > content author of the document in which the script is located.
> > > > > If you have problems with the scripts inside Main.Welcome (for
> > > > > example), you look at its "Last modified by" label, under the
> > > > > page title. That will tell you the user that last modified the
> > > > > page. The gotcha here is that the script right (just like the
> > > > > programming right) actually checks the last content author of
> > > > > that page, so the last user that changed the page's content
> > > > > (not the last user that added a comment for example, for that saved the page without changes, etc.).
> > > > >
> > > > > To make it easier, I`ve published this small app [1] that you
> > > > > can install with the Extension Manager and check the content
> > > > > author and the status of Programming and Script rights on a particular page.
> > > > >
> > > > > You need to identify who is the "content author" on the
> > > > > documents that contain scripts and that fail to work on your setup.
> > > > >
> > > > > Hope this helps,
> > > > > Eduard
> > > > >
> > > > > ----------
> > > > > [1]
> > > > > http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Con
> > > > > te
> > > > > nt
> > > > > +Aut
> > > > > hor
> > > > >
> > > > >
> > > > > >
> > > > > > BTW, this is almost every velocity script.
> > > > > >
> > > > > > Keith Davis (214) 906-5183
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: users [mailto:users-bounces@xwiki.org] On Behalf Of
> > > > > > Eduard Moraru
> > > > > > Sent: Monday, October 05, 2015 7:33 AM
> > > > > > To: XWiki Users
> > > > > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script
> > > > > > Errors
> > > > > >
> > > > > > Hello Keith,
> > > > > >
> > > > > > I see 2 possibilities here:
> > > > > >
> > > > > > 1) Is there any chance that, while you`ve executed the
> > > > > > Distribution Wizard, you might have missed (ignored) the
> > > > > > document XWiki.XWikiPreferences? Or maybe you`ve chosen to keep all your changes?
> > > > > > The point is that you rights configuration (specifically the 'script'
> > > > > > right
> > > > > > section) for the XWikiAllGroup in Administration should look
> > > > > > like in this screenshot [1] (from the 7.2 release notes [2]). The 'script'
> > > > > > right is explicitly given to all users so that the
> > > > > > migration/upgrade behaves as before, until you decide otherwise.
> > > > > > Please check that the rights setup is properly upgraded.
> > > > > >
> > > > > > 2) The only other case I can think of is that you might have
> > > > > > deleted the user that is set as last content author in (most
> > > > > > of) your documents. If this is the case, then indeed the
> > > > > > scripts will not be able to be executed since the user no
> > > > > > longer exists (and thus can not
> > > > > own the 'script' right).
> > > > > > To fix this, you could recreate the previously deleted user
> > > > > > and make sure he has the 'script' right.
> > > > > >
> > > > > > Please let us know if that helps.
> > > > > >
> > > > > > Thanks,
> > > > > > Eduard
> > > > > >
> > > > > > ----------
> > > > > > [1]
> > > > > >
> > > > > > http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/Release
> > > > > > No
> > > > > > te sXWi ki
> > > > > > 72/scriptRightsExplicitlyAllowedInXWikiPreferences.png
> > > > > > [2]
> > > > > >
> > > > > > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNote
> > > > > > sX
> > > > > > Wi
> > > > > > ki72
> > > > > > #H
> > > > > > Scriptright
> > > > > >
> > > > > > On Mon, Oct 5, 2015 at 2:33 PM, Keith Davis
> > > > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Yes, I did execute the Distribution Wizard.
> > > > > > >
> > > > > > > Keith Davis (214) 906-5183
> > > > > > >
> > > > > > > From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf
> > > > > > > Of vincent(a)massol.net
> > > > > > > Sent: Monday, October 05, 2015 6:30 AM
> > > > > > > To: XWiki Users
> > > > > > > Cc: Keith Davis
> > > > > > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script
> > > > > > > Errors
> > > > > > >
> > > > > > > Hi Keith,
> > > > > > >
> > > > > > > See
> > > > > > > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNo
> > > > > > > te
> > > > > > > sX
> > > > > > > Wiki
> > > > > > > 72
> > > > > > > #H
> > > > > > > Scriptright
> > > > > > >
> > > > > > > Are you sure you’ve executed the Distribution Wizard?
> > > > > > > (because by default we give Script Rights to users).
> > > > > > >
> > > > > > > @Edy: I think we need some additional info in the Release
> > > > > > > Notes about
> > > > > > this.
> > > > > > >
> > > > > > > Thanks
> > > > > > > -Vincent
> > > > > > >
> > > > > > > On 5 Oct 2015 at 13:25:08, Keith Davis
> > > > > > > (keithdavis(a)pridedallas.com> > > > > > > m>
> > > > > > (mailto:
> > > > > > > keithdavis(a)pridedallas.com> > > > > > > >))
> > > > > > > keithdavis(a)pridedallas.com))> wrote:
> > > > > > >
> > > > > > > > I tried to send this once, but it looks like it did not go through.
> > > > > > > >
> > > > > > > > I just upgraded from 7.1.2 to 7.2 and now it looks like
> > > > > > > > none of the
> > > > > > > Velocity scripts work. I ended up rolling back to 7.1.2,
> > > > > > > because it's unusable in this state.
> > > > > > > >
> > > > > > > > org.xwiki.rendering.macro.MacroExecutionException: The
> > > > > > > > execution of the
> > > > > > > [velocity] script macro is not allowed. Check the rights
> > > > > > > of its last author or the parameters if it's rendered from another script.
> > > > > > >
> > > > > > > [snip]
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hi guys,
I am looking for an example on how to create / use a queue for my custom jobs and how to add jobs in the queue (preferably an example in Java). I can’t find an example I can use - except for the job Executor description in the Extensions area. Can anyone supply me with an example?
With kind regards,
Peter
I tried to send this once, but it looks like it did not go through.
I just upgraded from 7.1.2 to 7.2 and now it looks like none of the Velocity scripts work. I ended up rolling back to 7.1.2, because it's unusable in this state.
org.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script.
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.panels.internal.PanelWikiUIExtension$1.call(PanelWikiUIExtension.java:175)
at org.xwiki.panels.internal.PanelWikiUIExtension$1.call(PanelWikiUIExtension.java:169)
at com.xpn.xwiki.internal.template.SUExecutor.call(SUExecutor.java:91)
at org.xwiki.panels.internal.PanelWikiUIExtension.execute(PanelWikiUIExtension.java:168)
at sun.reflect.GeneratedMethodAccessor566.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
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.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
I am trying to connect my XWiki to a third-party search engine.
How can I modify the search results page?
I am trying to modify this page:
http://localhost:8443/bin/view/Main/Search
What file corresponds to this? In general, how can I find out what file
serves a URL path? (I looked in struts-config.xml, but I did not find any
"search" references there.
Hello,
Can I set, for example, user's account active time? I mean, I'd like to
set "Mr. Green's account will be active for 2 months" after this time his
account will be blocked.
Can I do this?
Greetings
Hi,
That is what I expected. I am however calling a java service for this where I’m going through a list of documents and doing the conversion. I expect that I have to set the document in the context from within the service?
Thanks for the answers,
Peter
On 8 Oct 2015 at 16:23:51, Eduard Moraru (enygma2002(a)gmail.com <mailto:enygma2002@gmail.com>(mailto:enygma2002@gmail.com <mailto:enygma2002@gmail.com>)) wrote:
> Hi,
>
> You did not mention how you are doing the "conversion". Are you using the
> rendering script service?
>
> Anyway, one thing I can think of is to set the context document before
> starting the conversion process. Here is a snippet that would exemplify
> this:
>
> {{velocity}}
> $xcontext.doc
> $xcontext.setDoc($xwiki.getDocument('Sandbox.WebHome').document)
> $xcontext.doc
> {{/velocity}}
>
> Note that it requires Programming Right (on the author user) to be able to
> be executable.
BTW Edy, we have a {{context}} macro for doing this :)
See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Context+Macro <http://extensions.xwiki.org/xwiki/bin/view/Extension/Context+Macro>
Thanks
-Vincent
> Hope this helps,
> Eduard
>
>
> On Wed, Oct 7, 2015 at 12:38 PM, Peter Huisman wrote:
>
>> Hi,
>>
>> I am using a conversion from XWiki syntax to XHTML which is working like a
>> charm. The challenge I have however is the following:
>>
>> I am running a (test velocity) script from the Sandbox space. I am
>> converting documents in a different space (let’s say AAAA).These documents
>> contain objects with textarea’s where the references are in the form of
>> [[text>>doc:filename]] since it refers to documents in the AAAA space. The
>> conversion of XWiki links is “going down the drain” since the converter is
>> using the Sandbox space to resolve the reference to the page and generates
>> a create reference to the file.
>>
>> Is there an easy way to set the (default) space (in either Java or
>> Velocity) without having to run the script from the actual space (in this
>> case, the AAAA space)?
>>
>> Br,
>>
>> Peter
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org <mailto:users@xwiki.org>
>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
Hi,
I am using a conversion from XWiki syntax to XHTML which is working like a charm. The challenge I have however is the following:
I am running a (test velocity) script from the Sandbox space. I am converting documents in a different space (let’s say AAAA).These documents contain objects with textarea’s where the references are in the form of [[text>>doc:filename]] since it refers to documents in the AAAA space. The conversion of XWiki links is “going down the drain” since the converter is using the Sandbox space to resolve the reference to the page and generates a create reference to the file.
Is there an easy way to set the (default) space (in either Java or Velocity) without having to run the script from the actual space (in this case, the AAAA space)?
Br,
Peter
I manage to launch save process of my page but I didn't manage to pass parameter in this process :-(
On my page in edit mode, I add a button with this JS code:
function SaveCurrentPage(MyForm, MyParam) {
require(['jquery'], function ($) {
$('#inline').attr('action','/bin/save/FormSMQ/SMQ-M2-FAM-Mon+am%C3%A9lioration');
//$('#inline').attr('method','get');
$('#inline').submit();
});
};
this code save current page and go in the view mode BUT I can NOT pass some parameters to my velocity code and update myClass object :-(
In the other way when I submit to view mode with
$('#inline').attr('action','/bin/view/FormSMQ/SMQ-M2-FAM-Mon+am%C3%A9lioration');
My current page is NOT saved but I can pass some parameter with hidden input (I can catch them with $request.aaaa in velocity code)
--- En date de : Mar 6.10.15, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com> a écrit :
> De: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> Objet: Re: [xwiki-users] Fw : Re: How to add a button with confirmation to save my page?
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Mardi 6 octobre 2015, 12h23
> On Tue, Oct 6, 2015 at
> 1:01 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
> > First thxs both but it is not
> what I want try to do.
> >
> > I want to keep default button "Save,
> save and contine and Cancel" like usual.
> > With velocity I added a button to update
> my class object on my page and redirect to another one. My
> button working well in view mode but I want to use it in
> edit mode, then I must save my page before my class object
> update and redirection if not all page modifications will be
> lost.
> >
> > My main
> problem if I rewrite my code in JS is that I can not update
> my class object field attached on my page.
> >
> > (It's a shame it
> doesn't exist an $xwiki.LaunchSaveCurrentPage)
> >
> > Can I launch
> "save page" with javascript? My idea: i launch
> save my page in JS from edit mode to view mode with param
> (do redirect on another page). With this way I can keep my
> nice existant velocity code.
> > Do you
> know how if I can launch "save page" in JS
> then?
>
> > I see that a
> submit in JS go to preview mode, maybe I must modify the
> action target of #inline before submit?
>
> The submit button name (e.g.
> name="action_save") is not included by
> default when you submit the form using
> JavaScript (because the form
> may have
> multiple submit buttons, like in your case, and the
> JavaScript code wouldn't know what button
> to indicate in the submit
> form unless you
> explicitly indicate it). You need to add the button
> name to the submit parameters when you make the
> AJAX save request.
>
> Hope
> this helps,
> Marius
>
Hello
I just tested Xwiki 7.2 and Windows 2012 LDAP (AD) : work fine for existing
users in the active directory
(account created from Windows)
But if I create a new user from Xwiki I can't see created in the LDAP !
How to update from Xwiki to LDAP ?
In other words is It possible ?
Thanks
Sebastien
--
View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-Updates-issue-from-Xwiki-to-Windows-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I am using a conversion from XWiki syntax to XHTML which is working like a charm. The challenge I have however is the following:
I am running a (test velocity) script from the Sandbox space. I am converting documents in a different space (let’s say AAAA).These documents contain objects with textarea’s where the references are in the form of [[text>>doc:filename]] since it refers to documents in the AAAA space. The conversion of XWiki links is “going down the drain” since the converter is using the Sandbox space to resolve the reference to the page and generates a create reference to the file.
Is there an easy way to set the (default) space (in either Java or Velocity) without having to run the script from the actual space (in this case, the AAAA space)?
Br,
Peter
Hey folks,
I'm from Germany, so already sorry for my bloody english.
I use the xe.panels.navigation for the navigation on my xWiki. Now the
following: I created pages, which has an difference between the url and the
name of the site.
For example:
Title - Page one
Adress - /xwiki/bin/main/different-page-one
This now causes problems in the alphabetical order of the navigation, due to
the fact, that the order is being set by the adress "name".. My questions
is: Can I change this behavior? So that the following code will sort the
pages not by their url name but by their Page name?
The code:
{{velocity}}
#panelheader($services.localization.render('xe.panels.navigation'))
## Escape special characters in macro parameter values.
#set ($openToDoc = $doc.documentReference.toString().replaceAll('([~"])',
'~$1'))
{{documentTree showSpaces="false" showTranslations="false"
showAttachments="false" showDocumentTitle="true"
showChildDocuments="true" finder="true" compact="false"
openTo="document:$openToDoc" root="space:xwiki:Main"/}}
#panelfooter()
{{/velocity}}
Changing the adresses or url's is not a possible solution, due to the
unflexibility of a partner we are working with. Is there a possible change
or do I have to put up a manual navigation?
--
View this message in context: http://xwiki.475771.n2.nabble.com/xWiki-Change-Navigation-scheme-tp7596292.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I use xwiki 6.4 with the forum application. I would like to subscribe to a
forum and receive a notification by mail when a new subject or a comment is
posted. Is it possible with the current version ? I didn't find a way to do
it.
Thanks!
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/ForumApplication-Subscribe-by-mail-tp7596…
Sent from the XWiki- Users mailing list archive at Nabble.com.
First thxs both but it is not what I want try to do.
I want to keep default button "Save, save and contine and Cancel" like usual.
With velocity I added a button to update my class object on my page and redirect to another one. My button working well in view mode but I want to use it in edit mode, then I must save my page before my class object update and redirection if not all page modifications will be lost.
My main problem if I rewrite my code in JS is that I can not update my class object field attached on my page.
(It's a shame it doesn't exist an $xwiki.LaunchSaveCurrentPage)
Can I launch "save page" with javascript? My idea: i launch save my page in JS from edit mode to view mode with param (do redirect on another page). With this way I can keep my nice existant velocity code.
Do you know how if I can launch "save page" in JS then?
I see that a submit in JS go to preview mode, maybe I must modify the action target of #inline before submit?
--- En date de : Lun 5.10.15, Eduard Moraru <enygma2002(a)gmail.com> a écrit :
> De: Eduard Moraru <enygma2002(a)gmail.com>
> Objet: Re: [xwiki-users] How to add a button with confirmation to save my page?
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Lundi 5 octobre 2015, 17h35
> Hi,
>
> You might want to have a look at the javascript
> [1] events that are thrown
> when pressing the
> standard save / save & continue buttons that you
> might
> want to catch and insert a
> confirmation to the user. Depending on the
> user's answer, you can either cancel the
> event or modify the dom (to add
> some
> xredirect input) then let the event finish.
>
> Hope this helps,
> Eduard
>
> P.S.:
> remember to use the event bridge module [2] to be able to
> listen to
> PrototypeJS events from jQuery.
>
> ----------
> [1]
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> [2]
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI#HBridgingcu…
>
>
> On Mon, Oct
> 5, 2015 at 6:08 PM, Marius Dumitru Florea <
> mariusdumitru.florea(a)xwiki.com>
> wrote:
>
> > I think the
> Save action supports an 'xredirect' parameter. So if
> your
> > form has a hidden input field with
> name='xredirect' then the user will
> > be redirected to the specified URL after
> the page is saved. So what
> > you can do
> is:
> >
> > * catch the
> click event on the button
> > * ask for
> confirmation
> > https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm
> > * cancel/prevent the event if no, set the
> value of the 'xredirect'
> >
> parameter otherwise
> >
> > Hope this helps,
> >
> Marius
> >
> >
> > On Mon, Oct 5, 2015 at 5:35 PM, Pascal
> BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> > wrote:
> > > Hi,
> > >
> > > I have my
> application with MyClass, MySheet and MyTemplate.
> > > When I have a new page (based on
> MySheet/Class), in edit mode I can
> >
> modify all my fields of Myclass Object but I want to add a
> button to save
> > my page after
> confirmation...
> > >
> > > For the moment I have a button to
> redirect in a new page BUT I want to
> >
> save current page before redirect if the user agreed a
> confirmation box.
> > >
> > > More precisely on my nice appli, on
> new page in edit mode, I have
> > standard
> Save, Save and continue and cancel button and I want another
> one
> > to ask on clik: "are you sure
> to save current fields modified on current
> > page and open this another page"?
> > > - if yes save current page, add a
> value in a field with velocity and
> > save
> and redirect to another one.
> > > - if
> No stay in edit mode
> > >
> > > Do you have a way to recommend?
> > > (perhaps I must try
> $('#form').submit(function() { with jquery) but
> I
> > don't know if this save my
> page?
> > >
> > >
> Thxs for any help.
> > >
> > > Pascal B.
> >
> >
> > >
> > >
> _______________________________________________
> > > users mailing list
> > > users(a)xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Ok thanks, would be great if you could create a jira issue at http://jira.xwiki.org and we’ll look at it
Thanks for your help!
-Vincent
PS: Please continue replying on the list and not directly to me ;) (this allows everyone to see the exchange and learn from it - and it’ll be indexed by google for later searches)
On 5 Oct 2015 at 10:49:04, Miroslav Galajda (miroslav.galajda(a)gmail.com) wrote:
Hi, the repro si here. The problem occured when I set the xwiki.showviewaction=0 and then installed the xwiki. There's bigger problem than I've described. If you go into preferences and try to change language, it will not change after save. And this creates the saveandcontinue space.
Mirec
On 5 October 2015 at 10:26, Miroslav Galajda <miroslav.galajda(a)gmail.com> wrote:
Hi, currently I cannot reproduce the problem. It seems OK. But I remember that I've made some xwiki.cfg configuration changes. I was using xwiki.showviewaction=0 setting, to hide view actions and UrlRewriteFilter as described here http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs. I'm going to try setting the xwiki.showviewaction=1 and try it again.
Mirec
On 5 October 2015 at 10:06, Miroslav Galajda <miroslav.galajda(a)gmail.com> wrote:
OK, I'm going to try it again.
Mirec
On 5 October 2015 at 10:04, vincent(a)massol.net <vincent(a)massol.net> wrote:
FTR I’ve done the same thing as you and didn’t get any issue. The only difference is that I’m using the Jetty+HSQLDB distribution and you’re using Oracle.
Maybe there’s a problem with Oracle.
Let us know if you still have saveandcontinue when you start a clean 7.2 *without* making any change and whether the saveandcontinue space appears after you set the language or after you set the mail config.
Thanks
-Vincent
On 5 Oct 2015 at 09:57:48, vincent(a)massol.net (vincent(a)massol.net) wrote:
Try doing this again but without changing anything (don’t change the language preference) and let us know if you still see the saveandcontinue space.
It could be that we have a bug when changing langage prefs?
Thanks
-Vincent
On 5 Oct 2015 at 09:56:11, Miroslav Galajda (miroslav.galajda(a)gmail.com) wrote:
Hi, I wrote that I have clean install on a clean DB (oracle). All what I have done after installation was, that I've loged in as an Admin and have changed language preferences to "sk-sk" and mail configuration. After that I see the saveandcontinue space with the following structure:
saveandcontinue
Mail
MailConfig
XWiki
XWikiPreferences
Can you verify that?
Mirec
On 5 October 2015 at 09:46, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi Mirec,
On 4 Oct 2015 at 22:10:57, Miroslav Galajda (miroslav.galajda@gmail.com(mailto:miroslav.galajda@gmail.com)) wrote:
> Hi,
>
> after a fresh new installation of xwiki 7.2, I noticed that there's new space called 'saveandcontinue’.
I’ve downloaded a clean 7.2 and checked and there’s no such space. I believe you must have somehow created it.
Maybe you could try reinstalling a clean 7.2 version to check it.
Thanks
-Vincent
> It can be found on the dashboard/welcome page in pages tree. It is also shown in My Recent Modifications panel and in Activity stream, after modification of xwiki preferences and mail settings. This is probably some bug. It seems to me that this is something internal which should not be shown and should not be treated as my modification. The shown pages inside saveandcontinue space are just empty pages. What’s wrong?
>
> Mirec
Hi,
I have my application with MyClass, MySheet and MyTemplate.
When I have a new page (based on MySheet/Class), in edit mode I can modify all my fields of Myclass Object but I want to add a button to save my page after confirmation...
For the moment I have a button to redirect in a new page BUT I want to save current page before redirect if the user agreed a confirmation box.
More precisely on my nice appli, on new page in edit mode, I have standard Save, Save and continue and cancel button and I want another one to ask on clik: "are you sure to save current fields modified on current page and open this another page"?
- if yes save current page, add a value in a field with velocity and save and redirect to another one.
- if No stay in edit mode
Do you have a way to recommend?
(perhaps I must try $('#form').submit(function() { with jquery) but I don't know if this save my page?
Thxs for any help.
Pascal B.
> >
> > I need install
> this extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Video+Macro
> on http://coc.myxwiki.org.
> > Is it possible without PR or a nice admin
> can do it or is it strickly forbidden?
>
> Did you try it? It didn’t
> work?
Yes PR required: "Programming right is required to install extension [org.webjars:video-js-4.11.4] on namespace [wiki:coc]"
Hi!
I performed my first install ever of xwiki today using the latest
stable. Running with mysql (on separate hosts) as database. I've
installed my servlet container on Centos 7, with java and tomcat
versions as below:
[root@tomcat-01]# java -version
java version "1.7.0_85"
OpenJDK Runtime Environment (rhel-2.6.1.2.el7_1-x86_64 u85-b01)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
Installed Packages
Name : tomcat
Arch : noarch
Version : 7.0.54
Release : 2.el7_1
Since this is my first xwiki installation ever, I would like to share my
experience, problems I faced and unanswered questions below.
>From http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat
I thought that as per example, java settings:
JAVA_OPTS="-Xmx800m -XX:MaxPermSize=192m"
would allow me to install and play around with the application, since
that recommendation is higher than the "small installation" (512M)
reference found here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory
* My first problem appeared when I right after successful installation,
in the sandbox, created an empty testpage with one attachment of 3M in
size. I got an OutOfMemory exception when deleting that attachment.
- Are the documented java memory recommendations still applicable or
should they be considered as outdated for latest stable?
so I updated the java settings to solve the problem:
JAVA_OPTS="-Xmx1400m -XX:MaxPermSize=192m"
* My second problem appeared when I created my first page. The intention
was to create a page with a bunch of image attachments, using an
extension for displaying these images as an image gallery. When
uploading 116 images of individual size ~ 3M, a total size of 374M.
Uploading of files failed after 80 something files had been uploaded to
the page. The disk space on the servlet container server host was full.
In
/var/cache/tomcat/work/Catalina/localhost/xwiki/xwiki-temp/attachment-cache
a total of 6.3G of data had been stored.
- Looking at the checksum of the 2000 something files stored in this
directory there are 86 unique files some of which stored in 29 copies
during the upload process. Is this a desired behavior of the attachment
cache, or is this a bug?
* My third problem was when trying to install an extension. I was really
curious about, and wanted to test, the social login application, that
even is referred to from the administration guide
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HSocialL….
This extension does not install at all on the latest stable. My java
knowledge is limited, but, I interpret the error message as failure to
satisfy requirement of servlet api version 2.5 (maybe since latest
stable xwiki has servlet version prereq of 3.0+).
- Since the documentation only exist in one latest version, should I as
user assume that the documentation is applicable for latest
development-, stable- or long term release?
Now, it might be bad luck, or my failure to understand the xwiki release
process, that my first three tests of the software failed with problems.
I will now try the long term support release hoping that I successfully
can add attachments and install extensions according to my requirements.
Best regards
Johan Eriksson
Hi,
after a fresh new installation of xwiki 7.2, I noticed that there's new space called 'saveandcontinue'.
It can be found on the dashboard/welcome page in pages tree. It is also shown in My Recent Modifications panel and in Activity stream, after modification of xwiki preferences and mail settings. This is probably some bug. It seems to me that this is something internal which should not be shown and should not be treated as my modification. The shown pages inside saveandcontinue space are just empty pages. What’s wrong?
Mirec
Hello XWiki experts,
I'm porting confluence-syntax-pages from a confluence to my shiny new xwiki.
I've made a little tool to grasp the attachments (by hand) and am
copying the page content.
These pages were using two macros that I am try to reprogramme but am
failing thus far.
I succeeded creating the macro with the easy tutorial here
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial,
including content or parameters references in the XWiki 2.1 syntax but
in the confluence syntax I am failing:
- how can I specify macro parameters there?
- confluence macros do not have open and close tags. Does it mean it
cannot have content? If the macro requires content, an error is
displayed constantly that the content is missing.
thanks
Paul
Hi, after fresh new installation of xwiki 7.2, I noticed that there's new space called 'saveandcontinue'.
It can be found on the dashboard/welcome page. It is also shown in My Recent Modifications panel and in Activity stream, after modification of xwiki preferences and mail settings. This is probably some bug. It seems to me that this is something internal which should not be shown and should not be treated as my modification. The shown pages inside saveandcontinue space are just empty pages. What's wrong?
Hi All,
I need to empty recycle bin (both pages and attchments) but I'm not authorized
to do so.
Page:
http://tutos.myxwiki.org/xwiki/bin/view/Main/AllDocs?view=deletedAttachments
Returns:
This document requires programming rights and needs to be saved by an
administrator of this Wiki
Thanks for your help I'm not in a hurry :-).
Best regards
> > Indeed, when using “Always on this
> wiki” we currently require PR. I think we should allow it
> if you’re the owner of the wiki or have admin permissions.
> Maybe you could start a discussion thread on this or create
> a jira issue?
> >
> > For
> now, you can use “On demand” or “only on this page”
> and it should work fine.
> >
Then for the moment, do you have another way I can use to apply a css instruction on all my site ?
Thxs
>
> > The current way
> it works right now is uselessly confusing.
>
> See also http://extensions.xwiki.org/xwiki/bin/view/Extension/Home+Page+Application on
> this topic, where I tried to have the best of both
> worlds.
Thxs a lot, it seem clear and useful (I will use it, hope it's working with 7.1.2)
>
> I didn’t succeed
> in convincing others that it was a good solution though so
> it stayed as an extension.
It's shame, because I'm far to be an xwiki expert but I know very well your product now and I'm still confuse to customize home page (after xwiki.cfg it is the first page to "play" with).
The perfect example:
http://coc.myxwiki.org/xwiki/bin/view/Main/?language=fr (simple text)
http://coc.myxwiki.org/xwiki/bin/view/Main/?language=en (dash board)
and in edit mode some instruction that i don't understand.
Pascal B
> > created your wiki here:
> > http://coc.myxwiki.org/xwiki/bin/view/Main/
Hello,
About my new site on myxwiki.org, I'm very disoriented about the customization of welcome page ...
If i'm login as Admin, Main.WebHome show only this text:
<<<C'est un site web facile à éditer qui aidera les membres de votre équipe à mieux travailler ensemble. Ce wiki se compose de pages organisées par espaces. Vous êtes actuellement sur la page d'accueil (WebHome) de l'espace principal (Main).
Vous pouvez utiliser le bac à sable afin de tester les fonctionnalités de votre wiki.>>
When I'm login as admin if I edit my welcome page this message is displayed on top of gadget dashboard:
<<Vous êtes en train de modifier un tableau de bord défini dans un document différent,coc:WikiManager.Dashboard. Vos changements auront un impact sur toutes les pages incluant cette configuration de tableau de bord. Si vous souhaitez personnaliser cette page, éditez-la en mode WYSIWYG et configurez la macro "tableau de bord" avec un paramètre source vide.>>
I don't understand what's meaning " configurez la macro "tableau de bord" avec un paramètre source vide"? I must edit the source of Main.Welcome and replace {{dashboard source="Main.Dashboard" /}} by {{dashboard source="" /}} ?
If I follow the instruction like a normal user, I'm quickly lost: I can not follow this instruction and I obtain 2 different welcome page depending of language of my browser: english one with dashboard and the french one with the short text "C'est un site web facile à éditer..."
http://coc.myxwiki.org/xwiki/bin/view/Main/?language=frhttp://coc.myxwiki.org/xwiki/bin/view/Main/?language=en
In my advice, xwiki must be simplier to customize welcome page. It is the first impression the most important, isn'it?
(I activated 2 langages on: coc.myxwiki.org, en and fr default)
Thxs
Pascal B.
>
> On 1 Oct 2015 at 08:51:01, vincent(a)massol.net
> (vincent@massol.net(mailto:vincent@massol.net)) wrote:
>
> > I’m ok on
> my side to allow Owner to be able to use the “Always on
> this wiki” visibility for JSX/SSX.
> Allowing PR is another matter and
> I’m -1 for that, it’s too dangerous. With PR you can do
> anything: hack the OS, delete all the wikis of the farm, etc
> (voluntarily or not!).
Yes I'm agree with you. It's too dangerous for groovy code and JAR...
But are there same risk if you allow only full velocity code+xwiki API?
(I don't know if some methods need PR anyway)
>
> Sorry, I
> cannot accept that, I’m a Castle Clash player :)
Lol
I wonder the difference between these game? date creation? or time spending probably? a nightmare!
>
> Just kidding of course, I’ve
> created your wiki here:
> http://coc.myxwiki.org/xwiki/bin/view/Main/
>
> Remember that it obeys the
> rules defined at http://myxwiki.org/xwiki/bin/view/Main/WebHome
>
Ok
Thxs
Pascal B.
Hi,
Could you provide this nice wiki?
description: web site to share some presentation, news and strategies about our clan: "Valhalla" on game: "Clash of clans"
owner name: thorgal aegirsson
wiki name: coc.myxwiki.org
Thxs
Thorgal
Hi all,
I'm new with xwiki and need help before I go crazy here. I just tried to
install the 'proper' .war installation after a being happy with the xwiki
standalone installation. The main reason to switch is not performance (it'll
be a small wiki), but the fact that I can't seem to run it as a service and
it stopped running after not being logged on for a couple of days. Back to
topic...
I chose what seemed like the easiest path to me from the manual install
documentation:
Jetty (9.3.3) + HSQLDB (2.3.3) + xwiki (7.2) on Windows server 2008 R2
(don't have a choice of using something else there)
I think my problem is an utter lack of knowledge of how to configure
jetty+hsqldb.
The good news is that I get to the xwiki initialization screen when I access
hostname:8080/xwiki/
Bad news is that it throws a http 500 error once it's done initializing, see
the log below.
Here is what I did: I literally wet by the documentation and I suspect that
I'm missing the part where I define the hsqldb setup (db location and
connection):
- extracted jetty in a folder
- extracted the xwiki 7.2 .war file into the webapps subfolder in jetty
- copied the hsqldb.jar file in the WEB-INF/lib subfolder in xwiki
- uncommented the HSQLDB part in the hibernate.cfg.xml
- set the directory to environment.permanentDirectory="E:/Data/Wiki/data/"
in xwiki.properties; I used unix-like path even though I'm on windows. Using
\ instead of / did not work either
I did not set up a database, user, etc for hsqldb, is that my problem? The
documentation made it sound like this is not necessary.
I would really appreciate any input because I started over again a few times
already and am lost.
Cheers
Sebastian
--
View this message in context: http://xwiki.475771.n2.nabble.com/HTTP-500-war-installation-with-Jetty-and-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I'm actually working to migrate our wiki from 6.4.5 to 7.2 as it
implement the feature we were looking for, since the begining of this year !
So as i did before i upgraded the .war manually,
I replaced all config files to match my needs,
i'm working on oracle 11g so my hibernate looks like :
<property
name="connection.url">jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=My_server)
(PORT=My_Port))(ADDRESS=(PROTOCOL=TCP)(HOST=My_server)
(PORT=My_Port))(CONNECT_DATA=(SERVICE_NAME=xwiki)(FAILOVER_MODE=(TYPE =
SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))</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.SetBigStringTryClob">true</property>
<property name="jdbc.batch_size">0</property>
<property name="jdbc.use_streams_for_binary">false</property>
<property name="dbcp.ps.maxActive">20</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.oracle.hbm.xml"/>
i also set the migration parameter in xwiki.cfg
xwiki.store.migration=1
But i can't get through it ... my logs looks like :
2015-09-29 13:28:01,157 [coreLoadExecutor-5-thread-1] WARN
o.a.s.r.ManagedResource - No stored data found for /rest/managed
2015-09-29 13:28:01,453 [main] INFO o.x.s.s.i.EmbeddedSolrInstance -
Started embedded Solr server.
2015-09-29 13:28:01,640 [main] INFO o.x.o.i.s.DefaultOfficeServer -
Open Office instance started.
2015-09-29 13:31:19,030 [XWiki initialization] INFO
.HibernateDataMigrationManager - Storage schema updates and data
migrations are enabled
2015-09-29 13:31:19,420 [XWiki initialization] INFO
.HibernateDataMigrationManager - The following data migration(s) will be
applied for wiki [xwiki] currently in version [72000]:
2015-09-29 13:31:19,435 [XWiki initialization] INFO
.HibernateDataMigrationManager - R72001XWIKI12228 - Make sure
xwikidocument and xwikispace tables are in sync
2015-09-29 13:31:19,435 [XWiki initialization] INFO
.HibernateDataMigrationManager - Checking Hibernate mapping and updating
schema if needed for wiki [xwiki]
2015-09-29 13:31:20,371 [XWiki initialization] INFO
.HibernateDataMigrationManager - Starting data migration
[R72001XWIKI12228] with version [72001] on database [xwiki]
2015-09-29 13:31:20,387 [XWiki initialization] WARN
o.h.u.JDBCExceptionReporter - SQL Error: 904, SQLState: 42000
2015-09-29 13:31:20,387 [XWiki initialization] ERROR
o.h.u.JDBCExceptionReporter - ORA-00904: "TRUE" : identificateur non
valide
2015-09-29 13:31:20,402 [XWiki initialization] ERROR
.HibernateDataMigrationManager - Failed to migrate database [xwiki]...
com.xpn.xwiki.store.migration.DataMigrationException: Data migration
R72001XWIKI12228 failed
[...]
Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "TRUE" :
identificateur non valide
[...]
2015-09-29 13:31:20,402 [XWiki initialization] ERROR
.HibernateDataMigrationManager - Main wiki database migration failed, it
is not safe to continue!
2015-09-29 13:31:20,402 [XWiki initialization] ERROR
c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document [xwiki:XWiki.WikiMacroParameterClass]
[...]
Caused by: com.xpn.xwiki.XWikiException: Error number 3301 in 3:
Exception while switching to database xwiki
[...]
I'm so confused ... what did i do wrong ?!
Hope someone can help me to deal with it :)
Best regards,
JB
--
//j.burger(a)bfc.nc <mailto:assistance@bfc.nc>
recycle ///Sauvez la planète, n'imprimez que si c'est nécéssaire.///
/---------------------------------------------------------------------------------------------/
Hi, when migrating XWiki from version 7.1.1 to 7.2, I get the error bellow.
My XWiki runs on Oracle DB. It seems that there's error in using TRUE
literal in sql statements, which is not supported on Oracle. Could you
please fix this. I located the error in the following method
in R72001XWIKI12228DataMigration.java
private String createSpaceQuery(boolean hidden)
{
StringBuilder query = new StringBuilder("select DISTINCT XWD_WEB from
xwikidoc where");
if (hidden) {
query.append(" XWD_WEB not in (" + createSpaceQuery(false) + ")");
} else {
query.append(" XWD_HIDDEN <> *true *OR XWD_HIDDEN IS NULL");
}
return query.toString();
}
The raised error:
java.sql.SQLSyntaxErrorException: ORA-00904: "TRUE": invalid identifier
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:873)
at
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1167)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1289)
at
oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1491)
at
oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:406)
at
org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
at
org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
at
org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
at
com.xpn.xwiki.store.migration.hibernate.R72001XWIKI12228DataMigration$R72001Work.getVisibleSpaces(R72001XWIKI12228DataMigration.java:129)
at
com.xpn.xwiki.store.migration.hibernate.R72001XWIKI12228DataMigration$R72001Work.createVisibleSpaces(R72001XWIKI12228DataMigration.java:182)
at
com.xpn.xwiki.store.migration.hibernate.R72001XWIKI12228DataMigration$R72001Work.execute(R72001XWIKI12228DataMigration.java:106)
at org.hibernate.impl.SessionImpl.doWork(SessionImpl.java:1997)
... 28 more
Mirec
Hi All,
I want to develop website similar to http://www.artpal.com/ or any other
art website.
Basic requirements are :-
1)I can upload my painting images,
2)User can change the painting background if somebody want
3)Allow user to purchase painting using card payment like in any other
site,
4) categorize different type of painting.
Are there some readymade template available which i can use as base and
then quickly develop on that? Just for info I am a java resource having
around 10 years of exp.
Thanks and Regards
Mohit
Another update (sorry). Thomas has provided some useful information and after following his steps, the search is working again.
If anyone else has the same issue, please read http://jira.xwiki.org/browse/XWIKI-12619.
Thank you all again! I really appreciate the help.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 13:44
To: XWiki Users <users(a)xwiki.org>; vincent(a)massol.net
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
OK, rather than roll-back, I have changed to the "Database" search method which is working. I think the SOLR method is better/recommended/default (please correct me if I'm wrong), so it would be good to get that fixed. This should hopefully buy me some time with users until Marius (or anyone else) can have a look :)
I've posted some error output from catalina.out on the bug in Jira.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 12:57
To: vincent(a)massol.net; XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Vincent
Thanks. Could you confirm if a roll-back requires a restore from backup or if it can be done “safely” in the UI? Thanks again.
Kind regards,
Mahomed
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users(a)xwiki.org>
Cc: Mahomed Hussein <Mahomed(a)CustodianDC.com>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Mahomed,
I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
Right now I suggest you roll back to your previous version and wait for a fix.
Thanks
-Vincent
On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org<mailto:users@xwiki.org>>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.SimpleNode.render(SimpleNode.java:342)
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.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com<mailto:Mahomed@CustodianDC.com>
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
OK, rather than roll-back, I have changed to the "Database" search method which is working. I think the SOLR method is better/recommended/default (please correct me if I'm wrong), so it would be good to get that fixed. This should hopefully buy me some time with users until Marius (or anyone else) can have a look :)
I've posted some error output from catalina.out on the bug in Jira.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 September 2015 12:57
To: vincent(a)massol.net; XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Vincent
Thanks. Could you confirm if a roll-back requires a restore from backup or if it can be done “safely” in the UI? Thanks again.
Kind regards,
Mahomed
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users(a)xwiki.org>
Cc: Mahomed Hussein <Mahomed(a)CustodianDC.com>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Mahomed,
I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
Right now I suggest you roll back to your previous version and wait for a fix.
Thanks
-Vincent
On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org<mailto:users@xwiki.org>>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.SimpleNode.render(SimpleNode.java:342)
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.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com<mailto:Mahomed@CustodianDC.com>
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi Vincent
Thanks. Could you confirm if a roll-back requires a restore from backup or if it can be done “safely” in the UI? Thanks again.
Kind regards,
Mahomed
From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
Sent: 26 September 2015 09:23
To: XWiki Users <users(a)xwiki.org>
Cc: Mahomed Hussein <Mahomed(a)CustodianDC.com>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Hi Mahomed,
I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
Right now I suggest you roll back to your previous version and wait for a fix.
Thanks
-Vincent
On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com<mailto:mahomed@custodiandc.com>) wrote:
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org<mailto:users@xwiki.org>>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.SimpleNode.render(SimpleNode.java:342)
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.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com<mailto:Mahomed@CustodianDC.com>
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org<mailto:users@xwiki.org>
http://lists.xwiki.org/mailman/listinfo/users
Thanks Thomas. I've logged http://jira.xwiki.org/browse/XWIKI-12619. Please let me know what other info you need.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
Sent: 26 September 2015 12:12
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] Search failing after upgrade to 7.2
Would be great if you could create an issue on htp://jira.xwiki.org.
On Sat, Sep 26, 2015 at 10:22 AM, vincent(a)massol.net <vincent(a)massol.net> wrote:
> Hi Mahomed,
>
> I’d like to help you but the stack trace you’ve put below seems to indicate that there’s a bug in XWiki. Marius is the one who coded this part and I’m sure he’s going to check it out as soon as Monday morning.
>
> Right now I suggest you roll back to your previous version and wait for a fix.
>
> Thanks
> -Vincent
>
> On 26 Sep 2015 at 10:13:12, Mahomed Hussein (mahomed(a)custodiandc.com) wrote:
>
> Hi
>
> I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
>
> Ideally I need to have this fixed by Monday. Pretty please. Thanks.
>
>
> Kind regards,
>
> Mahomed
>
>
>
>
> -----Original Message-----
> From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
> Sent: 25 September 2015 17:51
> To: XWiki Users <users(a)xwiki.org>
> Subject: [xwiki-users] Search failing after upgrade to 7.2
>
> Hi
>
> We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
>
>
> · We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
>
> o Link to the tutorial/documentation for creating a custom skin
>
> o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
>
> · More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
>
>
>
> org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
>
> at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
>
> at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
>
> at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
>
> at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
>
> at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
>
> at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
>
> at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
>
> at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
>
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
>
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
>
> at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
>
> at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
>
> at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
>
> at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
>
> at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
>
> at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
>
> at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
>
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
>
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
>
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
>
> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
>
> at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
>
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
>
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
>
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
>
> at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
>
> 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.SimpleNode.render(SimpleNode.java:342)
>
> 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.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
>
> at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
>
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
>
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
>
> at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
>
> at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
>
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
>
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
>
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
>
> at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
>
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>
> at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> 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:342)
>
> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
>
> at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
>
> at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
>
> at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
>
> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
>
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>
> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>
> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
>
> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
>
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
> at java.lang.Thread.run(Thread.java:745)
>
> Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
>
> at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
>
> ... 124 more
>
> Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
>
> at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
>
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
>
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
>
> at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
>
> 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:216)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>
> at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>
> at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> 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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>
> at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
>
> 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:216)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
>
> at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
>
> at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
>
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
>
> at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
>
> ... 126 more
>
> Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
>
> at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
>
> at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
>
> at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
>
> at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
>
> at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
>
> at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
>
> at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
>
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
>
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
>
> ... 161 more
>
>
> Help please. Thanks ☺
>
>
> Kind regards,
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: Mahomed(a)CustodianDC.com
> http://www.CustodianDC.com
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
I know it's a Saturday but I hope someone out there can help with the search issue. I have tried a re-index and I've been trying to search the XWiki Jira but haven't found anything.
Ideally I need to have this fixed by Monday. Pretty please. Thanks.
Kind regards,
Mahomed
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 25 September 2015 17:51
To: XWiki Users <users(a)xwiki.org>
Subject: [xwiki-users] Search failing after upgrade to 7.2
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.SimpleNode.render(SimpleNode.java:342)
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.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi
We upgraded to 7.2 today and I’m having a couple of issues that I hope someone can help me with. I’ve had a look through the recent mailing list topics and nothing seems to match.
· We have a custom skin based on Flamingo but the skin hasn’t picked up the new changes to the skin. I’ve tried searching for the tutorial for creating a custom skin and can’t find it. So can someone please help me with:
o Link to the tutorial/documentation for creating a custom skin
o The physical location on the file system where the custom skin is stored. I can’t seem to find it for some reason.
· More importantly, search appears to be broken. Any help in fixing would be greatly appreciated. The error is that it “Failed to execute the [velocity] Macro”. When I click for more detail, I get: (sorry for the length)
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#handleSolrSearchRequest]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:683)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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.SimpleNode.render(SimpleNode.java:342)
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.xwiki.velocity.introspection.TryCatchDirective.render(TryCatchDirective.java:72)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820)
at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:729)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:627)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:605)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:571)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:557)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.Search]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
... 124 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resolve' in class org.xwiki.search.solr.script.SolrIndexScriptService threw exception java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE] at 33:xwiki:Main.Search[line 365, column 47]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
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.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
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:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 126 more
Caused by: java.lang.IllegalArgumentException: The resolver parameter doesn't contain an Entity Reference of type [SPACE]
at org.xwiki.model.internal.reference.ExplicitReferenceEntityReferenceResolver.getDefaultReference(ExplicitReferenceEntityReferenceResolver.java:45)
at org.xwiki.model.internal.reference.AbstractEntityReferenceResolver.resolveDefaultReference(AbstractEntityReferenceResolver.java:77)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:67)
at org.xwiki.model.internal.reference.AbstractReferenceEntityReferenceResolver.resolve(AbstractReferenceEntityReferenceResolver.java:41)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolveMissingReference(SolrEntityReferenceResolver.java:173)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getSpaceReference(SolrEntityReferenceResolver.java:111)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.getEntityReference(SolrEntityReferenceResolver.java:71)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:63)
at org.xwiki.search.solr.internal.reference.SolrEntityReferenceResolver.resolve(SolrEntityReferenceResolver.java:46)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:242)
at org.xwiki.search.solr.script.SolrIndexScriptService.resolve(SolrIndexScriptService.java:227)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
... 161 more
Help please. Thanks ☺
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
Hi,
I tried to install newly released XWiki 7.2. The same machine (Debian + Apache + Tomcat 7 + MySQL) was used to test testing versions of 7.2 without problems. Manual installation always used (no Debian package).
In Step 1 I received this error when trying install XWiki Enterprise Flavor - Main Wiki:
...
Installing document [Home > Macros > TreeTranslations]
[admin] access has been denied for user [xwiki:XWiki.Admin] on [xwiki]: security checkpoint
Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin]
class org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin]
at org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:442)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:418)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.translationDocumentUpdated(DocumentTranslationBundleFactory.java:346)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$000(DocumentTranslationBundleFactory.java:86)
at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$1.onEvent(DocumentTranslationBundleFactory.java:156)
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1529)
at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocumentSetContextUser(DocumentMergeImporter.java:346)
at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:332)
at org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:126)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importDocumentToWiki(Packager.java:223)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:174)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:146)
at org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:136)
at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:203)
at org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:167)
at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85)
at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:256)
at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:204)
at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:151)
at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:150)
at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Done installing document [Home > Macros > TreeTranslations]
...
There are more problems reported in the list, all seems are "[admin] access has been denied for user [xwiki:XWiki.Admin] on [xwiki]: security checkpoint".
I guess I configured XWiki in the same way and old installation including cache were removed completely. Is there anything else I should check?
With regards,
Jan
Hi Eduard,
Apparently, the use of the following call is not working:
http://<url>/xwiki/bin/export/Space/Page&format=xar&pages=ws360vthwest:%25.%25&name=ws360vthwest&history=true&backup=true&author=XWiki.Admin <http://<url>/xwiki/bin/export/Space/Page&format=xar&pages=ws360vthwest:%.%&name=ws360vthwest&history=true&backup=true&author=XWiki.Admin>
Apparently, the export is able to find the pages, but not the history.
The one that works without any problem is:
http://<url>/xwiki/wiki/dutotest/export/Main/WebHome?format=xar&name=export&pages=%25.%25&history=true <http://<url>/xwiki/wiki/dutotest/export/Main/WebHome?format=xar&name=export&pages=%.%&history=true>
The difference between both calls is, that the first one is using the Main wiki, where the second one is using the Wiki that needs to be exported.
Did I misread the documentation on this? I’m happy that we have at least solved the problem. I’m sorry to have used up some your time for this but thanks for helping me get some understanding on the topic.
Br,
Peter
>
>>
>> You could maybe try to delete the version 11.1 and try exporting again.
>>
The XWiki development team is proud to announce the availability of XWiki
7.2.
This release is probably one of the biggest releases we have done in XWiki
for years (more than 900 commits)! We have worked hard during all the
summer to finally achieve the introduction of a new concept: Nested Pages.
This big change affects both the platform and the user interface, and you
will discover many differences while using XWiki.
For developers, this release also introduces a new Script right and some
changes in the REST, Job and Refactoring modules, just to list a few...
Finally, it also brings a lot of bugs fixes!
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72
The following people have contributed code to this release:
* Caleb James DeLisle
* Clemens Robbenhaar
* Denis Gervalle
* Ecaterina Moraru (Valica)
* Eduard Moraru
* Gabriela Smeria
* Guillaume Delhumeau
* Jean Simard
* Marius Dumitru Florea
* Sergiu Dumitriu
* Thomas Mortagne
* Veronika Koltunova
* Vincent Massol
Thanks for your support
-The XWiki dev team
I have XWiki set up with Trusted LDAP (Kerberos + LDAP), and I am able to
log in and see that my LDAP information (like full name and email) is
populated in my user profile.
Group mapping, however, does not work.
Here is the relevant parts of my xwiki.cfg file:
(Notes:
- I have changed the real domain name to "mydomain" below
- The remote user gets set as username(a)ANT.MYDOMAIN.COM )
----------------------------
*xwiki.xfg:*
# Trusted LDAP
xwiki.authentication.authclass=com.xwiki.authentication.trustedldap.TrustedLDAPAuthServiceImpl
xwiki.authentication.trustedldap.remoteUserParser=([^@]+)@ANT\.(.+)
xwiki.authentication.trustedldap.remoteUserMapping.1=login
xwiki.authentication.trustedldap.remoteUserMapping.2=domain
# LDAP
xwiki.authentication.ldap.server=ldap.mydomain.com
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=
xwiki.authentication.ldap.bind_pass=
xwiki.authentication.ldap.base_DN=o=mydomain.com
xwiki.authentication.ldap.UID_attr=uid
xwiki.authentication.ldap.group_classes=posixgroup,group,groupofuniquenames
xwiki.authentication.ldap.group_memberfields=memberuid
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=mail
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.group_mapping=XWiki.IntranetGroup=cn=intranet,ou=posix
groups,ou=infrastructure,o=mydomain.com
----------------------
For reference, I am able to query for a single user like this (using
anonymous access):
% /usr/bin/ldapsearch -x -h ldap.mydomain.com -p 389 -b "o=mydomain.com"
uid=username
Also, I can query for a group (called "intranet") like this:
% /usr/bin/ldapsearch -x -h ldap.mydomain.com -p 389 -b "ou=posix
groups,ou=infrastructure,o=mydomain.com" cn=intranet
I've spent a lot of time with different LDAP options, but I am not able to
get LDAP group mapping to work. Could anyone tell me what I am doing wrong
here?
Thanks in advance
Debajit
After I load the XWikiDocumentArchive, I can call the getArchive ((I used String h = e.getArchive(this.CONTEXT);). This gives me the complete archive of the versions. And I guess you are right about the content. Where any previous or later version is fully XML compliant, the 11.1 version shows the following content (I have replaced large text area’s with [a lot of text]:
<content>
11.1
log
@@
text
@d14 1
a14 1
<date>1442743679000</date>
d16 1
a16 1
<version>11.1</version>
d336 1
a336 1
<afgeleidPrincipe>Er zijn vertaaltabellen voor relevante combinaties van zowel gebruikte en in gebruik zijnde metainformatiestandaarden als van de daarbij horende waardenlijsten.</afgeleidPrincipe>
d378 1
a378 1
<toelichting>[a lot of text]
d380 1
a380 1
[a lot of text]
d382 3
a384 1
1. de metainformatiestandaard bevat zelf een waardetabel.
d386 1
a386 1
1. de metainformatiestandaard verwijst naar een classificatieschema.
d389 1
a389 1
1. de metainformatiestandaard verwijst naar een meer algemene registratie in de vorm van een database met gestandaardiseerde gegevens.
d396 1
a396 1
[a lot of text]
d398 1
a398 1
[a lot of text]
d400 1
a400 1
Meer concreet levert dit de volgende voorbeelden van toepassingen op:
d403 1
a403 2
[a lot of text]
d405 1
a405 1
[a lot of text]
</toelichting>
@
</content>
I am unable to make any sense of this - especially because since the listing of the object properties in the snippet below give me following data:
<data>
Versie = 11.1
identificatieString : AP_P9doA5GQpspPj
prefix : AP
nummer : 55
afgeleidPrincipe : Er zijn vertaaltabellen voor relevante combinaties van zowel gebruikte en in gebruik zijnde metainformatiestandaarden als van de daarbij horende waardenlijsten.
isAfgeleideVanBasisprincipe : []
toelichting : [a lot of text]
overweging : Dit nieuwe principe is bedoeld als vervanging van AP 23, 36 en 54.
voorbeelden :
standaarden : In ieder geval alle landelijke mclassificatieschema's en metainformatiestandaarden.
bronverwijzingen :
acties :
actiehouder : XWiki.AdrieSpruit
scoreBegrijpelijk : 0
scoreCorrect : 0
scoreWenselijk : 0
scoreUitvoerbaar :
heeftStatus : ST_6JgwAwqZungbE
</data>
What I can get out of this is:
- A lot of <xml> items are not present.
- the XML item in the <content> part (<toelichting>) is the only property that has indeed changed compared to the previous version (10.1). Some information is missing compared to the same item in the <data> block.
- the XML item in the <content> part (< afgeleidPrincipe> is according to what it should be.
- the XML item in the <content> part (<date>) could well be alright - I actually don’t know :-)
- I can make the 11.1 version the current version and it shows up as expected (version 15.1)
- Comparing the 11.1 with the 15.1 version shows that they are the same (except for the user)
Can you help me understand how this can be the case? And of course what I can do to correct this situation?
I’m sorry about the somewhat complex way of explaining but I hope you can help me out here.
Br,
Peter
>
> According to the error what is falling is the method
> XWikiDocumentArchive#getArchive when trying to load version 11.1. Did
> you tried executing it ? Is this version listed in your code ?
>
> On Thu, Sep 24, 2015 at 1:14 PM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
>> I did some testing on this document and it’s history:
>>
>> LocalDocumentReference docLDR = new LocalDocumentReference(spaceName, pageName);
>> DocumentReference docRef = new DocumentReference(docLDR, new WikiReference(this.CONTEXT.getWikiId()));
>> XWikiDocument a = new XWikiDocument(docRef);
>> XWikiVersioningStoreInterface b = a.getVersioningStore(this.CONTEXT);
>> Version[] c = b.getXWikiDocVersions(a, this.CONTEXT);
>> XWikiDocumentArchive e = b.getXWikiDocumentArchive(a, this.CONTEXT);
>> for(Version version : c) {
>> XWikiDocument f = e.loadDocument(version, this.CONTEXT);
>> BaseObject g = f.getXObject(new DocumentReference(this.wiki.getName(), "DutoCode", "AfgeleidPrincipeClass"));
>> }
>>
>> This gives me all of the document versions that are available and there are no error showing the Object data (I’ve removed all the logging statements). So no documents are empty.
>>
>> Any suggestion on where to look for?
>>
>>>
>>>> From what I understand from the error it looks like some version(s) of
>>> the document have identifiers but no content.
>>>
>>> On Thu, Sep 24, 2015 at 11:01 AM, Thomas Mortagne
>>> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com> <mailto:thomas.mortagne@xwiki.com <mailto:thomas.mortagne@xwiki.com>>> wrote:
>>>> Actually it's a little more that than, it ask for a String version of
>>>> the history which is more what happen when a document is deleted.
>>>>
>>>> On Thu, Sep 24, 2015 at 10:59 AM, Thomas Mortagne
>>>> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com> <mailto:thomas.mortagne@xwiki.com <mailto:thomas.mortagne@xwiki.com>>> wrote:
>>>>> According to the trace it just ask for document version handler,
>>>>> nothing more. And that supposed to happen exactly the same way when
>>>>> you look at the document versions.
>>>>>
>>>>>
>>>>> On Thu, Sep 24, 2015 at 10:57 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl> <mailto:p.huisman@ximm.nl <mailto:p.huisman@ximm.nl>>> wrote:
>>>>>> That’s the point: As far as I can tell, everything seems to be in order. What really puzzles me is that - as per the first example - there is no version history present. The only available version is 1.2. Is the export function looking for versions earlier than the current function or is it just looking for “page version objects”?
>>>>>>
>>>>>> If I use the default Admin Export function, I do see all available versions for the documents. Importing the page also gives me a full list of all available versions which I can also revert. After this, it also show up with no errors in it.
>>>>>>
>>>>>>>
>>>>>>> Looks like the history of those object is not in a great shape. Are
>>>>>>> you able to view the history of those documents in error and access
>>>>>>> each version ?
>>>>>>>
>>>>>>> On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl> <mailto:p.huisman@ximm.nl <mailto:p.huisman@ximm.nl>>> wrote:
>>>>>>>> Hi Eduard,
>>>>>>>>
>>>>>>>> We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>>>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
>>>>>>>>
>>>>>>>> [example 1]
>>>>>>>> the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
>>>>>>>> [example 2]
>>>>>>>> This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
>>>>>>>>
>>>>>>>> Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
>>>>>>>> Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
>>>>>>>>
>>>>>>>> Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
>>>>>>>>
>>>>>>>> With kind regards,
>>>>>>>>
>>>>>>>> Peter
>>>>>>>>
>>>>>>>> [example 1]
>>>>>>>> 2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>>>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
>>>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
>>>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> ... 64 common frames omitted
>>>>>>>>
>>>>>>>>
>>>>>>>> [example 2]
>>>>>>>> 2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>>>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
>>>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
>>>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>>>> ... 64 common frames omitted
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Br,
>>>>>>>>>
>>>>>>>>> Peter
>>>>>>>>>
>>>>>>>>>> Hi Peter,
>>>>>>>>>>
>>>>>>>>>> Of course, though you might want to think a bit on the approach.
>>>>>>>>>>
>>>>>>>>>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>>>>>>>>>> write some groovy script [1] in the scheduled task that you create in
>>>>>>>>> order
>>>>>>>>>> to use the filter module [2] (or the old packager module [3], whichever
>>>>>>>>> you
>>>>>>>>>> choose) in order to export the pages you are interested in and save the
>>>>>>>>>> result (on the filesystem or as an attachment in a page).
>>>>>>>>>>
>>>>>>>>>> As inspiration, you could check out the source code (in java) of the
>>>>>>>>> export
>>>>>>>>>> action [4] which is exactly what is going on when you are exporting a
>>>>>>>>> page
>>>>>>>>>> from the UI.
>>>>>>>>>>
>>>>>>>>>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>>>>>>>>>> machine (possible the same one running the XWiki instance) and have that
>>>>>>>>>> task simply download (using something like cURL [6]) the result of a
>>>>>>>>>> manually crafter export URL (as detailed in our documentation [7])
>>>>>>>>>> containing the list of pages to export.
>>>>>>>>>>
>>>>>>>>>> Hope this helps,
>>>>>>>>>> Eduard
>>>>>>>>>>
>>>>>>>>>> ----------
>>>>>>>>>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>>>
>>>>>>>>>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>>>
>>>>>>>>>> [3]
>>>>>>>>>>
>>>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>>>
>>>>>>>>>> [4]
>>>>>>>>>>
>>>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>>
>>>>>>>>>> [5] https://en.wikipedia.org/wiki/Cron <https://en.wikipedia.org/wiki/Cron>
>>>>>>>>>> [6] https://en.wikipedia.org/wiki/CURL <https://en.wikipedia.org/wiki/CURL>
>>>>>>>>>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>>>>>>>>>> not looking for a DB based backup but merely for a backup of spaces /
>>>>>>>>> pages.
>>>>>>>>>>>
>>>>>>>>>>> With kind regards,
>>>>>>>>>>>
>>>>>>>>>>> Peter
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> users mailing list
>>>>>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> users mailing list
>>>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> users mailing list
>>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thomas Mortagne
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Van: Caleb James DeLisle <cjd(a)cjdns.fr <mailto:cjd@cjdns.fr> <mailto:cjd@cjdns.fr <mailto:cjd@cjdns.fr>>>
>>>>>>> Onderwerp: [xwiki-users] [myxwiki] Request for new wiki
>>>>>>> Datum: 24 september 2015 10:35:49 CEST
>>>>>>> Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>>
>>>>>>> Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'd like to start a wiki for documenting a small sociological project
>>>>>>> which I'm doing with a few friends. It will be closed while the project
>>>>>>> is ongoing but we intend to make our findings usable to the outside world
>>>>>>> when the project is complete.
>>>>>>>
>>>>>>> My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Caleb
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> users mailing list
>>>>>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>>>>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>>>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thomas Mortagne
>>>>
>>>>
>>>>
>>>> --
>>>> Thomas Mortagne
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>>
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org <mailto:users@xwiki.org> <mailto:users@xwiki.org <mailto:users@xwiki.org>>
>>> http://lists.xwiki.org/mailman/listinfo/users <http://lists.xwiki.org/mailman/listinfo/users>
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org <mailto:users@xwiki.org>
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
I did some testing on this document and it’s history:
LocalDocumentReference docLDR = new LocalDocumentReference(spaceName, pageName);
DocumentReference docRef = new DocumentReference(docLDR, new WikiReference(this.CONTEXT.getWikiId()));
XWikiDocument a = new XWikiDocument(docRef);
XWikiVersioningStoreInterface b = a.getVersioningStore(this.CONTEXT);
Version[] c = b.getXWikiDocVersions(a, this.CONTEXT);
XWikiDocumentArchive e = b.getXWikiDocumentArchive(a, this.CONTEXT);
for(Version version : c) {
XWikiDocument f = e.loadDocument(version, this.CONTEXT);
BaseObject g = f.getXObject(new DocumentReference(this.wiki.getName(), "DutoCode", "AfgeleidPrincipeClass"));
}
This gives me all of the document versions that are available and there are no error showing the Object data (I’ve removed all the logging statements). So no documents are empty.
Any suggestion on where to look for?
>
>> From what I understand from the error it looks like some version(s) of
> the document have identifiers but no content.
>
> On Thu, Sep 24, 2015 at 11:01 AM, Thomas Mortagne
> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>> wrote:
>> Actually it's a little more that than, it ask for a String version of
>> the history which is more what happen when a document is deleted.
>>
>> On Thu, Sep 24, 2015 at 10:59 AM, Thomas Mortagne
>> <thomas.mortagne(a)xwiki.com <mailto:thomas.mortagne@xwiki.com>> wrote:
>>> According to the trace it just ask for document version handler,
>>> nothing more. And that supposed to happen exactly the same way when
>>> you look at the document versions.
>>>
>>>
>>> On Thu, Sep 24, 2015 at 10:57 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
>>>> That’s the point: As far as I can tell, everything seems to be in order. What really puzzles me is that - as per the first example - there is no version history present. The only available version is 1.2. Is the export function looking for versions earlier than the current function or is it just looking for “page version objects”?
>>>>
>>>> If I use the default Admin Export function, I do see all available versions for the documents. Importing the page also gives me a full list of all available versions which I can also revert. After this, it also show up with no errors in it.
>>>>
>>>>>
>>>>> Looks like the history of those object is not in a great shape. Are
>>>>> you able to view the history of those documents in error and access
>>>>> each version ?
>>>>>
>>>>> On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huisman(a)ximm.nl <mailto:p.huisman@ximm.nl>> wrote:
>>>>>> Hi Eduard,
>>>>>>
>>>>>> We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport> <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
>>>>>>
>>>>>> [example 1]
>>>>>> the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
>>>>>> [example 2]
>>>>>> This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
>>>>>>
>>>>>> Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
>>>>>> Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
>>>>>>
>>>>>> Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
>>>>>>
>>>>>> With kind regards,
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>> [example 1]
>>>>>> 2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> ... 64 common frames omitted
>>>>>>
>>>>>>
>>>>>> [example 2]
>>>>>> 2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…> <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
>>>>>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>>>>>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>>>>>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>>>>>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>>>>>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>>>>>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>>>>>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>>>>>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
>>>>>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>>>>>> ... 64 common frames omitted
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Br,
>>>>>>>
>>>>>>> Peter
>>>>>>>
>>>>>>>> Hi Peter,
>>>>>>>>
>>>>>>>> Of course, though you might want to think a bit on the approach.
>>>>>>>>
>>>>>>>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>>>>>>>> write some groovy script [1] in the scheduled task that you create in
>>>>>>> order
>>>>>>>> to use the filter module [2] (or the old packager module [3], whichever
>>>>>>> you
>>>>>>>> choose) in order to export the pages you are interested in and save the
>>>>>>>> result (on the filesystem or as an attachment in a page).
>>>>>>>>
>>>>>>>> As inspiration, you could check out the source code (in java) of the
>>>>>>> export
>>>>>>>> action [4] which is exactly what is going on when you are exporting a
>>>>>>> page
>>>>>>>> from the UI.
>>>>>>>>
>>>>>>>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>>>>>>>> machine (possible the same one running the XWiki instance) and have that
>>>>>>>> task simply download (using something like cURL [6]) the result of a
>>>>>>>> manually crafter export URL (as detailed in our documentation [7])
>>>>>>>> containing the list of pages to export.
>>>>>>>>
>>>>>>>> Hope this helps,
>>>>>>>> Eduard
>>>>>>>>
>>>>>>>> ----------
>>>>>>>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting> <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>>
>>>>>>>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>>
>>>>>>>> [3]
>>>>>>>>
>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>>
>>>>>>>> [4]
>>>>>>>>
>>>>>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>
>>>>>>>> [5] https://en.wikipedia.org/wiki/Cron
>>>>>>>> [6] https://en.wikipedia.org/wiki/CURL
>>>>>>>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>>>>>>>> not looking for a DB based backup but merely for a backup of spaces /
>>>>>>> pages.
>>>>>>>>>
>>>>>>>>> With kind regards,
>>>>>>>>>
>>>>>>>>> Peter
>>>>>>>>> _______________________________________________
>>>>>>>>> users mailing list
>>>>>>>>> users(a)xwiki.org
>>>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> users mailing list
>>>>>>> users(a)xwiki.org
>>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thomas Mortagne
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Van: Caleb James DeLisle <cjd(a)cjdns.fr <mailto:cjd@cjdns.fr>>
>>>>> Onderwerp: [xwiki-users] [myxwiki] Request for new wiki
>>>>> Datum: 24 september 2015 10:35:49 CEST
>>>>> Aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
>>>>> Antwoord aan: XWiki Users <users(a)xwiki.org <mailto:users@xwiki.org>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'd like to start a wiki for documenting a small sociological project
>>>>> which I'm doing with a few friends. It will be closed while the project
>>>>> is ongoing but we intend to make our findings usable to the outside world
>>>>> when the project is complete.
>>>>>
>>>>> My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
>>>>>
>>>>> Thanks,
>>>>> Caleb
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org <mailto:users@xwiki.org>
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>
>>
>>
>> --
>> Thomas Mortagne
>
>
>
> --
> Thomas Mortagne
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org <mailto:users@xwiki.org>
> http://lists.xwiki.org/mailman/listinfo/users
That’s the point: As far as I can tell, everything seems to be in order. What really puzzles me is that - as per the first example - there is no version history present. The only available version is 1.2. Is the export function looking for versions earlier than the current function or is it just looking for “page version objects”?
If I use the default Admin Export function, I do see all available versions for the documents. Importing the page also gives me a full list of all available versions which I can also revert. After this, it also show up with no errors in it.
>
> Looks like the history of those object is not in a great shape. Are
> you able to view the history of those documents in error and access
> each version ?
>
> On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huisman(a)ximm.nl> wrote:
>> Hi Eduard,
>>
>> We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
>>
>> [example 1]
>> the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
>> [example 2]
>> This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
>>
>> Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
>> Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
>>
>> Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
>>
>> With kind regards,
>>
>> Peter
>>
>> [example 1]
>> 2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> ... 64 common frames omitted
>>
>>
>> [example 2]
>> 2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
>> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
>> at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
>> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
>> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
>> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
>> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
>> Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
>> at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
>> ... 64 common frames omitted
>>
>>
>>
>>> Br,
>>>
>>> Peter
>>>
>>>> Hi Peter,
>>>>
>>>> Of course, though you might want to think a bit on the approach.
>>>>
>>>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>>>> write some groovy script [1] in the scheduled task that you create in
>>> order
>>>> to use the filter module [2] (or the old packager module [3], whichever
>>> you
>>>> choose) in order to export the pages you are interested in and save the
>>>> result (on the filesystem or as an attachment in a page).
>>>>
>>>> As inspiration, you could check out the source code (in java) of the
>>> export
>>>> action [4] which is exactly what is going on when you are exporting a
>>> page
>>>> from the UI.
>>>>
>>>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>>>> machine (possible the same one running the XWiki instance) and have that
>>>> task simply download (using something like cURL [6]) the result of a
>>>> manually crafter export URL (as detailed in our documentation [7])
>>>> containing the list of pages to export.
>>>>
>>>> Hope this helps,
>>>> Eduard
>>>>
>>>> ----------
>>>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>
>>>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>
>>>> [3]
>>>>
>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>
>>>> [4]
>>>>
>>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
>>>> [5] https://en.wikipedia.org/wiki/Cron
>>>> [6] https://en.wikipedia.org/wiki/CURL
>>>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport
>>>>
>>>>
>>>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl>
>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>>>> not looking for a DB based backup but merely for a backup of spaces /
>>> pages.
>>>>>
>>>>> With kind regards,
>>>>>
>>>>> Peter
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
>
>
> Van: Caleb James DeLisle <cjd(a)cjdns.fr>
> Onderwerp: [xwiki-users] [myxwiki] Request for new wiki
> Datum: 24 september 2015 10:35:49 CEST
> Aan: XWiki Users <users(a)xwiki.org>
> Antwoord aan: XWiki Users <users(a)xwiki.org>
>
>
> Hi,
>
> I'd like to start a wiki for documenting a small sociological project
> which I'm doing with a few friends. It will be closed while the project
> is ongoing but we intend to make our findings usable to the outside world
> when the project is complete.
>
> My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
>
> Thanks,
> Caleb
>
>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hi,
I'd like to start a wiki for documenting a small sociological project
which I'm doing with a few friends. It will be closed while the project
is ongoing but we intend to make our findings usable to the outside world
when the project is complete.
My username is CalebJamesDeLisle and I'd like a wiki named 'grw'
Thanks,
Caleb
Hi Eduard,
We have proceeded as per your advice and created a cron with the URL as explained on http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport <http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport>. It however generates a lot of (in my eyes) unexpected errors in the Log file (resulting in a Log file size of over 500Mb). When we do an export using the Admin panel, we do not encounter this problem.
[example 1]
the Page (in Bold) has only 1 version (version 1.2) present (and no minor versions). There are no additional errors for this document.
[example 2]
This page (also Bold) actually has a version history. The document’s current version is 14.1 with 2 intermediate (lower) versions before 11.1 and quite a few below that. Apparently, the export indicates that there is an error in 11.1 but I’m unable to determine the error in the objects. The higher versions do not generate an error and I expect that he quits after the error.
Note: Our pages only contain Custom Objects and Comment objects. There’s no actual content on the page.
Note: I can not find any version information in the XAR. It seems that only a single version is included in the Export.
Can someone explain why this is happening or guide me towards a solution and (more important :-)) how to correct this?
With kind regards,
Peter
[example 1]
2015-09-23 03:10:40,084 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=vr360brab…>] ERROR kiDocumentLocaleEventGenerator - Document [vr360brabant:ZTCVR50348655.EIGSW_jq4Q8bdPCP7zE] has malformed history
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)3241c34b[docId=4003338556527287548,version=1.2]]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
... 64 common frames omitted
[example 2]
2015-09-23 03:15:09,925 [http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.… <http://wiki.dkf.wiki/xwiki/bin/export/Space/Page?format=xar&pages=duto:%25.…>] ERROR kiDocumentLocaleEventGenerator - Document [duto:AfgeleidePrincipes.AP_P9doA5GQpspPj] has malformed history
com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1338) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadRCSNodeContent(XWikiHibernateVersioningStore.java:291) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.getContent(XWikiRCSNodeInfo.java:194) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.doc.rcs.XWikiRCSArchive.<init>(XWikiRCSArchive.java:79) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.doc.XWikiDocumentArchive.getArchive(XWikiDocumentArchive.java:199) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:90) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.XWikiDocumentLocaleEventGenerator.write(XWikiDocumentLocaleEventGenerator.java:55) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.AbstractBeanEntityEventGenerator.write(AbstractBeanEntityEventGenerator.java:114) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.input.AbstractEntityEventGenerator.write(AbstractEntityEventGenerator.java:77) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.DocumentInstanceInputEventGenerator.beginWikiDocument(DocumentInstanceInputEventGenerator.java:107) [xwiki-platform-filter-instance-oldcore-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeDocument(InstanceInputFilterStream.java:213) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeSpace(InstanceInputFilterStream.java:186) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.writeWiki(InstanceInputFilterStream.java:158) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:131) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.instance.internal.input.InstanceInputFilterStream.read(InstanceInputFilterStream.java:53) [xwiki-platform-filter-instance-api-6.4.5.jar:na]
at org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80) [xwiki-commons-filter-api-6.4.5.jar:na]
at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:332) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:76) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [tomcat-servlet-3.0-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-6.4.5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) [tomcat-coyote.jar:7.0.54]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_85]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_85]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#com.xpn.xwiki.doc.rcs.XWikiRCSNodeId(a)472d6673[docId=9066115529778850634,version=11.1]]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:435) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:233) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:297) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateVersioningStore$4.doInHibernate(XWikiHibernateVersioningStore.java:292) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.5.jar:na]
... 64 common frames omitted
> Br,
>
> Peter
>
>> Hi Peter,
>>
>> Of course, though you might want to think a bit on the approach.
>>
>> 1) If you want to do it in XWiki using the scheduler plugin, you have to
>> write some groovy script [1] in the scheduled task that you create in
> order
>> to use the filter module [2] (or the old packager module [3], whichever
> you
>> choose) in order to export the pages you are interested in and save the
>> result (on the filesystem or as an attachment in a page).
>>
>> As inspiration, you could check out the source code (in java) of the
> export
>> action [4] which is exactly what is going on when you are exporting a
> page
>> from the UI.
>>
>> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
>> machine (possible the same one running the XWiki instance) and have that
>> task simply download (using something like cURL [6]) the result of a
>> manually crafter export URL (as detailed in our documentation [7])
>> containing the list of pages to export.
>>
>> Hope this helps,
>> Eduard
>>
>> ----------
>> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting <http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting>
>> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module <http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module>
>> [3]
>>
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi… <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…>
>> [4]
>>
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
>> [5] https://en.wikipedia.org/wiki/Cron
>> [6] https://en.wikipedia.org/wiki/CURL
>> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport
>>
>>
>> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl>
> wrote:
>>
>>> Hi,
>>>
>>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>>> not looking for a DB based backup but merely for a backup of spaces /
> pages.
>>>
>>> With kind regards,
>>>
>>> Peter
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Thanks, I was able to set it up successfully.
I want to check if the currently logged-in user ($xwiki.getUser()) is a
member of a particular LDAP group. What is the best way to do this with the
"Trusted LDAP" setup?
*Option 1:*
I could map the LDAP groups to XWiki groups.
*Option 2:*
Can I do this dynamically without having to map the LDAP groups? (i.e. is
there an easy way to check if a user belongs to an LDAP group without
having to map the LDAP group to an XWiki group?)
On Fri, Sep 18, 2015 at 12:47 AM, Thomas Mortagne <thomas.mortagne(a)xwiki.com
> wrote:
> If you have an authenticator in front of XWiki that populate the
> REMOTE_USER request property you could use
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Tr…
> which has been designed specifically for this use case.
>
> On Fri, Sep 18, 2015 at 3:05 AM, Debajit Adhikary <debajit1(a)gmail.com>
> wrote:
> > I have an XWiki setup that uses Kerberos for authentication.
> >
> > I would like to continue using Kerberos, but use LDAP groups for
> > controlling page access rights.
> >
> > How could I do this?
> >
> > (If you could point me in the right direction, or to any appropriate
> > documentation, that would be a big help)
> >
> > Thanks in advance
> > —Debajit
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
I have several scripts (Groovy and Velocity) that generate output that should not be rendered as a Wiki page. This is necessary, for example, when rendering JSON. As documented before (http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON) , it's possible to allow such content by including request parameters xpage=plain and outputSyntax=plain. However, this approach requires all pages that refer to the script to remember to include these parameters, which is rather error prone.
Is there a way for a script to explicitly disable rendering instead?
Hello all,
I have a Database List which items are XWiki pages. Is there a way to make these items displayed as links so that one can access the related page by clicking on it?
Thanks in advance,
Sylvain
Any time someone performs a search the link comes back displaying "." instead of "/"
Example: Procedures.Bidding.Job Type Specific Information.Bidding Single Mode Fiber Optic Testing
So if they attempt to follow the link it goes to a dead page.
If I replace the "." with "/" it functions perfectly.
Has anyone had this issue or know a resolution?
I am having trouble getting custom properties from a user profile.
I have added a property of type String called "Code"
{{velocity}}
#set($fn= $userObj.getXWikiObject().get("first_name").value)
$fn
#set($c= $userObj.getXWikiObject().get("Code").value)
$c
{{/velocity}}
When the code runs it displays
--------------------
Jeff
$c
--------------------
If I go to the user profile the property Code has a value. I have checked the capitalization and it is correct.
What is the correct way of doing this?
On 21 Sep 2015 at 10:16:00, PATEL, ABDULKADAR (abdulkadar.patel@capgemini.com(mailto:abdulkadar.patel@capgemini.com)) wrote:
>
> Hi Vincent,
>
>
>
>
>
> Thanks for your response.
>
>
> I know it might be very trivial issue but as I am working on xwiki first time,
>
>
> I don’t know basic things and that’s why bugging all of you with my silly doubts.
>
>
>
>
>
> To achieve this use case, I have followed below steps :
>
>
>
>
>
> 1. Modified xwiki-min.js file to bind a javascript code which will display a popup dialog on click of ctrl+shift+N
You shouldn’t do that. You should use a Javascript Extension instead, see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
> 2. This dialog fetches projects and issue types from jira server and displays as dropdown
ok
> 3. Once user clicks on submit, a jira issue is created
ok
> 4. Now I need to display a link near text selected by user in step 1 but don’t know how to do it.
This is not really related to XWiki (unless you wish to reuse the Annotation code but then I don’t now this code enough to know if you can do this or not).
In any case you could check the Annotation code to understand how it’s done there, basically how to find the location of some text in the content.
I guess there are at least 2 ways:
* Do that using JS and thus insert your link using JS
* Do it on the server side using the Rendering engine (this is what Annotation is doing I think) and add some specific HTML marker so that by using JS you can easily insert the link.
In any case what you wish to do is something complex and requires good knowledge of JS (and possibly of XWiki’s Rendering if you choose this solution).
Thanks
-Vincent
> I have attached code I have added in xwiki-min.js
>
>
>
>
>
> You can also suggest if this is a right approach and if I can follow some other approach.
>
>
>
>
>
> Thanks & Regards,
>
>
> Abdulkadar Patel
>
>
>
>
>
>
>
>
>
> P.S. I have not kept xwiki developers mail list since this mail becomes huge and will need approval from list moderator.
>
>
>
>
>
>
>
>
> From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
> Sent: Monday, September 21, 2015 12:52 PM
> To: XWiki Developers
> Cc: PATEL, ABDULKADAR
> Subject: Re: [xwiki-devs] Display link on xwiki page
>
>
>
>
>
>
>
> Hi there,
>
>
>
>
>
>
>
>
> On 18 Sep 2015 at 15:25:44, PATEL, ABDULKADAR (abdulkadar.patel@capgemini.com(mailto:abdulkadar.patel@capgemini.com))(mailto:abdulkadar.patel@capgemini.com(mailto:abdulkadar.patel@capgemini.com))) wrote:
>
> > Hi all,
> >
> > Sorry to bug all of you again and again with the same requirement.
> > But I am also helpless till I get it done.
> >
> > I have ebelow use case :
> >
> > 1. User selects some text on an xwiki page and hits some keyboard shortcut say Alt+ctrl+N
> >
> > 2. This opens a popup dialog like shown below :
> >
> > [file:///Users/vmassol/Library/Containers/it.bloop.airmail.beta11/Data/Library/Application Support/Airmail/General/Local/1442819908355112192/Attachments/image004.jpg@01D0F242.DD794520(mailto:Support/Airmail/General/Local/1442819908355112192/Attachments/image004.jpg@01D0F242.DD794520)]
> >
> >
> >
> > 3. As you can see in the screenshot, it displays list of projects, issue types from JIRA server.
> >
> > Issue summary field is pre-populated with the selected text from xwiki page.
> >
> > 4. Once user submits this dialog, an issue is created in JIRA and a link will be created on xwiki page besides selected
> >
> > text.
> >
> > So far I have achieved 1,2 and 3 but not able to achieve 4
> > One option I thought of is to create an annotation for the selected text with text as a link to JIRA issue
> > But I don't understand how to achive this from javascript code.
> > I have written javascript code in webapps/xwiki/resources/js/xwiki/xwiki-min.js file
> >
> > Please suggest me an approach to achive point no 4.
> > Also suggest me if there is a better and cleaner approach.
>
>
>
>
>
>
> I’m not sure I understand the problem. Step 4 seems easy. You just need a form action which calls a wiki page (possibly the current page passing some parameter) and then using Velocity for example to create the JIRA issue using the JIRA REST API.
>
>
>
>
>
>
>
> Thanks
>
>
>
> -Vincent
>
>
>
>
> > Thanks & Regards,
> > ____________________________________________________________________
> > [file:///Users/vmassol/Library/Containers/it.bloop.airmail.beta11/Data/Library/Application Support/Airmail/General/Local/1442819908355112192/Attachments/image001.gif@01D0F241.1B349010]Abdulkadar(mailto:Support/Airmail/General/Local/1442819908355112192/Attachments/image001.gif@01D0F241.1B349010%5dAbdulkadar) Patel
> > Consultant | GESBU
>
>
>
>
>
>
>
>
Hi Eduard,
Thanks for the explanation and the links.
I am not looking for the Java way since we already have a XML exporter in place that is exporting the information in our environment (which is heavily object based) in a way that can be used by third parties. This is the way we are looking for a more final solution. We were looking for an easy and quick (intermediate) solution to bridge the gap so to speak.
The strange thing is, that I use google to search extensively for things before i ask for info in this group. I was somewhat surprised to see the link (no 7) which is exactly what I needed! I thank you again for the help and I’m sorry that I have not been able to find it myself.
Br,
Peter
> Hi Peter,
>
> Of course, though you might want to think a bit on the approach.
>
> 1) If you want to do it in XWiki using the scheduler plugin, you have to
> write some groovy script [1] in the scheduled task that you create in order
> to use the filter module [2] (or the old packager module [3], whichever you
> choose) in order to export the pages you are interested in and save the
> result (on the filesystem or as an attachment in a page).
>
> As inspiration, you could check out the source code (in java) of the export
> action [4] which is exactly what is going on when you are exporting a page
> from the UI.
>
> 2) A simpler choice, IMO, would be to schedule a cron [5] task on a linux
> machine (possible the same one running the XWiki instance) and have that
> task simply download (using something like cURL [6]) the result of a
> manually crafter export URL (as detailed in our documentation [7])
> containing the list of pages to export.
>
> Hope this helps,
> Eduard
>
> ----------
> [1] http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
> [2] http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Module
> [3]
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> [4]
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
> [5] https://en.wikipedia.org/wiki/Cron
> [6] https://en.wikipedia.org/wiki/CURL
> [7] http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport
>
>
> On Thu, Sep 17, 2015 at 3:49 PM, Peter Huisman <p.huisman(a)ximm.nl> wrote:
>
>> Hi,
>>
>> Is there a way to generate XAR’s using XWiki’s scheduling function? I’m
>> not looking for a DB based backup but merely for a backup of spaces / pages.
>>
>> With kind regards,
>>
>> Peter
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
This post has NOT been accepted by the mailing list yet.
I can manually add if I edit the class (but then I get a ton of errors) but
its not in the field pallet (assume it would be in the advanced section
under Database List).
Does it need to be added to the pallet? if so how would I go about that?
Thx
HH
--
View this message in context: http://xwiki.475771.n2.nabble.com/Databasetree-seems-to-be-missing-tp759604…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have an XWiki setup that uses Kerberos for authentication.
I would like to continue using Kerberos, but use LDAP groups for
controlling page access rights.
How could I do this?
(If you could point me in the right direction, or to any appropriate
documentation, that would be a big help)
Thanks in advance
—Debajit
Hi,
Is there a way to generate XAR’s using XWiki’s scheduling function? I’m not looking for a DB based backup but merely for a backup of spaces / pages.
With kind regards,
Peter
The XWiki development team is proud to announce the availability of XWiki
7.2 Release Candidate 1.
This release candidate brings many Flamingo skin improvements to better
present Nested Documents on top of the Nested Spaces concept. Similar
improvements were made in applications like Solr Search, AWM, FAQ, Activity
Stream and the Skin editor in order to be compatible with Nested Spaces.
On the developers side, a new Select widget and a document picker were
added to allow richer UIs to be created.
Last but not least, 41 bugs were fixed in this release on the road towards
the coming final 7.2 release.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72RC1
The following people have contributed code to this release:
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Gabriela Smeria
Guillaume Delhumeau
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hello,
I try to resolve an right access issu with our xwiki 7.0.1.
I use LDAP authentication to access at our xwiki. Everyone have read access and a main group have write access on a space (unfortunaly big boss is "afraid?" about wiki spirit: 'everyone can edit').
Main editor group contains some subgroup (like manager, comm, etc.) with users in it.
I encountered a strange behaviours: on my developpment platform, rights access work well but on production platform (behind a reverse proxy), right acces working randomly: sometimes main group editors lose write access.
I tested with a test ldap user with exactly same rights/groups on same space with same rights access, on my developpment platform and on production platform. Main editor group can write only on my developpment platform :-(
Do you have an idea of my problem or a way to identify the source of this problem?
I can try to restart production platform in last resort... Maybe the poblem come from some wrong cache on web server?
Note: If I don't use sub group and fill main editors groups with users account I haven't problems.
Thxs for any help
Pascal B
Hi Aaron,
Feel free to create a jira issue at http://jira.xwiki.org if you think it’s important that getURLContent() supports HTTPS. This can be done since under the hood we’re using Http Client and it supports HTTPS.
Thanks
-Vincent
On 16 Sep 2015 at 01:01:41, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)) wrote:
> Yep, that's it. Changed it to HTTP and it worked fine. I must have changed the URL in otherwise working code at some point and forgotten about it. Oddly, using https://google.com still works for me, but not using https with my actual API URL. Either way, good to know that HTTPS isn't supported.
>
> Thanks much for the help,
>
> aaron
>
> On Tue, Sep 15, 2015 at 6:02 PM, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > Hi Aaron,
> >
> > On 15 Sep 2015 at 19:12:06, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> >
> > > I've updated that playground page with the actual URL of the API I'm using - you'll see that the page comes back blank, but if you follow the link in the browser, you get a page full of XML. So there must be something about the data that the API is returning that XWiki doesn't like?
> >
> > This is because you’ve used HTTPS. If you use HTTP it works fine.
> >
> > ATM getURLContent() doesn’t support HTTPS.
> >
> > Thanks
> > -Vincent
> >
> > > Agreed on using final releases - a full upgrade to 7.x is actually planned soon. If I remember correctly, we got stuck on RC1 during the last production upgrade cycle because there was some feature in 6.2 that we really needed but the final release was still a few weeks out by our deadline so we rolled the dice. Fortunately we haven't run into many issues - which is probably why we're running behind on the upgrade :)
> > >
> > >
> > > On Tue, Sep 15, 2015 at 12:56 PM, vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net) wrote:
> > > > Seems to be working fine on http://playground.xwiki.org/xwiki/bin/view/Main/Aaron
> > (http://playground.xwiki.org/xwiki/bin/view/Main/Aaron) > >
> > > >
> > > >
> > > > Maybe there was a problem specifically on 6.2RC1 (BTW better use some final releases…:)). I’d recommend 6.4.5 for the 6.x cycle.
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > >
> > > > On 15 Sep 2015 at 18:53:16, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> > > >
> > > > > Page syntax is XWiki 2.1 and the velocity is wrapped. Sorry, I didn't include the full code for simplicity's sake. Here's a minimal example cut and pasted from the editor (only thing changed is the actual URL):
> > > > >
> > > > > *******************************
> > > > > {{velocity}}
> > > > >
> > > > > #set($getURL = "https://www.example.com/api/example.mhtml?param=123")
> > > > > $getURL
> > > > >
> > > > > #set($content = $xwiki.getURLContent($getURL))
> > > > > $content
> > > > >
> > > > > {{/velocity}}
> > > > >
> > > > > If I set $getURL to "https://google.com", it prints $content to the page. With my API URL, I get nothing but the link in $getURL. But if I follow that link, I get the expected XML page from the API, so I know the URL is working correctly.
> > > > >
> > > > > I figured it was because $content is XML from the API, and HTML from google, but using $services.xml.parse on the response doesn't work either.
> > > > >
> > > > > The strange part is that this is code that I haven't touched in quite some time, and used to be working. The full code parses the XML response and saves various elements to an HTML table on the page - but it doesn't appear to be getting that far.
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Sep 15, 2015 at 12:41 PM, vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net) wrote:
> > > > > > Hi Aaron,
> > > > > >
> > > > > > On 15 Sep 2015 at 18:38:17, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> > > > > >
> > > > > > > XWiki 6.2RC1. I have some velocity code using getURLContent() to access an
> > > > > > > external API that appears to not be working after a server move, despite
> > > > > > > working in the past.
> > > > > > >
> > > > > > > Something like this used to work:
> > > > > > >
> > > > > > > *****************************
> > > > > > > #set($url = "https://www.example.com/api/example.mhtml?param=123")
> > > > > > > #set($response = $xwiki.getURLContent($url))
> > > > > > >
> > > > > > > #if ($response)
> > > > > > > #set($tags = $services.xml.parse($response).getElementsByTagName('TAG'))
> > > > > > > $tags.length
> > > > > > > #end
> > > > > > > *****************************
> > > > > > >
> > > > > > > Now, $response appears to be empty (nothing appears when written to the
> > > > > > > page). Going directly to the API URL returns properly formatted XML, so I
> > > > > > > know the API itself is working. And changing $url to http://google.com also
> > > > > > > returns data.
> > > > > > >
> > > > > > > Any ideas?
> > > > > >
> > > > > > What is the syntax of your page? Are you sure it’s XWiki Syntax 2.0+ and you’re wrapping the velocity content with the {{velocity}} macro for example (you didn’t show it in your example).
> > > > > >
> > > > > > $response is still there
> > > > > >
> > > > > > Thanks
> > > > > > -Vincent
> > > > > >
> > > > > > > aaron
> > > > > >
> > > > >
> > >
> >
>
Seems to be working fine on http://playground.xwiki.org/xwiki/bin/view/Main/Aaron
Maybe there was a problem specifically on 6.2RC1 (BTW better use some final releases…:)). I’d recommend 6.4.5 for the 6.x cycle.
Thanks
-Vincent
On 15 Sep 2015 at 18:53:16, Aaron Hardy at AC (ashtarcommunications(a)gmail.com) wrote:
Page syntax is XWiki 2.1 and the velocity is wrapped. Sorry, I didn't include the full code for simplicity's sake. Here's a minimal example cut and pasted from the editor (only thing changed is the actual URL):
*******************************
{{velocity}}
#set($getURL = "https://www.example.com/api/example.mhtml?param=123")
$getURL
#set($content = $xwiki.getURLContent($getURL))
$content
{{/velocity}}
If I set $getURL to "https://google.com", it prints $content to the page. With my API URL, I get nothing but the link in $getURL. But if I follow that link, I get the expected XML page from the API, so I know the URL is working correctly.
I figured it was because $content is XML from the API, and HTML from google, but using $services.xml.parse on the response doesn't work either.
The strange part is that this is code that I haven't touched in quite some time, and used to be working. The full code parses the XML response and saves various elements to an HTML table on the page - but it doesn't appear to be getting that far.
On Tue, Sep 15, 2015 at 12:41 PM, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi Aaron,
On 15 Sep 2015 at 18:38:17, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)) wrote:
> XWiki 6.2RC1. I have some velocity code using getURLContent() to access an
> external API that appears to not be working after a server move, despite
> working in the past.
>
> Something like this used to work:
>
> *****************************
> #set($url = "https://www.example.com/api/example.mhtml?param=123")
> #set($response = $xwiki.getURLContent($url))
>
> #if ($response)
> #set($tags = $services.xml.parse($response).getElementsByTagName('TAG'))
> $tags.length
> #end
> *****************************
>
> Now, $response appears to be empty (nothing appears when written to the
> page). Going directly to the API URL returns properly formatted XML, so I
> know the API itself is working. And changing $url to http://google.com also
> returns data.
>
> Any ideas?
What is the syntax of your page? Are you sure it’s XWiki Syntax 2.0+ and you’re wrapping the velocity content with the {{velocity}} macro for example (you didn’t show it in your example).
$response is still there
Thanks
-Vincent
> aaron
XWiki 6.2RC1. I have some velocity code using getURLContent() to access an
external API that appears to not be working after a server move, despite
working in the past.
Something like this used to work:
*****************************
#set($url = "https://www.example.com/api/example.mhtml?param=123")
#set($response = $xwiki.getURLContent($url))
#if ($response)
#set($tags = $services.xml.parse($response).getElementsByTagName('TAG'))
$tags.length
#end
*****************************
Now, $response appears to be empty (nothing appears when written to the
page). Going directly to the API URL returns properly formatted XML, so I
know the API itself is working. And changing $url to http://google.com also
returns data.
Any ideas?
aaron
Hello there,
I am trying to export a whole XWiki space to PDF for several hours now. And
it seems like it is not possible.
I am running XWiki 7.1.1 and I did try the following ways:
1.
built-in via
http://localhost:8080/xwiki/bin/export/Space/Page?format=pdf&pages=MyTestSp…
or similar approaches.
Is there any way to use the "%25" with this approach like it is possible
for HTML and XAR exports?
2.
PDF Export Collection Application (
http://extensions.xwiki.org/xwiki/bin/view/Extension/PDF+Export+Collection+…
)
It writes an error to the export pdf file. (Failed to execute the
[velocity] macro. Click on this message for details.)
3.
XWiki Multipage PDF Export (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+PDF+Export)
Did not get it to run, but the docu seems like i need to add any specific
page on my own, which is not what i want.
4.
XWiki MultipagePdfExport Application - Space Export (
http://extensions.xwiki.org/xwiki/bin/view/Extension/MultipagePdfExport+App…
)
It is possible to select what to export in the current space, but it does
not get exported to the final PDF file.
5. Admin Tools Application (
http://extensions.xwiki.org/xwiki/bin/view/Extension/PDF+Export+Panel+Appli…
)
Did not get it to run, but it seems to be a GUI for the first approach. So
I do not expect it to work better.
If there are any tricks I should know of with any of those approaches you
are welcome to tell me. Totally new ideas/solutions are welcome as well of
course.
Hopefully any one can solve this problem since i could not find a solution
yet.
Yours
Daniel
Nope: both method doesn't work with velocity macro...
Do you want a nice xar to check? Then where I can upload it? in Jira?
--- En date de : Lun 14.9.15, vincent(a)massol.net <vincent(a)massol.net> a écrit :
> De: vincent(a)massol.net <vincent(a)massol.net>
> Objet: Re: [xwiki-users] Fw : Include & Co board effect
> À: "XWiki Users" <users(a)xwiki.org>
> Cc: pbasnews-xwiki(a)yahoo.fr
> Date: Lundi 14 septembre 2015, 14h00
> #yiv5668446636
> body{font-family:Helvetica,
> Arial;font-size:13px;}Hi Pascal,
> You should use {{include}}
> for transclusions and {{display}} for inserting the result
> of the execution of some page.
> Thanks-Vincent
>
> On 10 Sep 2015 at 11:26:25,
> Pascal BASTIEN (pbasnews-xwiki(a)yahoo.fr)
> wrote: NB: new
> include function {{include
> reference="BacASable.Page"
> type="document" /}} doesn't work well when
> target page contains a velocity macro
>
> If target page contains a macro velocity
> (#macro( foo $color ), the main page containing
> "include reference" can't call foo macro.
>
> (with includeInContext it's working)
>
>
>
> --- En date de : Jeu 10.9.15, Pascal
> BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
>
>
>
> > De: Pascal BASTIEN
> <pbasnews-xwiki(a)yahoo.fr>
>
> > Objet: [xwiki-users] Include & Co
> board effect
>
> > À: "XWiki Users"
> <users(a)xwiki.org>
>
> > Date: Jeudi 10 septembre 2015, 10h33
>
> > Hello,
>
> >
>
> > In my velocity script I try to include
> some velocity code
>
> > from another page.
>
> > I want similare function like
> "source" in bash, it's like
>
> > copy/paste some code in main script
> from another file.
>
> > I read
> https://network.xwiki.com/xwiki/bin/view/DocXE31Fr/IncludeInVelocity
>
> > and use
> #includeInContext("mySpace.myPage") but there
>
> > are board effect:
>
> > #includeInContext return HTML code
> like this
>
> > <p>I call
> MyMacro<br/><p>My color is
>
> > Red</p>...
>
> > Then to obtain what I want I must user
> html tag:
>
> > {{html}}
>
> >
> #includeInContext("mySpace.myPage")
>
> > {{/html}}
>
> >
>
> > Is it normal?
>
> >
>
> >
>
> > Thxs,
>
> >
>
> > Pascal B
>
> >
> _______________________________________________
>
> > users mailing list
>
> > users(a)xwiki.org
>
> >
> http://lists.xwiki.org/mailman/listinfo/users
>
> >
>
> _______________________________________________
>
> users mailing list
>
> users(a)xwiki.org
>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
NB: new include function {{include reference="BacASable.Page" type="document" /}} doesn't work well when target page contains a velocity macro
If target page contains a macro velocity (#macro( foo $color ), the main page containing "include reference" can't call foo macro.
(with includeInContext it's working)
--- En date de : Jeu 10.9.15, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
> De: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> Objet: [xwiki-users] Include & Co board effect
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Jeudi 10 septembre 2015, 10h33
> Hello,
>
> In my velocity script I try to include some velocity code
> from another page.
> I want similare function like "source" in bash, it's like
> copy/paste some code in main script from another file.
> I read https://network.xwiki.com/xwiki/bin/view/DocXE31Fr/IncludeInVelocity
> and use #includeInContext("mySpace.myPage") but there
> are board effect:
> #includeInContext return HTML code like this
> <p>I call MyMacro<br/><p>My color is
> Red</p>...
> Then to obtain what I want I must user html tag:
> {{html}}
> #includeInContext("mySpace.myPage")
> {{/html}}
>
> Is it normal?
>
>
> Thxs,
>
> Pascal B
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi,
I need to modify an XWiki application to add some functionality, but I
am new to XWiki and I am having a really hard time understanding it.
I'm running XWiki Enterprise 7.1.2. The FAQ application tutorial
<http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual>
looks promising, but the instructions are outdated and I can't figure
out how to get a finished product that looks like what the tutorial
has. The following instructions are particularly problematic:
> In the code, change the word "Main" with the name of the space where you want you FAQ pages to be created
There is no word "Main".
> If you click on "View the template document" and edit that page in wiki mode, you will see the following code: {{include document="FAQ.FAQClassSheet"/}}
The page is blank, I don't see any code.
> Use the Create top level menu (when using the Colibri skin) or the Create Panel to create the FAQ.WebHome page
I don't see anything marked "Create".
Is there an experienced XWiki developer who would be willing to go
through the FAQ application tutorial and rewrite it to make sense for
the latest version of XWiki?
More generally, it would be very helpful to have a glossary that
defines and relates terms like "application", "page", "document",
"object", "property", "class", "template", and "template provider".
These terms are used in the documentation with little or no
explanation, which adds to the confusion.
-Alex
Hi,
After deleting a document, XWiki first shows a confirmation page and after that displays the deleted document(s). I was wondering if I’m able to redirect the user to a different page after the confirmation he has to give on the delete action. I have noticed some remaks on the topic such as the JIRA issue XWIKI-9906 but I;m not sure if there have been any changes on this.
I don’t mind solving the issue myself and I would expect to be able to use the DocumentDeleted event listener. I do not have enough detailed knowledge on the topic to be able to sort this out entirely by myself so that leaves the following questions:
1 - Any news on the JIRA issue in any XWIKI version?
2 - Is it possible to use the DocumentDeleted listener for this purpose?
3 - If yes, does anyone have any suggestion on the approach?
4 - if no, is there any other way to solve this?
Thanks in advance for the feedback,
Br,
Peter
Hi,
I’m looking for the return type for the following Query type in Java:
select doc.space, doc.name from XWikiDocument doc, BaseObject obj…
I know it should be some kind of List<List<String>> since this is what works in Velocity but I can’t do a typecast from List<Object> to List<List<String>.
Can anyone help me on this?
Br,
Peter
Hello,
In my velocity script I try to include some velocity code from another page.
I want similare function like "source" in bash, it's like copy/paste some code in main script from another file.
I read https://network.xwiki.com/xwiki/bin/view/DocXE31Fr/IncludeInVelocity and use #includeInContext("mySpace.myPage") but there are board effect:
#includeInContext return HTML code like this
<p>I call MyMacro<br/><p>My color is Red</p>...
Then to obtain what I want I must user html tag:
{{html}}
#includeInContext("mySpace.myPage")
{{/html}}
Is it normal?
Thxs,
Pascal B
Hi,
After update from 6.4.2 to 7.1.2 we faced with message in LDAP settings:
But it work, I can access to xwiki with my LDAP login and password.
I changed logging level for
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl in debug mode and see
in log:
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication succeed with
principal [XWiki.aleksey-s]
xwiki.cfg for 6.4.2 and 7.1.2 identical.
We tested rollback xwiki to 6.4.2 and message "LDAP service is not
available. Please verify your installation." disappeared..
Why the message "LDAP service is not available. Please verify your
installation" appeared on 7.1.2 ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-service-is-not-available-after-updat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Is it possible not to import an existing document in a XAR Package ?
because I have 350 documents in that package and i really don't want to
check if every document exists...
Regards,
Quentin
--
View this message in context: http://xwiki.475771.n2.nabble.com/Do-not-import-existing-document-tp7595939…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
we try to run XWIKI with an Oracle 12c Database, but have not been succesful
yet.
We changed the property in the hibernate.cfg.xml to
<property name="dialect">org.hibernate.dialect.Oracle12cDialect</property>
but we only get this error:
{"level":"ERROR","thread":"XWiki
initialization","logger":"com.xpn.xwiki.internal.XWikiInitializerJob","context":"etu1appqk01_plis-portalhilfe","exception":"com.xpn.xwiki.XWikiException:
Error number 3202 in 3: Exception while reading document
[xwiki:XWiki.XWikiComments]\n\tat
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:958)\n\tat
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:291)\n\tat
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1299)\n\tat
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1347)\n\tat
com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:773)\n\tat
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:733)\n\tat
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:654)\n\tat
com.xpn.xwiki.XWiki.<init>(XWiki.java:643)\n\tat
com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:115)\n\tat
org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)\n\tat
org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)\n\tat
java.lang.Thread.run(Thread.java:722)\nCaused by:
org.hibernate.HibernateException: Dialect class not found:
org.hibernate.dialect.Oracle12cDialect\n\tat
org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:159)\n\tat
org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:99)\n\tat
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)\n\tat
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)\n\tat
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)\n\tat
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)\n\tat
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)\n\tat
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:682)\n\tat
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:827)\n\t...
11 common frames omitted\nCaused by: java.lang.ClassNotFoundException:
org.hibernate.dialect.Oracle12cDialect\n\tat
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)\n\tat
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)\n\tat
java.lang.Class.forName0(Native Method)\n\tat
java.lang.Class.forName(Class.java:186)\n\tat
org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)\n\tat
org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:156)\n\t...
19 common frames
omitted\n","zeitstempel":"2015-0904T08:22:54.312Z","nachricht":"Exception
thrown during job
execution","korrelationsid":"none","marker":["xwiki.translation"]}
Does XWIKI support oracle12c? This artikel
<http://dev.xwiki.org/xwiki/bin/view/Community/DatabaseSupportStrategy>
says that only 11.x is supported, but the article was updated the in 2014
the last time.
If there is a way to run xwiki with an oracle 12c database, what do we have
to do?
thanks for your help
best regards
Bastian
--
View this message in context: http://xwiki.475771.n2.nabble.com/Does-XWIKI-Support-Oracle12c-tp7595891.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there
First time trying to install xwiki and I'm having this problem at almost any
page in the site.
I'm using tomcat and xwiki 7.1.2
I can't see some basic files (template files) if they are formed without the
prefix "/xwiki/bin/skins/" prefix, for example the xwiki logo it's formed
like
/xwiki/skins/flamingo/logo.png
And can not be rendered by tomcat, but if I use the same url but adding the
bin/skins/ it shows correctly
/xwiki/bin/skins/skins/flamingo/logo.png
There are many other files in the resources/ directory that are not being
loaded.
Any clue will be helpful.
Thank you.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-trying-to-access-skins-tp7595918.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
In out organization we faced with problem after update xwiki from
6.4-milestone-2 to latest stable version 7.1.2 .
In pages on xwiki we have animated pictures.
And animation worked after resize on previous version. For example (test.gif
- animated gif):
[[image:test.gif||height="30" width="20"]]
We saw animated picture after resize.
But now on version 7.1.2 it not work.
On link such as ...../test.gif?width=20&height=30 we see only picture
without animation
On link such as ...../test.gif we see normal animation (but we need resize
it).
How to resolve this problem ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-view-animated-pictures-in-7-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello, I am interested in tracking who downloaded attachments from specific wiki pages. I saw this isn't available in the Stats app. Is this functionality available in any other module/extension?
Thanks,
Assia E. Alexandrova
Sr. Technology Strategist
Information Management Division
Fort Lauderdale Police Department
1300 West Broward Blvd.
Fort Lauderdale, Florida 33312
Tel.: (954) 828-5867
aalexandrova(a)fortlauderdale.gov<mailto:aalexandrova@fortlauderdale.gov>
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient, you are hereby notified that any disclosure, photocopying or distribution of these contents is unauthorized and prohibited by law. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received the e-mail in error; please immediately notify the sender by replying to this e-mail and placing "INCORRECT DESTINATION ADDRESS" in the subject line.
Hi,
We faced with next error on xwiki version 6.4-milestone-2 (it stable work ~1
year, but the number of users increased and problem appeared some weeks
ago):
At random time no one cannot access to any xwiki page (admins also) - in
interface we see message that we have no right to access this page.
In output log we find errors such as (pages in the log as well as users can
be different):
2015-09-02 07:13:02,630
[http://domainxwiki/xwiki/bin/jsx/AnnotationCode/Script?language=ru] ERROR
c.i.DefaultSecurityCacheLoader - Failed to load the cache in 5 attempts.
Giving up.
2015-09-02 07:13:02,631
[http://domainxwiki/xwiki/bin/jsx/AnnotationCode/Script?language=ru] ERROR
.a.DefaultAuthorizationManager - Failed to load rights for user
[xwiki:XWiki.testuser] on [xwiki:AnnotationCode.Script].
Only reboot helped us to avoid this error. But errors after some days appear
again.
How we can solve this problem?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-Failed-to-load-rights-for-user-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.