Hello,
I have some recurrent problems with the WatchList functionality, the
following exception occurs when the job generates the watchlist email :
[ERROR] Method getExternalURL threw exception for reference $udoc in
template XWiki.WatchListMessage at [5,71]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with
id [XWiki.WatchListMessage]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
[...]
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getExternalURL' in class com.xpn.xwiki.api.Document
threw exception java.lang.NullPointerException @
XWiki.WatchListMessage[5,78]
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286)
[....]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
... 7 more
Caused by: java.lang.NullPointerException
at
com.xpn.xwiki.doc.XWikiDocument.getExternalURL(XWikiDocument.java:838)
at com.xpn.xwiki.api.Document.getExternalURL(Document.java:497)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
I reinstalled XE 1.5.1, reimported the .xar for watchlist (1.9) and
scheduler (1.5) applications, removed all scheduled jobs and restarted
tomcat container, but still the same. I believed it might be caused by a
"corrupted" or invalid watched document, but I don't how to determine if
this is really the cause and which document it could be ...
BTW, I wanted to test by changing the notification email format (HTML or
TEXT seem to be possible choices), but I didn't find how to update this
parameter ...
Any help welcome,
Best regards,
Jeremie
Hi,
I'm new to XWiki and trying to dig into the API usage. My goal is to write a
little access client (for educational purpose) like create new users
adding/edit pages and so on.
The API documentation is al bit confusing to me. I didn't know where to
start an get my initial "XWiki" object to interact/access the wiki and it's
api funktions.
there ist an xwiki object "com.xpn.xwiki.api.XWiki" but the constructor
seems to get also an xwiki object wich i don't even have
XWiki (com.xpn.xwiki.XWiki xwiki, com.xpn.xwiki.XWikiContext context)
where do i get these object or where is the actual or right startig point?
sry if this is asket before. but i didn't find the answer on the xwiki doku
pages (there're more dealing with the velocety stuff) neither an the mailing
list (as you can imagine im getting a huge amount of unrelated post when i
try to search xwiki :( )
hope some one can give me a little hint on this
best regards
Hello,
How can I use the toc - command : #toc("2" "3" "") in a FAQ Site.
I want to display the table of contents in the textfield of questions
or answers, so that the content-directory appears on the area of the
questions
or answers.
For example :
Questions
1.1. Title
1.2 Title 2
Anwers:
*table of
contents*
2.1 title 2.1
2.2 title2 2.2
2.3 title 3 2.3
Thank you,
Rez
--
View this message in context: http://n2.nabble.com/table-of-contents-in-a-faq-tp1082411p1082411.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
My client has asked if there is anyway to increase the maximum number of
characters in an attachment name. It appears to display up to 25 characters
and then a ~.jpg or whatever. He wants the full name displayed.
Thanks
Edward
The XWiki development team is pleased to announce the release of XWiki Watch 1.1
Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download !
This is the first milestone of the 1.1 version of XWiki Watch which focuses on
the user experience by improving the user interface and performance of the Watch
Reader. From the changes in this release, we mention:
* the redesign and better user interaction for the article list, with a more
friendly, non-blocking loading mechanism and in-place forms (XWATCH-194, XWATCH-198)
* live grids for the articles table in the feed pages in the wiki view (XWATCH-208)
* the forbidden actions are not displayed in the Watch Reader interface
anylonger (XWATCH-95)
* a first iteration in the performance amelioration of Watch Reader by using
optimised queries (XWATCH-201, XWATCH-202, XWATCH-203)
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWatch11M1
Thanks
-The XWiki dev team
Hi ,
I have installed Import-Export application (downloaded and imported as
XAR), but it seems not working.
Here is what I found out while using this app:
• Selective Export: – I can select certain space from a combobox, but no
pages from this space appear to choose them.
• Export by date: - I cannot select spaces, but if I input one space and
click on the export button, it brings only a couple words of code on the
page : $exp.export($context,$xwiki,$request,$response)
• Export a single page: I can choose a separate page with help of light
box, but it comes to XML SyntaxError.
Catalina.out:
[ERROR] Left side ($action) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
Admin.Export [line 2, column 16]
[ERROR] Left side ($action) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
Admin.Export [line 11, column 20]
[ERROR] Left side ($action) of '==' operation has null value. If a
reference, it may not be in the context. Operation not possible.
Admin.Export [line 19, column 20]
• Import a single page: – it displays the source code (S. screenshots)
Is there any step that I’m missing?
Our environment:
- XE 1.5 ( I have tried with 1.5.1. as well)
- Tomcat 6.0.16
- JDK 1.6 Update 7
- MySQL Community Server 5.0.51a
- MySQL Java Connector 5.0.8
Thanks in advance,
Alla
http://n2.nabble.com/file/n1079545/screenshot_export_from_date.png
screenshot_export_from_date.png
http://n2.nabble.com/file/n1079545/screenshot_export_import_app.png
screenshot_export_import_app.png
http://n2.nabble.com/file/n1079545/screenshot_export_page.png
screenshot_export_page.png
http://n2.nabble.com/file/n1079545/screenshot_import_page.png
screenshot_import_page.png
--
View this message in context: http://n2.nabble.com/Export-Import-Application-tp1079545p1079545.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
XE 1.5, 1.5.1: I often (but not every time) get the “Exception while
loading lock” when I’m editing a page and decide to cancel action without
saving the changes.
Any ideas why this happens and how to avoid it?
I looked into the xwikilock table – it was not really an entry with
XWL_DOC_ID for edited document (in this case 1291273995).
---
Error number 13007 in 3: Exception while loading lock
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiLock#1291273995]
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiLock#1291273995]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1654)
at com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:432)
at com.xpn.xwiki.doc.XWikiDocument.getLock(XWikiDocument.java:3604)
at com.xpn.xwiki.web.CancelAction.action(CancelAction.java:60)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiLock#1291273995]
at
org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1647)
at com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:432)
at com.xpn.xwiki.doc.XWikiDocument.getLock(XWikiDocument.java:3604)
at com.xpn.xwiki.web.CancelAction.action(CancelAction.java:60)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Thanks in advance,
Alla
--
View this message in context: http://n2.nabble.com/XwikiException-while-loading-lock-tp1082397p1082397.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I would like a wiki please, NETCIPIA doesn't seem to satisfy. This wiki
will be the host for my remixes, game mods, and study guides, among other
things. I would like for it to be called Azquesage
(azquesage.myxwiki.org). I plan on adding plugins, skins, applications,
&c. if possible. If not, so be it. My username is SwooshyCueb.
Mani Thanx,
Swooshy
--
Yes, I know that GodCube is n00bish, but it doesn't get much spam.
You may have gotten e-mail from one of my other addresses:
merrell88shade(a)comcast.net
merrellalt(a)comcast.net
merrell88shade(a)hotmail.com
You may know me as:
Merrell
Shade
Tweak
GodCube
SwooshyCueb
P62
GCP
IYWN Representative