java.lang.Throwable: null

XWiki.org JIRA | Sorin Burjan | 5 years ago
  1. 0

    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: {code} 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 {code} Also I don't think that "dgervalle" should appear in the console output.

    XWiki.org JIRA | 5 years ago | Sorin Burjan
    java.lang.Throwable: null
  2. 0

    Steps to reproduce: * login, create a page, add text and save page * add annotations. you will get the follwoing stacktrace when adding an annotation {code} 2012-04-19 16:55:10,586 [http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Main/pages/AnnotationsTest/annotations?media=json] 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-20120419.105949-227.jar:na] at com.xpn.xwiki.objects.BaseObject.setXClassReference(BaseObject.java:113) [xwiki-platform-legacy-oldcore-4.0-20120419.105949-227.jar:na] at com.xpn.xwiki.doc.XWikiDocument.createXObject(XWikiDocument.java:2050) [xwiki-platform-legacy-oldcore-4.0-20120419.105949-227.jar:na] at org.xwiki.annotation.io.internal.DefaultIOService.addAnnotation(DefaultIOService.java:125) [xwiki-platform-annotation-io-4.0-20120419.095922-253.jar:na] at org.xwiki.annotation.internal.DefaultAnnotationService.addAnnotation(DefaultAnnotationService.java:103) [xwiki-platform-annotation-core-4.0-20120419.095710-256.jar:na] at org.xwiki.annotation.rest.internal.AnnotationsRESTResource.doPostAnnotation(AnnotationsRESTResource.java:171) [xwiki-platform-annotation-rest-4.0-20120419.095950-253.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_22] at org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.internalInvoke(AbstractMethodWrapper.java:171) [org.restlet.ext.jaxrs-2.0.13.jar:na] at org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(ResourceMethod.java:291) [org.restlet.ext.jaxrs-2.0.13.jar:na] at org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:1043) [org.restlet.ext.jaxrs-2.0.13.jar:na] at org.restlet.ext.jaxrs.JaxRsRestlet.handle(JaxRsRestlet.java:792) [org.restlet.ext.jaxrs-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Router.doHandle(Router.java:500) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Router.handle(Router.java:740) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:154) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114) [org.restlet-2.0.13.jar:na] at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:75) [org.restlet-2.0.13.jar:na] at org.restlet.Application.handle(Application.java:391) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Router.doHandle(Router.java:500) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Router.handle(Router.java:740) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Router.doHandle(Router.java:500) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Router.handle(Router.java:740) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.doHandle(Filter.java:159) [org.restlet-2.0.13.jar:na] at org.restlet.routing.Filter.handle(Filter.java:206) [org.restlet-2.0.13.jar:na] at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114) [org.restlet-2.0.13.jar:na] at org.restlet.Component.handle(Component.java:391) [org.restlet-2.0.13.jar:na] at org.restlet.Server.handle(Server.java:491) [org.restlet-2.0.13.jar:na] at org.restlet.engine.ServerHelper.handle(ServerHelper.java:74) [org.restlet-2.0.13.jar:na] at org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:153) [org.restlet-2.0.13.jar:na] at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1031) [org.restlet.ext.servlet-2.0.13.jar:na] 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 org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:79) [xwiki-platform-wysiwyg-server-4.0-SNAPSHOT.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-20120419.095146-259.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-20120419.093835-268.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-20120419.093835-268.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.content(HttpConnection.java:1065) [jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) [jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) [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] {code}

    XWiki.org JIRA | 5 years ago | Sorin Burjan
    java.lang.Throwable: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Throwable

      null

      at com.xpn.xwiki.objects.BaseCollection.setXClassReference()
    2. com.xpn.xwiki
      BaseObject.setXClassReference
      1. com.xpn.xwiki.objects.BaseCollection.setXClassReference(BaseCollection.java:208)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      2. com.xpn.xwiki.objects.BaseObject.setXClassReference(BaseObject.java:113)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      2 frames
    3. org.xwiki.annotation
      R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.doInHibernate
      1. org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.getMigratedObject(R40001XWIKI7540DataMigration.java:290)[xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      2. org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.processObjects(R40001XWIKI7540DataMigration.java:258)[xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      3. org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration$DoWorkOnDocumentHibernateCallback.doInHibernate(R40001XWIKI7540DataMigration.java:204)[xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      3 frames
    4. com.xpn.xwiki
      XWikiHibernateBaseStore.executeWrite
      1. com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1206)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      2. com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1292)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      2 frames
    5. org.xwiki.annotation
      R40001XWIKI7540DataMigration.hibernateMigrate
      1. org.xwiki.annotation.io.internal.migration.hibernate.R40001XWIKI7540DataMigration.hibernateMigrate(R40001XWIKI7540DataMigration.java:113)[xwiki-platform-annotation-io-4.0-rc-1.jar:na]
      1 frame
    6. com.xpn.xwiki
      XWikiAction.execute
      1. com.xpn.xwiki.store.migration.hibernate.AbstractHibernateDataMigration.migrate(AbstractHibernateDataMigration.java:109)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      2. com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:586)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      3. com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrationsForDatabase(AbstractDataMigrationManager.java:511)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      4. com.xpn.xwiki.store.migration.AbstractDataMigrationManager.startMigrations(AbstractDataMigrationManager.java:458)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      5. com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.startMigrations(HibernateDataMigrationManager.java:296)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      6. com.xpn.xwiki.store.migration.AbstractDataMigrationManager.checkDatabase(AbstractDataMigrationManager.java:386)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      7. com.xpn.xwiki.store.XWikiHibernateBaseStore.setDatabase(XWikiHibernateBaseStore.java:664)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      8. com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:811)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      9. com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:744)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      10. com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:726)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      11. com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      12. com.xpn.xwiki.XWiki.getDocument(XWiki.java:1430)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      13. com.xpn.xwiki.XWiki.getDocument(XWiki.java:1473)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      14. com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2207)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      15. com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2239)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      16. com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      17. com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      18. com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      19. com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1106)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      20. com.xpn.xwiki.XWiki.initXWiki(XWiki.java:786)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      21. com.xpn.xwiki.XWiki.<init>(XWiki.java:734)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      22. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:395)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      23. com.xpn.xwiki.XWiki.getXWiki(XWiki.java:482)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      24. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      25. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      25 frames
    7. struts
      ActionServlet.doGet
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)[struts-1.2.9.jar:1.2.9]
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)[struts-1.2.9.jar:1.2.9]
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)[struts-1.2.9.jar:1.2.9]
      4. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)[struts-1.2.9.jar:1.2.9]
      4 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[servlet-api-2.5.jar:2.5]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[servlet-api-2.5.jar:2.5]
      2 frames
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      2 frames
    10. com.xpn.xwiki
      ActionFilter.doFilter
      1. com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)[xwiki-platform-legacy-oldcore-4.0-rc-1.jar:na]
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      1 frame
    12. org.xwiki.wysiwyg
      ConversionFilter.doFilter
      1. org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)[xwiki-platform-wysiwyg-server-4.0-rc-1.jar:na]
      1 frame
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      1 frame
    14. com.xpn.xwiki
      XWikiDavFilter.doFilter
      1. com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)[xwiki-platform-webdav-server-4.0-rc-1.jar:na]
      1 frame
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      1 frame
    16. org.xwiki.container
      SavedRequestRestorerFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)[xwiki-platform-container-servlet-4.0-rc-1.jar:na]
      1 frame
    17. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      1 frame
    18. org.xwiki.container
      SetCharacterEncodingFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)[xwiki-platform-container-servlet-4.0-rc-1.jar:na]
      1 frame
    19. Jetty
      HttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)[jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725]
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725]
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      14. org.eclipse.jetty.server.Server.handle(Server.java:346)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      15. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      16. org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)[jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)[jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725]
      19. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725]
      19 frames
    20. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)[jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725]
      2 frames
    21. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)[jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725]
      1 frame
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:679)[na:1.6.0_22]
      1 frame