[xwiki-users] BaseObject altered exception

Shawn Lauzon lauzon at us.ibm.com
Fri Jan 13 03:07:07 UTC 2006


Thanks Ludovic,

It looks like there are twice as many entries for this user 
(msmctree at us.ibm.com) as there are for other users. I have no idea how 
that could have happened. Do you have a suggestion as to what I should do?

mysql> select * from xwikiobjects where 
xwo_name='XWiki.msmctreeatusibmcom'
+-------------+------------+--------------------------+-------------------+
| XWO_ID      | XWO_NUMBER | XWO_NAME                 | XWO_CLASSNAME |
+-------------+------------+--------------------------+-------------------+
|   291881179 |          0 | XWiki.msmctreeatusibmcom | XWiki.XWikiRights 
|
|  1324941773 |          1 | XWiki.msmctreeatusibmcom | XWiki.XWikiRights 
|
|  1952145028 |          0 | XWiki.msmctreeatusibmcom | XWiki.XWikiUsers |
|   -43849225 |          0 | XWiki.msmctreeatusibmcom | XWiki.XWikiRights 
|
|   810570729 |          1 | XWiki.msmctreeatusibmcom | XWiki.XWikiRights 
|
| -1245273624 |          0 | XWiki.msmctreeatusibmcom | XWiki.XWikiUsers |
+-------------+------------+--------------------------+-------------------+
6 rows in set (0.02 sec)

mysql> select * from xwikiobjects where xwo_name='XWiki.lauzonatusibmcom';
+------------+------------+------------------------+-------------------+
| XWO_ID     | XWO_NUMBER | XWO_NAME               | XWO_CLASSNAME     |
+------------+------------+------------------------+-------------------+
| 1783701788 |          0 | XWiki.lauzonatusibmcom | XWiki.XWikiRights |
|  445470158 |          1 | XWiki.lauzonatusibmcom | XWiki.XWikiRights |
| -632131037 |          0 | XWiki.lauzonatusibmcom | XWiki.XWikiUsers  |
+------------+------------+------------------------+-------------------+
3 rows in set (0.03 sec)

mysql> select xwd_id, xwd_fullname, xwd_name from xwikidoc where 
xwd_fullname='X
Wiki.msmctreeatusibmcom';
+------------+--------------------------+--------------------+
| xwd_id     | xwd_fullname             | xwd_name           |
+------------+--------------------------+--------------------+
|   44473918 | XWiki.msmctreeatusibmcom | msmctreeatusibmcom |
| 1378691490 | XWiki.msmctreeatusibmcom | msmctreeatusibmcom |
+------------+--------------------------+--------------------+
2 rows in set (0.19 sec)

mysql> select xwd_id, xwd_fullname, xwd_name from xwikidoc where 
xwd_fullname='X
Wiki.lauzonatusibmcom';
+-------------+------------------------+------------------+
| xwd_id      | xwd_fullname           | xwd_name         |
+-------------+------------------------+------------------+
| -1147220003 | XWiki.lauzonatusibmcom | lauzonatusibmcom |
+-------------+------------------------+------------------+
1 row in set (0.16 sec)

shawn.


Ludovic Dubost <ludovic at xwiki.com> wrote on 01/11/2006 03:40:49 PM:

> 
> 
> Hi Shawn,
> 
> What do you have in your xwikidoc and xwikiobject tables with these IDs 
> or document name ?
> The alteration means the ID that was saved does not correspond to the 
> calculated ID (which is based on a hashcode on the name). It could be 
> because the database (or something else) altered some characters in the 
> document name.
> 
> Ludovic
> 
> Shawn Lauzon a écrit :
> >
> > There is a single page on my XWiki installation that can't seem to be 
> > rendered. I can't delete it, access it, anything. Here's the 
exception:
> >
> > Error number 3202 in 3: Exception while reading document 
> > XWiki.msmctreeatusibmcom
> > Wrapped Exception: Error number 3212 in 3: Exception while loading 
> > object XWiki.msmctreeatusibmcom
> > Wrapped Exception: identifier of an instance of 
> > com.xpn.xwiki.objects.BaseObject altered from -43849225 to 291881179
> > com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while 
> > reading document XWiki.msmctreeatusibmcom
> > Wrapped Exception: Error number 3212 in 3: Exception while loading 
> > object XWiki.msmctreeatusibmcom
> > Wrapped Exception: identifier of an instance of 
> > com.xpn.xwiki.objects.BaseObject altered from -43849225 to 291881179
> >                 at 
> > com.xpn.xwiki.store.XWikiHibernateStore.
> loadXWikiDoc(XWikiHibernateStore.java:646)
> >                 at 
> > com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.
> java(Compiled 
> > Code))
> >                 at com.xpn.xwiki.XWiki.getDocument(XWiki.java(Inlined 
> > Compiled Code))
> >                 at com.xpn.xwiki.XWiki.getDocument(XWiki.java(Compiled 

> > Code))
> >                 at 
com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
> >                 at 
com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
> >                 at 
> > com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
> >                 at 
> > org.apache.struts.action.RequestProcessor.
> processActionPerform(RequestProcessor.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.doGet(ActionServlet.java:397)
> >                 at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >
> > shawn lauzon.
> > 
------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-
> users at objectweb.org mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> > For general help: mailto:sympa at objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: 
http://www.objectweb.org/wws
> > 
> 
> 
> -- 
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
> 
> 
> 
> --
> You receive this message as a subscriber of the xwiki-
> users at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xwiki.org/pipermail/users/attachments/20060112/7be628b8/attachment.html>


More information about the users mailing list