Null Pointer Error exporting in UWC from MoinMoin to Confluence 4.3.7

Mike Beebe May 27, 2014

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.

2 answers

1 accepted

1 vote
Answer accepted
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2014

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

Mike Beebe May 28, 2014

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!

0 votes
Ugur ARPACI May 28, 2014

Come on guys, anyone ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events