Andreas Schaefer wrote: > Hi > > I tried to install XWiki 1.8 (WAR) file on JBoss 4.2.3GA using PostgresSQL > 8.3 on a Mac 10.5.6 and Java 1.6. > > I did not use the JBoss Datasource but just ran with the Hibernate Database > configuration by uncommenting the Postgres part and configured it. > > During the import of the XAR.zip file for 1.8 I encountered this problem: > > 11:44:55,266 INFO [STDOUT] 2009-03-21 11:44:55,266 > [http://localhost:8080/xwiki/bin/view/Main/] [http-127.0.0.1-8080-1] INFO > .AbstractXWikiMigrationManager - New storage version is now [15429] > 11:46:37,397 ERROR [STDERR] 11:46:37.397 WARN - Invalid feed URL: > 11:46:39,586 INFO [STDOUT] 2009-03-21 11:46:39,586 > [http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] > [http-127.0.0.1-8080-2] WARN interwiki.InterWiki - Unable to > read conf/intermap.txt > 11:46:39,842 INFO [STDOUT] 2009-03-21 11:46:39,839 > [http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] > [http-127.0.0.1-8080-2] WARN filter.MacroFilter - MacroFilter: > unable to format macro: table > java.lang.NullPointerException > at com.xpn.xwiki.render.macro.TableBuilder.build(TableBuilder.java:97) > at com.xpn.xwiki.render.macro.TableMacro.execute(TableMacro.java:60) > at > com.xpn.xwiki.render.filter.MacroFilter.handleMatch(MacroFilter.java:90) > at > org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91) > at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48) > at > org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89) > > I tried the Jetty / HSQL bundle and tried MySQL and using the JBoss > Datasource for PostgreSQL and all of them show the same issue. > > At the end of the import I also see some errors with respect to Lucene: > > 12:28:24,695 INFO [STDOUT] 2009-03-21 12:28:24,689 [Lucene index updating > thread] [Lucene Index Updater] ERROR lucene.AttachmentData - error > getting content of attachment > java.lang.NullPointerException > at > com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:153) > at > com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:136) > > Does this mean that the import ran through successfully and the errors can > be ignored or is something else wrong here.
These errors appear sometime when importing a XAR in an empty wiki, but they aren't problematic, they just mean that not all the documents are in place yet. This is "normal" considering that there are semantic dependencies between documents, and the files from the package are taken in alphabetic order. So you can ignore them. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users