Hello,
I am using the UWV version 4.0 to convert our MoinMoin pages into Confluence 4.3.7. Everything appears to work right during the export phase, however, at the end, I receive this error:
2014-05-27 14:29:34,639 DEBUG [main] - Adding User and Date metadata - Complete
2014-05-27 14:29:34,639 DEBUG [main] - Converting list in Page: CreatingNewParameters NewParameters 051006.txt
2014-05-27 14:29:34,640 INFO [main] - time to convert 1ms
2014-05-27 14:29:34,640 INFO [main] - ::: total time to convert files: 146 seconds.
2014-05-27 14:29:34,640 DEBUG [main] - Engine Saves To Disk setting turned off.
2014-05-27 14:29:34,640 DEBUG [main] - Checking Pages object is valid.
2014-05-27 14:29:34,640 DEBUG [main] - --> Pages object is valid.
2014-05-27 14:29:34,642 DEBUG [main] - Page root set to: Home
2014-05-27 14:29:34,642 DEBUG [main] - comparing: Home and Home
java.lang.NullPointerException
at com.atlassian.uwc.hierarchies.ContentHierarchy$VersionComparator.compare(ContentHierarchy.java:355)
at java.util.TreeMap.compare(TreeMap.java:1188)
at java.util.TreeMap.put(TreeMap.java:531)
at java.util.TreeSet.add(TreeSet.java:255)
at com.atlassian.uwc.hierarchies.HierarchyNode.addChild(HierarchyNode.java:54)
at com.atlassian.uwc.hierarchies.ContentHierarchy.getPenultimateNode(ContentHierarchy.java:174)
at com.atlassian.uwc.hierarchies.ContentHierarchy.buildHierarchy(ContentHierarchy.java:58)
at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:415)
at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:215)
at com.atlassian.uwc.ui.UWCCommandLineInterface.convert(UWCCommandLineInterface.java:175)
at com.atlassian.uwc.ui.UWCCommandLineInterface.main(UWCCommandLineInterface.java:56)
I've tested the connection between UWC and our Confluence instance and it works fine. Google doesn't turn up much and neither does Atlassian Answers. Any suggestions or pointers would be greatly appreciated.
Hi Mike,
It seems there are some problems with the Moin Moin export to confluence using UWC as I could find this answer with the same behavior. According to the answer in that question, you may need to get in touch with Appfusions consultancy for some tweak in UWC if necessary.
The UWC may not work for all other wikis and that nullpointer is really hard to troubleshoot as there is not much information about it in the stack trace.
I hope this helps.
Cheers,
Rodrigo
Hi, Rodrigo,
Yeah, I was afraid it'd probably be something like that. I'll chat up Appfusion and see what it would cost to get this thing to work.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Come on guys, anyone ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.