I'm the XWiki bug man this week; got some time off from fighting fires.
Here's another:
I note that (at least) for pages with Javascript in their content,
XWikiDocument.getLinkedPages() returns entries that are not XWiki links
but subscript expressions from the Javascript code. This happens
regardless of whether there is a {pre} tag surrounding the Javascript in
the document.
I suspect it's because there's just a simple regular expression search
through the un-rendered content.
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
The xwikidoc table in the database has a column, xwd_fullname, which is
not, as I suspected it to be, just an alias for xwd_web + '.' +
xwd_name, but an actual column. The code, however, seems to ignore this
field, at least when invoking the view command on it.
Does this field actually have a purpose? If so, what? If it's for
searching performance, could a database constraint be added to it so
that its value is always correct? I suppose that I'll have to admit
that the reason I've run into this is that I naively changed the field
on one document, not realizing that it wasn't just a handy composite
field. I don't remember all the details, but I do remember that a
document with the old name still appeared to exist even though there was
no row in the table with that value in the xwd_fullname column.
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
As a member of an organization whose name has an ampersand in it, I am
pleased to say that I am discovering many of the ways that XML and HTML
can choke on it. This is because as a developer, I thoroughly enjoy
finding bugs (in other people's code).
However, I am spending more time than I want (greater than zero) using
my admin privileges to clean up after users who shouldn't have to worry
about what kind of text they enter into their documents - in particular,
they shouldn't have to know that every time they type the company name,
it has to be AT&T.
First the document headings in the RSS feeds caused readers to fail,
then the CSS validator refuses even to look at a document, and now the
Tomcat logfile is growing by dozens of megabytes per minute on a system
with ten or fewer active users. All because somebody innocently entered
"AT&T" somewhere in a document.
I have found several methods for transforming text, such as
$xwiki.getURLEncoded(String) and $doc.getEscapedContent() (which
apparently hides the entire content of a document from Velocity, but not
from Radeox). There is also the Javascript in some form documents that
makes sure that accented characters don't get into document names.
Nowhere, however, have I yet found a method that will generally escape
things in user-entered text that will break XML parsing.
Is there such a thing? I note several regular expressions in some of
the config files for Radeox, etc; there ought - somewhere - to be a
general method for doing this, n'est-ce pas?
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
Hi,
I will be at the CISIS conference (http://www.cisis.com.cn/) next
week. I will share the stand of ObjectWeb (A112) with Exo Platform and
representative of ObjectWeb. I will not be every day on the stand, so
send me a mail or call me (13940880590) to tell me when you are
coming. This conference is in Dalian (Liaoning province, China).
If you want to come to discuss about wikis, XWiki, Open Source, you are welcome.
And, i'm in China until maybe the end of August, so if you want to
talk about XWiki and meet, contact me.
Jérémi
When setting up access rights for a space, in the access rights
editor, there's always a line that reads "XWiki.XWikiGlobalRights".
What does this represent? Is there a global rights setting somewhere?
Also, is there any way to give all rights instead of specifying:
view, edit, comment, admin
I've also seen reference to a right called "programming". Does this
exist? Are there others? Sorry for the barage of questions. Just
trying to get my head around it all.
-jeff
Thanks for you help. I was able to go in as superadmin. I went and added the
admin rights back again. However, I don't know why the XWiki.XWikiAllGroup
permission isn't working. If I logged on as a regular user, I still get "You are
not allowed to view this document or perform this action." Also, on the right
upper corner, where it should display after login "Hello <name>," it's now
displaying "Hello $docuser.display("first_name","view", $objuser)."
I don't know what I did wrong. This is what I did in the XWiki Access Right
Groups: XWiki.XWikiAllGroup
Access Levels: view, edit
Users:
Allow/Deny: Allow
Under User Administration Groups, I do have XWiki.XWikiAllGroup and there are
the list of members.
Thanks a lot for the help!
-----Original Message-----
From: Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
Sent: Tuesday, June 13, 2006 12:39 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Xwiki Access Right help
Please enable 'superadmin' with somepassword in the application. This can be
defined in xwiki.cfg.
Then you can use this to restore your account and admin privilages.
eg.
xwiki.superadminpassword=toto "
.. to activate the "superadmin" user with password "toto"
HTH,
Srini
On 6/13/06, schen8(a)partners.org < <mailto:schen8@partners.org>
schen8(a)partners.org> wrote:
Hi,
I am the admin of our dept wiki and I did something stupid. I accidentally
deleted myself from the Access Right list. I have limited access to a lot of
pages now and I can't add myself back. Any help is appreciated. Thanks!
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe: mailto: <mailto:xwiki-users-unsubscribe@objectweb.org>
xwiki-users-unsubscribe(a)objectweb.org
For general help: mailto: sympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hello,
I've tried to install the tag cloud scripts into my installation of
XWiki, but I cannot seem to get them to work? I created the
XWiki.TagScript and XWiki.TagMacro pages. Is there something else I
need to besides just create them? Do I need to set any other settings?
Do I need any other pages/scripts?
Thanks,
-jeff
Apparently this feature is "missing" in 0.9.840. I don't know what's in
the source versions now.
I got around this problem by assigning privileges for the group to a page,
and then checking for access to that page (less code).
Ludovic sent me the following script, which I believe is a more direct
answer to your question:
Currently there is no xwiki API for groups (it's missing).. But this works:
#set($ismember = false)
#set($groupdoc = $xwiki.getDocument("XWiki.MyGroup"))
#set($memberobj = $groupdoc.getObjects("XWiki.XWikiGroups"))
#foreach($mobj in $memberobj)
#set ($member = $groupdoc.display("member", "view", $mobj))
#if($member == $context.user)
#set($ismember = true)
#end
#end
#if($ismember==true)
do your stuff
#end
Don't forget to flush the cache after changing the members in a group.
It's another "bug" in 0.9.840.
Good luck!
-Nate
-----Original Message-----
From: Jeff Ousley [mailto:jousley@gmail.com]
Sent: Wednesday, June 14, 2006 7:12 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] check for group membership
Hello,
Is there a way via velocity to check whether or not a user has
membership in a particular group? Could someone provide or point me to
examples of this.
Thanks!
-jeff
Hello,
I now know how XWD_ID is created, but I'm not seeing how XWA_ID is
created for the three attachment tables. What is this column based on?
As I said in my other posts, I'm trying to create some backend utility
scripts. So far everything works, except where attachments are
concerned.
Thanks!
-jeff
Hello, I would like to detect orphaned pages, but not only pages without parent but also pages with a non-existent/deleted parent page.
I do something like this (in a loop on all docs) in velocity:
[WIKI]
$xwiki.getDocument($bentrydoc.getParent()).getName()
[/WIKI]
Problem is: $bentrydoc.getParent() refers to a page that was deleted, but still getName() returns the page name, and I couldn't find a .exists() member on Document object ...
How can I achieve this ?
Thks,
Jérémie
-----------------------------
I restarted Tomcat services, but I'm still getting the same message. Please
help..
Thanks!
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Wednesday, June 14, 2006 8:39 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Xwiki Access Right help
No,
I mean clear the cache from the wiki. Restarting tomcat will do it
Ludovic
Chen, Shu-Dan a écrit :
> I did that, but it still didn't work. I still get the same message as I
> described below. Just so I am not misunderstanding what you're saying, you
mean
> to clear the cache from the browser right?
>
> Further help would be very much appreciated! Thanks...
>
> -----Original Message-----
> From: Ludovic Dubost [mailto:ludovic@xwiki.com]
> Sent: Tuesday, June 13, 2006 5:04 PM
> To: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] Xwiki Access Right help
>
>
>
> You might want to restart or flush the cache. In XWiki 0.9.840 there are
> some cache issues with groups
>
> Ludovic
>
> Chen, Shu-Dan a écrit :
>
>> Thanks for you help. I was able to go in as superadmin. I went and
>> added the admin rights back again. However, I don't know why the
>> XWiki.XWikiAllGroup permission isn't working. If I logged on as a
>> regular user, I still get "You are not allowed to view this document
>> or perform this action." Also, on the right upper corner, where it
>> should display after login "Hello <name>," it's now displaying "Hello
>> $docuser.display("first_name","view", $objuser)."
>>
>> I don't know what I did wrong. This is what I did in the XWiki Access
>> Right
>>
>> Groups: XWiki.XWikiAllGroup
>> Access Levels: view, edit
>> Users:
>> Allow/Deny: Allow
>>
>> Under User Administration Groups, I do have XWiki.XWikiAllGroup and
>> there are the list of members.
>>
>> Thanks a lot for the help!
>>
>> -----Original Message-----
>> *From:* Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
>> *Sent:* Tuesday, June 13, 2006 12:39 PM
>> *To:* xwiki-users(a)objectweb.org
>> *Subject:* Re: [xwiki-users] Xwiki Access Right help
>>
>> Please enable 'superadmin' with somepassword in the application.
>> This can be defined in xwiki.cfg.
>> Then you can use this to restore your account and admin privilages.
>> eg.
>> xwiki.superadminpassword=toto "
>> .. to activate the "*superadmin*" user with password "toto"
>>
>>
>> HTH,
>> Srini
>>
>> On 6/13/06, *schen8(a)partners.org <mailto:schen8@partners.org>* <
>> schen8(a)partners.org <mailto:schen8@partners.org>> wrote:
>>
>> Hi,
>>
>> I am the admin of our dept wiki and I did something stupid. I
>> accidentally deleted myself from the Access Right list. I have
>> limited access to a lot of pages now and I can't add myself
>> back. Any help is appreciated. Thanks!
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the
>> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
>> mailing list.
>> To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
>> <mailto:xwiki-users-unsubscribe@objectweb.org>
>> For general help: mailto:sympa@objectweb.org
>> <mailto:sympa@objectweb.org>?subject=help
>> ObjectWeb mailing lists service home page:
>> http://www.objectweb.org/wws
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
>>
> mailing list.
>
>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>> For general help: mailto:sympa@objectweb.org?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
I did that, but it still didn't work. I still get the same message as I
described below. Just so I am not misunderstanding what you're saying, you mean
to clear the cache from the browser right?
Further help would be very much appreciated! Thanks...
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Tuesday, June 13, 2006 5:04 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] Xwiki Access Right help
You might want to restart or flush the cache. In XWiki 0.9.840 there are
some cache issues with groups
Ludovic
Chen, Shu-Dan a écrit :
> Thanks for you help. I was able to go in as superadmin. I went and
> added the admin rights back again. However, I don't know why the
> XWiki.XWikiAllGroup permission isn't working. If I logged on as a
> regular user, I still get "You are not allowed to view this document
> or perform this action." Also, on the right upper corner, where it
> should display after login "Hello <name>," it's now displaying "Hello
> $docuser.display("first_name","view", $objuser)."
>
> I don't know what I did wrong. This is what I did in the XWiki Access
> Right
>
> Groups: XWiki.XWikiAllGroup
> Access Levels: view, edit
> Users:
> Allow/Deny: Allow
>
> Under User Administration Groups, I do have XWiki.XWikiAllGroup and
> there are the list of members.
>
> Thanks a lot for the help!
>
> -----Original Message-----
> *From:* Srinivasa Pulugurtha [mailto:pulugurtha@gmail.com]
> *Sent:* Tuesday, June 13, 2006 12:39 PM
> *To:* xwiki-users(a)objectweb.org
> *Subject:* Re: [xwiki-users] Xwiki Access Right help
>
> Please enable 'superadmin' with somepassword in the application.
> This can be defined in xwiki.cfg.
> Then you can use this to restore your account and admin privilages.
> eg.
> xwiki.superadminpassword=toto "
> .. to activate the "*superadmin*" user with password "toto"
>
>
> HTH,
> Srini
>
> On 6/13/06, *schen8(a)partners.org <mailto:schen8@partners.org>* <
> schen8(a)partners.org <mailto:schen8@partners.org>> wrote:
>
> Hi,
>
> I am the admin of our dept wiki and I did something stupid. I
> accidentally deleted myself from the Access Right list. I have
> limited access to a lot of pages now and I can't add myself
> back. Any help is appreciated. Thanks!
>
>
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org <mailto:xwiki-users@objectweb.org>
> mailing list.
> To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
> <mailto:xwiki-users-unsubscribe@objectweb.org>
> For general help: mailto:sympa@objectweb.org
> <mailto:sympa@objectweb.org>?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Dear all,
I am still looking for a solution to this problem I have (see below). The
trouble happens in what seems to be a basic use of the XWiki. Does not
somebody else experienced the same problem? Any insights would be
welcome...The wiki is still public at http://biodiversite.xwiki.com.
I have found what seems to be another bug. When I login as guest,
password guest, the xwiki front page, welcome me as Alexandre-Benjamin,
somebody I do not know at all!!
All ideas welcome,
---------------
dear all,
I am having trouble restricting the access of a document to my XWiki
registered users only.
If I apply the edit, view rights to XWiki.XWikiAllGroup at the last document
published, I get the following error message when logout :
Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Invocation of method 'formatDate' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
While when I do the same for an older document, this document is
effectively hidden when I logout but the others appear in double!
Any idea?
Many thanks in advance,
--
Arnaud Béchet
Station biologique de la Tour du Valat
Le Sambuc - 13 200 Arles - France
Tel : +33 (0)4 90 97 29 73
Fax : +33 (0)4 90 97 20 19
www.tourduvalat.org
Yep.
$context.xWiki.groupService.listGroupsForUser($context.user,
$context.context)
[for more detail, check the mail archive for emails from me, as I had a
similar query].
-----Original Message-----
From: Jeff Ousley [mailto:jousley@gmail.com]
Sent: 14 June 2006 06:12
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] check for group membership
Hello,
Is there a way via velocity to check whether or not a user has
membership in a particular group? Could someone provide or point me to
examples of this.
Thanks!
-jeff
Hello,
Is there a way via velocity to check whether or not a user has
membership in a particular group? Could someone provide or point me to
examples of this.
Thanks!
-jeff
All,
I'm looking for this answer and not finding it. Obviously I'm looking
in the wrong place. I need to create sql scripts to move pages in the
database. I cannot figure out how XWD_ID is being created. Does anyone
know of a script, or snippet of java code, that I can use to create
that value?
Thanks!
-jeff
Hi,
I am the admin of our dept wiki and I did something stupid. I accidentally deleted myself from the Access Right list. I have limited access to a lot of pages now and I can't add myself back. Any help is appreciated. Thanks!
Hi, Ludovic,
Bravo! The performance issue is THE worry I have before getting more important tasks (and groups) on XWiki.
Wei-hsing
-------------- Original message ----------------------
From: Ludovic Dubost <ludovic(a)xwiki.com>
>
> Hi,
>
> We are still getting some spam attack. I'm looking to plan the upgrade
> to xwiki.com very soon (the new version has big performance improvements).
> This would also allow to start testing the cluster mode
>
> Ludovic
>
> Brian Knorr a écrit :
> > Are all the xwiki.com <http://xwiki.com> sites down?
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
>
(Apologies for the earlier message that was signed. I have repeatedly hit
Microsoft Outlook into submission, but it still decides it wants to sign
messages some times)
I got the below error when saving a document.
I got the same error (or close to it) when trying to save an attachment to
this page (which has a number of attachments, each of which has a number of
versions). I've hidden the name of the attachment (sorry - necessary
obfuscation). However, it was an excel spreadsheet where the name has
spaces in it (if it matters)
Platform is JBoss latest being accessed through a mod_jk plug-in on Apache.
Any ideas?
-Adrian
A problem occurred while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 3201 in 3: Exception while saving document PM.Partners.MMR
Wrapped Exception: Error number 3234 in 3: Exception while saving
attachments attachment list of document PM.Partners.MMR
Wrapped Exception: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document PM.Partners.MMR
Wrapped Exception: Error number 3234 in 3: Exception while saving
attachments attachment list of document PM.Partners.MMR
Wrapped Exception: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:540)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3234 in 3: Exception while saving
attachments attachment list of document PM.Partners.MMR
Wrapped Exception: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateSto
re.java:1366)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:479)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.j
ava:1404)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateSto
re.java:1358)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:479)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.NonUniqueObjectException: a different object with the same
identifier value was already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
org.hibernate.engine.PersistenceContext.checkUniqueness(PersistenceContext.j
ava:586)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(Defau
ltSaveOrUpdateEventListener.java:254)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(De
faultSaveOrUpdateEventListener.java:214)
at
org.hibernate.event.def.DefaultUpdateEventListener.performSaveOrUpdate(Defau
ltUpdateEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(Defa
ultSaveOrUpdateEventListener.java:69)
at org.hibernate.impl.SessionImpl.update(SessionImpl.java:495)
at org.hibernate.impl.SessionImpl.update(SessionImpl.java:486)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.j
ava:1394)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateSto
re.java:1358)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:479)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
I got the below error when saving a document.
I got the same error (or close to it) when trying to save an attachment to
this page (which has a number of attachments, each of which has a number of
versions). I've hidden the name of the attachment (sorry - necessary
obfuscation). However, it was an excel spreadsheet where the name has
spaces in it (if it matters)
Platform is JBoss latest being accessed through a mod_jk plug-in on Apache.
Any ideas?
-Adrian
A problem occurred while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 3201 in 3: Exception while saving document PM.Partners.MMR
Wrapped Exception: Error number 3234 in 3: Exception while saving
attachments attachment list of document PM.Partners.MMR
Wrapped Exception: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document PM.Partners.MMR
Wrapped Exception: Error number 3234 in 3: Exception while saving
attachments attachment list of document PM.Partners.MMR
Wrapped Exception: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:540)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3234 in 3: Exception while saving
attachments attachment list of document PM.Partners.MMR
Wrapped Exception: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateSto
re.java:1366)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:479)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving
attachments for attachment <hidden> of document PM.Partners.MMR
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.j
ava:1404)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateSto
re.java:1358)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:479)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.NonUniqueObjectException: a different object with the same
identifier value was already associated with the session:
[com.xpn.xwiki.doc.XWikiAttachment#-741438755]
at
org.hibernate.engine.PersistenceContext.checkUniqueness(PersistenceContext.j
ava:586)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(Defau
ltSaveOrUpdateEventListener.java:254)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(De
faultSaveOrUpdateEventListener.java:214)
at
org.hibernate.event.def.DefaultUpdateEventListener.performSaveOrUpdate(Defau
ltUpdateEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(Defa
ultSaveOrUpdateEventListener.java:69)
at org.hibernate.impl.SessionImpl.update(SessionImpl.java:495)
at org.hibernate.impl.SessionImpl.update(SessionImpl.java:486)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.j
ava:1394)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateSto
re.java:1358)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:479)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.jav
a:557)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:560)
at com.xpn.xwiki.XWikiService.actionSave(XWikiService.java:445)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:155)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces
sor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal
ve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci
ationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)