net.sf.hibernate.PropertyAccessException: NullPointerException occurred while calling setter of c om.atlassian.confluence.spaces.Space.name

Atlassian JIRA | Armond Avanes | 1 decade ago
  1. 0

    Having the whole site backed up in A1, and trying to restore it somewhere else on a "clean" (newly setup) A2 version causes SaxParserException and some NPEs. Although the application says that everything has been restored successfully (seems the exception is catched without any proper reaction) but the whole site is unusable then (all corrupted db)! You can not even login since the previous data have been deleted to restore the new ones (which has been unsuccessful then). I guess the problem is that the backup XML format (the table structures and even data formats) are different in A1 and A2 so the restore module gets into problems. On the other hand, it's not correct to blindly restore the whole table structures and data. They may be different (which is so in our case) so a migration is needed from the old to new format both from table structure and data format point of view. Anyways, here is the exception log on server: [java] [875ms] - /admin/restore-start.action [java] [java] alter table ATTACHMENTS drop constraint FK54475F908C38FBEA [java] alter table SPACEPERMISSIONS drop constraint FKD33F23BEB2DC6081 [java] alter table SPACES drop constraint FK9228242D11B7BFEE [java] alter table PAGETEMPLATES drop constraint FKBC7CE96AB2DC6081 [java] alter table PAGETEMPLATES drop constraint FKBC7CE96A17D4A070 [java] alter table LINKS drop constraint FK4515799BCCADAAE [java] alter table os_user_group drop constraint FK93247246F73AEE0F [java] alter table os_user_group drop constraint FK932472461E2E76DB [java] alter table PAGES drop constraint FK485F7A417D4A070 [java] alter table PAGES drop constraint FK485F7A4B2DC6081 [java] alter table EXTRNLNKS drop constraint FK97C10FE7BCCADAAE [java] drop table ATTACHMENTS if exists [java] drop table os_user if exists [java] drop table SPACEPERMISSIONS if exists [java] drop table SPACES if exists [java] drop table os_group if exists [java] drop table OS_PROPERTYSET if exists [java] drop table PAGETEMPLATES if exists [java] drop table LINKS if exists [java] drop table os_user_group if exists [java] drop table PAGES if exists [java] drop table EXTRNLNKS if exists [java] create table ATTACHMENTS (ATTACHMENTID BIGINT not null, TITLE VARCHAR(255) not null, CONTENTTYPE VARCHAR(255) not null, PAGEID BIGINT, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP , primary key (ATTACHMENTID)) [java] create table os_user (id BIGINT not null, username VARCHAR(255) not null, passwd VARCHAR(255), email VARCHAR( 255), primary key (id), unique (username)) [java] create table SPACEPERMISSIONS (PERMID BIGINT not null, SPACEID BIGINT, PERMTYPE VARCHAR(255) not null, PERMGR OUPNAME VARCHAR(255), PERMUSERNAME VARCHAR(255), CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255) , LASTMODDATE TIMESTAMP, primary key (PERMID)) [java] create table SPACES (SPACEID BIGINT not null, SPACENAME VARCHAR(255), SPACEKEY VARCHAR(255) not null, SPACEDE SC VARCHAR(255), HOMEPAGE BIGINT, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE T IMESTAMP, primary key (SPACEID), unique (SPACEKEY)) [java] create table os_group (id BIGINT not null, groupname VARCHAR(255) not null, primary key (id), unique (groupna me)) [java] create table OS_PROPERTYSET (entity_name VARCHAR(125) not null, entity_id BIGINT not null, entity_key VARCHAR (255) not null, key_type INTEGER, boolean_val BIT, double_val DOUBLE, string_val VARCHAR(255), long_val BIGINT, int_val INTEGER, date_val DATE, primary key (entity_name, entity_id, entity_key)) [java] create table PAGETEMPLATES (TEMPLATEID BIGINT not null, TEMPLATENAME VARCHAR(255) not null, TEMPLATEDESC VARC HAR(255), CONTENT VARCHAR(255), SPACEID BIGINT, PREVVER BIGINT, VERSION INTEGER not null, CREATOR VARCHAR(255), CREATION DATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP, primary key (TEMPLATEID)) [java] create table LINKS (LINKID BIGINT not null, DESTPAGETITLE VARCHAR(255) not null, DESTSPACEKEY VARCHAR(255) no t null, SRCPAGEID BIGINT not null, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP, primary key (LINKID)) [java] create table os_user_group (group_id BIGINT not null, user_id BIGINT not null, primary key (user_id, group_id )) [java] create table PAGES (PAGEID BIGINT not null, PAGETITLE VARCHAR(255) not null, SPACEID BIGINT, PAGECONTENT VARC HAR(100000), PREVVER BIGINT, VERSION INTEGER not null, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHA R(255), LASTMODDATE TIMESTAMP, primary key (PAGEID)) [java] create table EXTRNLNKS (LINKID BIGINT not null, VIEWCOUNT INTEGER not null, URL VARCHAR(255) not null, SRCPAG EID BIGINT not null, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP, pri mary key (LINKID)) [java] alter table ATTACHMENTS add constraint FK54475F908C38FBEA foreign key (PAGEID) references PAGES [java] alter table SPACEPERMISSIONS add constraint FKD33F23BEB2DC6081 foreign key (SPACEID) references SPACES [java] alter table SPACES add constraint FK9228242D11B7BFEE foreign key (HOMEPAGE) references PAGES [java] alter table PAGETEMPLATES add constraint FKBC7CE96AB2DC6081 foreign key (SPACEID) references SPACES [java] alter table PAGETEMPLATES add constraint FKBC7CE96A17D4A070 foreign key (PREVVER) references PAGETEMPLATES [java] alter table LINKS add constraint FK4515799BCCADAAE foreign key (SRCPAGEID) references PAGES [java] alter table os_user_group add constraint FK93247246F73AEE0F foreign key (user_id) references os_user [java] alter table os_user_group add constraint FK932472461E2E76DB foreign key (group_id) references os_group [java] alter table PAGES add constraint FK485F7A417D4A070 foreign key (PREVVER) references PAGES [java] alter table PAGES add constraint FK485F7A4B2DC6081 foreign key (SPACEID) references SPACES [java] alter table EXTRNLNKS add constraint FK97C10FE7BCCADAAE foreign key (SRCPAGEID) references PAGES [java] 2003-10-25 09:29:20,199 WARN [sf.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext [java] 2003-10-25 09:29:20,231 ERROR [sf.hibernate.util.XMLHelper] Error parsing XML: XML InputStream(3) [java] org.xml.sax.SAXParseException: Document is invalid: no grammar found. [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Sourc e) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Sour ce) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.dom4j.io.SAXReader.read(SAXReader.java:339) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:54) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] 2003-10-25 09:29:20,418 ERROR [sf.hibernate.util.XMLHelper] Error parsing XML: XML InputStream(3) [java] org.xml.sax.SAXParseException: Document root element "hibernate-generic", must match DOCTYPE root "null". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Sourc e) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Sour ce) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.dom4j.io.SAXReader.read(SAXReader.java:339) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:54) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] java.lang.NullPointerException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:75) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValue(AbstractEntityPersister.java:885) [java] at com.atlassian.confluence.util.ReverseDatabinder.setProperty(ReverseDatabinder.java:252) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:108) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] rethrown as net.sf.hibernate.PropertyAccessException: NullPointerException occurred while calling setter of c om.atlassian.confluence.spaces.Space.name [java] at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:89) [java] at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValue(AbstractEntityPersister.java:885) [java] at com.atlassian.confluence.util.ReverseDatabinder.setProperty(ReverseDatabinder.java:252) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:108) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] Caused by: java.lang.NullPointerException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:75) [java] ... 45 more [java] [1813ms] - /admin/restore.action [java]

    Atlassian JIRA | 1 decade ago | Armond Avanes
    net.sf.hibernate.PropertyAccessException: NullPointerException occurred while calling setter of c om.atlassian.confluence.spaces.Space.name
  2. 0

    "No projects defined yet." after update

    xplanner | 1 decade ago | fmmoser
    java.lang.NullPointerException
  3. 0

    Acessing EJB using WSIF

    Oracle Community | 1 decade ago | 122645
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NullPointerException: <no message>

    Netbeans Bugzilla | 1 decade ago | kmike
    java.lang.NullPointerException
  6. 0

    Having the whole site backed up in A1, and trying to restore it somewhere else on a "clean" (newly setup) A2 version causes SaxParserException and some NPEs. Although the application says that everything has been restored successfully (seems the exception is catched without any proper reaction) but the whole site is unusable then (all corrupted db)! You can not even login since the previous data have been deleted to restore the new ones (which has been unsuccessful then). I guess the problem is that the backup XML format (the table structures and even data formats) are different in A1 and A2 so the restore module gets into problems. On the other hand, it's not correct to blindly restore the whole table structures and data. They may be different (which is so in our case) so a migration is needed from the old to new format both from table structure and data format point of view. Anyways, here is the exception log on server: [java] [875ms] - /admin/restore-start.action [java] [java] alter table ATTACHMENTS drop constraint FK54475F908C38FBEA [java] alter table SPACEPERMISSIONS drop constraint FKD33F23BEB2DC6081 [java] alter table SPACES drop constraint FK9228242D11B7BFEE [java] alter table PAGETEMPLATES drop constraint FKBC7CE96AB2DC6081 [java] alter table PAGETEMPLATES drop constraint FKBC7CE96A17D4A070 [java] alter table LINKS drop constraint FK4515799BCCADAAE [java] alter table os_user_group drop constraint FK93247246F73AEE0F [java] alter table os_user_group drop constraint FK932472461E2E76DB [java] alter table PAGES drop constraint FK485F7A417D4A070 [java] alter table PAGES drop constraint FK485F7A4B2DC6081 [java] alter table EXTRNLNKS drop constraint FK97C10FE7BCCADAAE [java] drop table ATTACHMENTS if exists [java] drop table os_user if exists [java] drop table SPACEPERMISSIONS if exists [java] drop table SPACES if exists [java] drop table os_group if exists [java] drop table OS_PROPERTYSET if exists [java] drop table PAGETEMPLATES if exists [java] drop table LINKS if exists [java] drop table os_user_group if exists [java] drop table PAGES if exists [java] drop table EXTRNLNKS if exists [java] create table ATTACHMENTS (ATTACHMENTID BIGINT not null, TITLE VARCHAR(255) not null, CONTENTTYPE VARCHAR(255) not null, PAGEID BIGINT, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP , primary key (ATTACHMENTID)) [java] create table os_user (id BIGINT not null, username VARCHAR(255) not null, passwd VARCHAR(255), email VARCHAR( 255), primary key (id), unique (username)) [java] create table SPACEPERMISSIONS (PERMID BIGINT not null, SPACEID BIGINT, PERMTYPE VARCHAR(255) not null, PERMGR OUPNAME VARCHAR(255), PERMUSERNAME VARCHAR(255), CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255) , LASTMODDATE TIMESTAMP, primary key (PERMID)) [java] create table SPACES (SPACEID BIGINT not null, SPACENAME VARCHAR(255), SPACEKEY VARCHAR(255) not null, SPACEDE SC VARCHAR(255), HOMEPAGE BIGINT, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE T IMESTAMP, primary key (SPACEID), unique (SPACEKEY)) [java] create table os_group (id BIGINT not null, groupname VARCHAR(255) not null, primary key (id), unique (groupna me)) [java] create table OS_PROPERTYSET (entity_name VARCHAR(125) not null, entity_id BIGINT not null, entity_key VARCHAR (255) not null, key_type INTEGER, boolean_val BIT, double_val DOUBLE, string_val VARCHAR(255), long_val BIGINT, int_val INTEGER, date_val DATE, primary key (entity_name, entity_id, entity_key)) [java] create table PAGETEMPLATES (TEMPLATEID BIGINT not null, TEMPLATENAME VARCHAR(255) not null, TEMPLATEDESC VARC HAR(255), CONTENT VARCHAR(255), SPACEID BIGINT, PREVVER BIGINT, VERSION INTEGER not null, CREATOR VARCHAR(255), CREATION DATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP, primary key (TEMPLATEID)) [java] create table LINKS (LINKID BIGINT not null, DESTPAGETITLE VARCHAR(255) not null, DESTSPACEKEY VARCHAR(255) no t null, SRCPAGEID BIGINT not null, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP, primary key (LINKID)) [java] create table os_user_group (group_id BIGINT not null, user_id BIGINT not null, primary key (user_id, group_id )) [java] create table PAGES (PAGEID BIGINT not null, PAGETITLE VARCHAR(255) not null, SPACEID BIGINT, PAGECONTENT VARC HAR(100000), PREVVER BIGINT, VERSION INTEGER not null, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHA R(255), LASTMODDATE TIMESTAMP, primary key (PAGEID)) [java] create table EXTRNLNKS (LINKID BIGINT not null, VIEWCOUNT INTEGER not null, URL VARCHAR(255) not null, SRCPAG EID BIGINT not null, CREATOR VARCHAR(255), CREATIONDATE TIMESTAMP, LASTMODIFIER VARCHAR(255), LASTMODDATE TIMESTAMP, pri mary key (LINKID)) [java] alter table ATTACHMENTS add constraint FK54475F908C38FBEA foreign key (PAGEID) references PAGES [java] alter table SPACEPERMISSIONS add constraint FKD33F23BEB2DC6081 foreign key (SPACEID) references SPACES [java] alter table SPACES add constraint FK9228242D11B7BFEE foreign key (HOMEPAGE) references PAGES [java] alter table PAGETEMPLATES add constraint FKBC7CE96AB2DC6081 foreign key (SPACEID) references SPACES [java] alter table PAGETEMPLATES add constraint FKBC7CE96A17D4A070 foreign key (PREVVER) references PAGETEMPLATES [java] alter table LINKS add constraint FK4515799BCCADAAE foreign key (SRCPAGEID) references PAGES [java] alter table os_user_group add constraint FK93247246F73AEE0F foreign key (user_id) references os_user [java] alter table os_user_group add constraint FK932472461E2E76DB foreign key (group_id) references os_group [java] alter table PAGES add constraint FK485F7A417D4A070 foreign key (PREVVER) references PAGES [java] alter table PAGES add constraint FK485F7A4B2DC6081 foreign key (SPACEID) references SPACES [java] alter table EXTRNLNKS add constraint FK97C10FE7BCCADAAE foreign key (SRCPAGEID) references PAGES [java] 2003-10-25 09:29:20,199 WARN [sf.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext [java] 2003-10-25 09:29:20,231 ERROR [sf.hibernate.util.XMLHelper] Error parsing XML: XML InputStream(3) [java] org.xml.sax.SAXParseException: Document is invalid: no grammar found. [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Sourc e) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Sour ce) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.dom4j.io.SAXReader.read(SAXReader.java:339) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:54) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] 2003-10-25 09:29:20,418 ERROR [sf.hibernate.util.XMLHelper] Error parsing XML: XML InputStream(3) [java] org.xml.sax.SAXParseException: Document root element "hibernate-generic", must match DOCTYPE root "null". [java] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [java] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Sourc e) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Sour ce) [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] at org.dom4j.io.SAXReader.read(SAXReader.java:339) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:54) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] java.lang.NullPointerException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:75) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValue(AbstractEntityPersister.java:885) [java] at com.atlassian.confluence.util.ReverseDatabinder.setProperty(ReverseDatabinder.java:252) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:108) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] rethrown as net.sf.hibernate.PropertyAccessException: NullPointerException occurred while calling setter of c om.atlassian.confluence.spaces.Space.name [java] at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:89) [java] at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValue(AbstractEntityPersister.java:885) [java] at com.atlassian.confluence.util.ReverseDatabinder.setProperty(ReverseDatabinder.java:252) [java] at com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:108) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114) [java] at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66) [java] at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager. java:63) [java] at com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48) [java] at com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterce ptor.java:47) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66) [java] at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149) [java] at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121) [java] at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [java] at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source) [java] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.j ava:69) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148) [java] at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) [java] at com.caucho.server.http.Invocation.service(Invocation.java:315) [java] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) [java] at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) [java] at com.caucho.server.TcpConnection.run(TcpConnection.java:139) [java] at java.lang.Thread.run(Thread.java:534) [java] Caused by: java.lang.NullPointerException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:75) [java] ... 45 more [java] [1813ms] - /admin/restore.action [java]

    Atlassian JIRA | 1 decade ago | Armond Avanes
    om.atlassian.confluence.spaces.Space.name
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.NullPointerException

    No message provided

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  3. net.sf.hibernate
    AbstractEntityPersister.setPropertyValue
    1. net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:75)
    2. net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValue(AbstractEntityPersister.java:885)
    2 frames
  4. com.atlassian.confluence
    RestoreAction.doExecute
    1. com.atlassian.confluence.util.ReverseDatabinder.setProperty(ReverseDatabinder.java:252)
    2. com.atlassian.confluence.util.ReverseDatabinder.fromXML(ReverseDatabinder.java:108)
    3. com.atlassian.confluence.importexport.impl.BackupImporter.importEntities(BackupImporter.java:114)
    4. com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:66)
    5. com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:63)
    6. com.atlassian.confluence.importexport.actions.RestoreAction.doExecute(RestoreAction.java:48)
    6 frames
  5. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.ActionSupport.execute(ActionSupport.java:31)
    2. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:152)
    2 frames
  6. com.opensymphony.xwork
    AroundInterceptor.intercept
    1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
    1 frame
  7. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    1 frame
  8. com.atlassian.confluence
    PermissionCheckInterceptor.intercept
    1. com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47)
    1 frame
  9. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    1 frame
  10. com.opensymphony.xwork
    AroundInterceptor.intercept
    1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
    1 frame
  11. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    1 frame
  12. com.opensymphony.xwork
    AroundInterceptor.intercept
    1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
    1 frame
  13. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    1 frame
  14. com.opensymphony.xwork
    AroundInterceptor.intercept
    1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
    1 frame
  15. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    1 frame
  16. com.opensymphony.xwork
    AroundInterceptor.intercept
    1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
    1 frame
  17. XWork Tiger Extensions
    DefaultActionInvocation.invoke
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    1 frame
  18. com.opensymphony.xwork
    TimerInterceptor.intercept
    1. com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:66)
    1 frame
  19. XWork Tiger Extensions
    DefaultActionProxy.execute
    1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:149)
    2. com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:121)
    2 frames
  20. WebWork
    ServletDispatcher.service
    1. com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:165)
    1 frame
  21. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    1 frame
  22. com.caucho.server
    FilterChainServlet.doFilter
    1. com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
    1 frame
  23. Sitemesh
    PageFilter.doFilter
    1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source)
    2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source)
    2 frames
  24. com.caucho.server
    FilterChainFilter.doFilter
    1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
    1 frame
  25. com.atlassian.seraph
    SecurityFilter.doFilter
    1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:161)
    1 frame
  26. com.caucho.server
    FilterChainFilter.doFilter
    1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
    1 frame
  27. com.atlassian.seraph
    LoginFilter.doFilter
    1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)
    1 frame
  28. com.caucho.server
    FilterChainFilter.doFilter
    1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
    1 frame
  29. WebWork
    RequestLifecycleFilter.doFilter
    1. com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:61)
    1 frame
  30. com.caucho.server
    FilterChainFilter.doFilter
    1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
    1 frame
  31. com.atlassian.confluence
    ConfluenceConfigurationFilter.doFilter
    1. com.atlassian.confluence.setup.ConfluenceConfigurationFilter.doFilter(ConfluenceConfigurationFilter.java:69)
    1 frame
  32. com.caucho.server
    FilterChainFilter.doFilter
    1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
    1 frame
  33. com.atlassian.util
    ProfilingFilter.doFilter
    1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:148)
    1 frame
  34. com.caucho.server
    TcpConnection.run
    1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
    2. com.caucho.server.http.Invocation.service(Invocation.java:315)
    3. com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
    4. com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
    5. com.caucho.server.TcpConnection.run(TcpConnection.java:139)
    5 frames
  35. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame