Null Pointer Error exporting in UWC from MoinMoin to Confluence 4.3.7

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

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!

Come on guys, anyone ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,578 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you