BAD_SETTING when Exporting from Sharepoint

Dear support friends,

I'm a total confluence beginner, and I'm trying to migrate an existing Sharepoint wiki into confluence. I'm not the administrator of the Sharepoint server so I don't know much about it either. I'm trying to export the sharepoint wiki content, but the process fails when exporting. Here are some details:

  • The sharepoint server is on the intranet I don't need to go through any proxy to access it. A proxy is only used to access the internet
  • Any user can read the sharepoint wiki. You are not asked for login or password at any time
  • any user can edit the wiki, no login or password are asked

I can access the wiki with the following URL:


where blaX is an alias for some name that I'd prefer to omit.

I've edited the file as follows:

  • serverURL=team-collaboration.bla1
  • wikis=
  • login=myLogin
  • password=mypassword
  • output=c:\Temp\Me

The Test Connection process with the SWC is successful, but the export fails

Exporting Wiki...

Validating Wiki Type.

Loading Export Properties

Loading Export Class


Export Status... BAD_SETTING

Problem exporting wiki: BAD_SETTING

the console reads

at Source) Caused by: http

at Source)

at Source)

at Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)



at org.apache.axis.transport.http.HTTPSender.getSocket(

at org.apache.axis.transport.http.HTTPSender.writeToSocket(

at org.apache.axis.transport.http.HTTPSender.invoke(

... 18 more

2011-07-27 10:06:48,139 ERROR [Thread-4] -java.lang.NullPointerException

at com.atlassian.uwc.exporters.SharepointExporter.getSharepointPages(

at com.atlassian.uwc.exporters.SharepointExporter.exportSharepoint(

at com.atlassian.uwc.exporters.SharepointExporter.export(

at com.atlassian.uwc.ui.listeners.ExportWikiListener.exportWiki(

at com.atlassian.uwc.ui.listeners.ExportWikiListener$Worker.construct(

at com.atlassian.uwc.ui.SwingWorker$ at Source)

I've also tried putting the full URL (without http// and without the "default.aspx" of course), removing the username and password, and some combination of that without success. I would greatly appreciate any hints on how to track down this issue. Thanks!

4 answers

1 accepted

Hi Julian,

The Sharepoint module was written years ago, and unfortunately, I don't have access to a sharepoint current or otherwise to test it against.

Two possibilities:

  1. I suspect its out of date on some clearly important service connection detail. You're definitely going to need developer help to get that up and running. If you have an in-house team, and are looking for pointers: I would think a good place to start would be re-generating the soap library from your sharepoint's wsdl.
  2. I didn't hear you mention above the type of authentication model your Sharepoint is set up for, but in case its relevant, the SharepointExporter was built against one with BasicAuth. I didn't have access to a Sharepoint with NTLM or Kerberos to develop something that would handle those auth models. So if your Sharepoint isn't using basic auth, then that's a problem right there.

Good luck!

Julian - if you contact AppFusions, we can help you get through these hurdles - both for migration and auth issues. Our team has great experience in both.



Thank you Laura and Ellen for your feedback. The options at the moment are either re-do our wiki in Confluence or migrate with third party support. We won't be spending the time on doing on our own for a one-time effort. Since it is not entierly clear how much material we have, tt is now in discussion whether we will pursue one route or the other. If we go for migration route, I'll definitely have AppFusion on top on my list. Thanks very much.


Hi Julian

Did you find a solution for this in the end?

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

454 views 7 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot