Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7727

Remove warning about absolute XClass reference during Annotation migration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0-rc-1
    • Fix Version/s: 4.0
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:

      • setup a 2.7.2 XE on MySQL
      • setup a 4.0 RC1 XE on MySQL.

      Then you access it for the first time on 4.0, the migrations will start. I get the following stack trace:

      2012-04-13 15:50:07.056:INFO::----------------------------------
      2012-04-13 15:50:07.058:INFO::Server started, you can now open http://localhost:8080/ in your browser to access your wiki.
      2012-04-13 15:50:07.058:INFO::----------------------------------
      2012-04-13 15:50:16,379 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - Running storage schema updates and migrations 
      2012-04-13 15:50:16,393 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - Current storage version = [15429] 
      2012-04-13 15:50:16,393 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - List of migrations that will be executed: 
      2012-04-13 15:50:16,393 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager -   R40000XWIKI6990 - Convert document IDs to use the new improved hash algorithm. 
      2012-04-13 15:50:16,393 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager -   R40001XWIKI7540 - See http://jira.xwiki.org/browse/XWIKI-7540 
      2012-04-13 15:50:18,374 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - 20 schema updates required. 
      2012-04-13 15:50:19,345 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - Successfully acquired change log lock 
      2012-04-13 15:50:19,880 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - Creating database history table with name: `DATABASECHANGELOG` 
      2012-04-13 15:50:19,886 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - Reading from `DATABASECHANGELOG` 
      2012-04-13 15:50:19,888 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - Reading from `DATABASECHANGELOG` 
      2012-04-13 15:50:19,974 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-000::dgervalle ran successfully in 13ms 
      2012-04-13 15:50:20,180 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-001::dgervalle ran successfully in 10ms 
      2012-04-13 15:50:20,204 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-002::dgervalle ran successfully in 13ms 
      2012-04-13 15:50:20,387 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-003::dgervalle ran successfully in 178ms 
      2012-04-13 15:50:20,431 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-004::dgervalle ran successfully in 17ms 
      2012-04-13 15:50:20,450 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-005::dgervalle ran successfully in 6ms 
      2012-04-13 15:50:20,479 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-006::dgervalle ran successfully in 16ms 
      2012-04-13 15:50:20,707 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-007::dgervalle ran successfully in 225ms 
      2012-04-13 15:50:20,724 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-008::dgervalle ran successfully in 13ms 
      2012-04-13 15:50:20,743 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-009::dgervalle ran successfully in 12ms 
      2012-04-13 15:50:20,823 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-010::dgervalle ran successfully in 66ms 
      2012-04-13 15:50:20,891 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-011::dgervalle ran successfully in 64ms 
      2012-04-13 15:50:20,909 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-012::dgervalle ran successfully in 9ms 
      2012-04-13 15:50:20,925 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-013::dgervalle ran successfully in 8ms 
      2012-04-13 15:50:20,946 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-014::dgervalle ran successfully in 18ms 
      2012-04-13 15:50:20,960 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-015::dgervalle ran successfully in 8ms 
      2012-04-13 15:50:20,981 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-016::dgervalle ran successfully in 7ms 
      2012-04-13 15:50:20,991 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-017::dgervalle ran successfully in 8ms 
      2012-04-13 15:50:21,011 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-018::dgervalle ran successfully in 13ms 
      2012-04-13 15:50:21,030 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - ChangeSet liquibase.xml::R40000-019::dgervalle ran successfully in 16ms 
      2012-04-13 15:50:21,042 [http://localhost:8080/xwiki/bin/view/Main/] INFO  c.x.x.s.m.liquibase            - Successfully released change log lock 
      2012-04-13 15:50:21,042 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - Running migration [R40000XWIKI6990] with version [40000] 
      2012-04-13 15:50:21,131 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 274 document IDs to be converted. 
      2012-04-13 15:50:21,219 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 213 object IDs to be converted. 
      2012-04-13 15:50:21,267 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 3 custom mapped classes to be processed. 
      2012-04-13 15:50:21,281 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 document statistics IDs to be converted. 
      2012-04-13 15:50:21,286 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 referer statistics IDs to be converted. 
      2012-04-13 15:50:21,305 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Retrieved 0 visit statistics IDs to be converted. 
      2012-04-13 15:50:21,306 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Converting 274 document IDs in 5 tables and 0 collection tables... 
      2012-04-13 15:50:21,836 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - All document IDs has been converted successfully. 
      2012-04-13 15:50:21,837 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - Converting 213 object IDs in 11 tables, 3 custom mapped tables and 3 collection tables... 
      2012-04-13 15:50:27,206 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - All object IDs has been converted successfully. 
      2012-04-13 15:50:27,207 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No document statistics IDs to convert, skipping. 
      2012-04-13 15:50:27,207 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No referer statistics IDs to convert, skipping. 
      2012-04-13 15:50:27,207 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40000XWIKI6990DataMigration - [R40000XWIKI6990] - No visit statistics IDs to convert, skipping. 
      2012-04-13 15:50:27,253 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - New storage version is now [40000] 
      2012-04-13 15:50:27,253 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - Running migration [R40001XWIKI7540] with version [40001] 
      2012-04-13 15:50:27,253 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40001XWIKI7540DataMigration - Computing the work to be done. 
      2012-04-13 15:50:27,327 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40001XWIKI7540DataMigration - There is a total of 1 documents to migrate. 
      2012-04-13 15:50:27,328 [http://localhost:8080/xwiki/bin/view/Main/] INFO  h.R40001XWIKI7540DataMigration - Migrating document [xwiki:Main.MigrationTEst] 
      2012-04-13 15:50:27,445 [http://localhost:8080/xwiki/bin/view/Main/] WARN  c.x.x.o.BaseCollection         - Absolute XClass reference including a wiki reference (xwiki) used for an XObject class reference. The reference has been changed to relative. 
      java.lang.Throwable: null
      	at com.xpn.xwiki.objects.BaseCollection.setXClassReference(BaseCollection.java:208) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.objects.BaseObject.setXClassReference(BaseObject.java:113) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.getMigratedObject(R40001XWIKI7540DataMigration.java:290) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.processObjects(R40001XWIKI7540DataMigration.java:258) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.doInHibernate(R40001XWIKI7540DataMigration.java:204) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1206) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1292) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration.hibernateMigrate(R40001XWIKI7540DataMigration.java:113) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:586) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:511) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:458) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:386) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:664) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:811) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:744) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:726) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1430) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1473) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2207) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2239) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1106) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:786) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:734) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:395) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:482) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api-2.5.jar:2.5]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at java.lang.Thread.run(Thread.java:679) [na:1.6.0_22]
      2012-04-13 15:50:27,451 [http://localhost:8080/xwiki/bin/view/Main/] WARN  c.x.x.o.BaseCollection         - Absolute XClass reference including a wiki reference (xwiki) used for an XObject class reference. The reference has been changed to relative. 
      java.lang.Throwable: null
      	at com.xpn.xwiki.objects.BaseCollection.setXClassReference(BaseCollection.java:208) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.objects.BaseObject.setXClassReference(BaseObject.java:113) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.getMigratedObject(R40001XWIKI7540DataMigration.java:290) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.processObjects(R40001XWIKI7540DataMigration.java:258) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.doInHibernate(R40001XWIKI7540DataMigration.java:204) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1206) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1292) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration.hibernateMigrate(R40001XWIKI7540DataMigration.java:113) [xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:586) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:511) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:458) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:386) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:664) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:811) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:744) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:726) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1430) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1473) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2207) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2239) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1106) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:786) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.<init>(XWiki.java:734) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:395) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:482) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts-1.2.9.jar:1.2.9]
      	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts-1.2.9.jar:1.2.9]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [servlet-api-2.5.jar:2.5]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5.jar:2.5]
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) [xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) [xwiki-platform-wysiwyg-server-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.0-rc-1.jar:na]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) [jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.Server.handle(Server.java:346) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) [jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) [jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      	at java.lang.Thread.run(Thread.java:679) [na:1.6.0_22]
      2012-04-13 15:50:27,573 [http://localhost:8080/xwiki/bin/view/Main/] INFO  .HibernateDataMigrationManager - New storage version is now [40001] 
      2012-04-13 15:50:31,568 [http://localhost:8080/xwiki/bin/view/Main/] WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:Main.WebHome@2,42
      

      Also I don't think that "dgervalle" should appear in the console output.

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              sorinello Sorin Burjan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: