When I import ojects from XWIKI 6.4.3 or 5.2.1 I get a NULL POINTER
exception.
I only import selected spaces, all the objects are imported.
I can provide you with a (quite large) XAR backup of one of our system.
5-04-14 19:37:20,613 [
http://wiki/xwiki/wiki/icwiki/view/Main/] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:25,365 [
http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:39,406 [
http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 57:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:37:39,429 [
http://wiki/xwiki/wiki/icwiki/view/IC+Dashboard/]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 29:icwiki:IC
Dashboard.Dashboard@1,6
2015-04-14 19:40:31,721
[
http://wiki/xwiki/wiki/icwiki/admin/XWiki/XWikiPreferences] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.get] in 32:icwiki:IC Dashboard.Dash
board@1,6
2015-04-14 19:40:36,274
[
http://wiki/xwiki/wiki/icwiki/import/XWiki/XWikiPreferences?editor=globalad…]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.web.XWikiMessageTool.
get] in 58:icwiki:IC Dashboard.Dashboard@1,6
2015-04-14 19:41:14,748
[
http://wiki/xwiki/wiki/icwiki/import/XWiki/XWikiPreferences?editor=globalad…]
WARN c.x.x.w.XWikiAction
- Uncaught exception: Error number 11015 in 11: Error number 11015 in 11:
Exception while importing
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importing
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:110)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:345)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.xwiki.filter.FilterException: Failed to read XAR package
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.readXAR(XARInputFilterStream.java:111)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.read(XARInputFilterStream.java:95)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.read(XARInputFilterStream.java:46)
at
org.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)
at
com.xpn.xwiki.web.ImportAction.importPackageFilterStream(ImportAction.java:328)
at com.xpn.xwiki.web.ImportAction.importPackage(ImportAction.java:146)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:107)
... 42 more
Caused by: java.lang.NullPointerException
at
org.xwiki.filter.instance.internal.output.XWikiDocumentOutputFilterStream.endWikiSpace(XWikiDocumentOutputFilterStream.java:238)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy87.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy88.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at
org.xwiki.filter.internal.CompositeFilter.invoke(CompositeFilter.java:75)
at com.sun.proxy.$Proxy89.endWikiSpace(Unknown Source)
at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:90)
at org.xwiki.filter.internal.FilterProxy.invoke(FilterProxy.java:63)
at com.sun.proxy.$Proxy90.endWikiSpace(Unknown Source)
at org.xwiki.filter.xar.internal.input.WikiReader.read(WikiReader.java:99)
at
org.xwiki.filter.xar.internal.input.XARInputFilterStream.readXAR(XARInputFilterStream.java:109)
... 48 more
--
View this message in context:
http://xwiki.475771.n2.nabble.com/XWIKI-7-0-Admin-IMPORT-fails-with-NULL-PO…
Sent from the XWiki- Users mailing list archive at
Nabble.com.